Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adrian Brömmelsiek
pymor
Commits
1eb3104c
Commit
1eb3104c
authored
10 years ago
by
Stephan Rave
Browse files
Options
Downloads
Patches
Plain Diff
[docs] update installation instructions
parent
e9cd2d1b
No related branches found
Branches containing commit
Tags
0.2.2
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.markdown
+5
-7
5 additions, 7 deletions
README.markdown
README.txt
+4
-7
4 additions, 7 deletions
README.txt
docs/source/getting_started.rst
+23
-27
23 additions, 27 deletions
docs/source/getting_started.rst
with
32 additions
and
41 deletions
README.markdown
+
5
−
7
View file @
1eb3104c
...
...
@@ -46,13 +46,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Distribution Packages
---------------------
Packages for Ubuntu
12.04 and 13.10
are available via our
Packages for Ubuntu are available via our
[
PPA
](
https://launchpad.net/~pymor/+archive/stable
)
:
sudo apt-add-repository ppa:pymor/stable
sudo apt-get update
sudo apt-get install python-pymor
Daily snapshots are available via the
[
pymor/daily PPA
](
https://launchpad.net/~pymor/+archive/daily
)
.
Demo applications and documentation are packaged separately:
sudo apt-get install python-pymor-demos
...
...
@@ -110,12 +113,7 @@ and, in particular, [matplotlib](http://matplotlib.org),
[
PyOpenGL
](
http://pyopengl.sourceforge.net/
)
,
[
glumpy
](
https://code.google.com/p/glumpy/
)
,
and
[
PySide
](
http://qt-project.org/wiki/PySide
)
. The latter
packages are required for pyMOR's visualization routines. At the time
of writing, PySide fails to install with current Sphinx versions, so we
have to install an old one:
pip install "sphinx==1.1.3"
pip install ipython pyside matplotlib pyopengl glumpy
packages are required for pyMOR's visualization routines.
Documentation
...
...
This diff is collapsed.
Click to expand it.
README.txt
+
4
−
7
View file @
1eb3104c
...
...
@@ -47,12 +47,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Distribution Packages
---------------------
Packages for Ubuntu
12.04 and 13.10
are available via our PPA:
Packages for Ubuntu are available via our PPA:
sudo apt-add-repository ppa:pymor/stable
sudo apt-get update
sudo apt-get install python-pymor
Daily snapshots are available via the pymor/daily PPA.
Demo applications and documentation are packaged separately:
sudo apt-get install python-pymor-demos
...
...
@@ -106,12 +108,7 @@ packages. (This is easy to miss, as pip will install dependencies after
pyMOR itself has been installed, so search at the top of your console
log!) You will most likely want to install IPython and, in particular,
matplotlib, PyOpenGL, glumpy, and PySide. The latter packages are
required for pyMOR's visualization routines. At the time of writing,
PySide fails to install with current Sphinx versions, so we have to
install an old one:
pip install "sphinx==1.1.3"
pip install ipython pyside matplotlib pyopengl glumpy
required for pyMOR's visualization routines.
Documentation
-------------
...
...
This diff is collapsed.
Click to expand it.
docs/source/getting_started.rst
+
23
−
27
View file @
1eb3104c
...
...
@@ -7,45 +7,41 @@ Getting started
Installation
------------
Before trying out pyMOR, you need to install it. At this point we do
not provide release tarballs via PyPI, instead you should simply
clone our git repository via ::
Before trying out pyMOR, you need to install it. We provide packages for Ubuntu
via our PPA::
git clone https://github.com/pymor/pymor
sudo apt-add-repository ppa:pymor/stable
sudo apt-get update
sudo apt-get install python-pymor python-pymor-demos python-pymor-doc
and then chekout the version of pyMOR you want to work with, e.g. ::
git checkout 0.2.0
which is the current stable version.
While pyMOR itself is written in pure Python (with the exception of few `Cython
<http://cython.org>`_ extension modules) and does not really require
installation, it depends on several Python packages in recent versions (most
notably `NumPy <http://www.numpy.org>`_, `SciPy <http://www.scipy.org>`_,
`matplotlib <http://matplotlib.org>`_ and `PySide <http//www.pyside.org>`_)
which are not so easy to install. For this reason we provide an installation
script which will install all dependencies into a dedicated `virtualenv
<http://virtualenv.org>`_. It will also install pyMOR itself into the
virtualenv or add the repository to its ``PYTHONPATH``. For further details
please refer to the `README
<https://github.com/pymor/pymor/blob/master/README.markdown>`_ file in the
pyMOR repository.
Daily snapshots can be installed by using the ``pymor/daily`` PPA instead of
``pymor/stable``. The current release can also be installed via `pip
<http://pip-installer.org>`. Please take a look at our `README
<https://github.com/pyMor/pyMor#installation-into-a-virtualenv>` file for
further details. The `README
<https://github.com/pyMor/pyMor#setting-up-an-environment-for-pymor-development>`
also contains instructions for setting up a development environment for working
on pyMOR itself.
Trying it out
-------------
While we consider pyMOR itself as a library for building MOR
applications, we ship a few example scripts with pyMOR itself. These
can be found in the ``src/pymordemos`` directory. Try launching
the thermalblock demo application in this directory by executing ::
While we consider pyMOR itself as a library for building MOR applications, we
ship a few example scripts with pyMOR itself. These can be found in the
``src/pymordemos`` directory of the source repository. Try launching one of
them using the ``pymor-demo`` script provided by the ``python-pymor-demos``
package::
pymor-demo thermalblock --with-estimator --plot-err --plot-solutions 3 2 3 32
The demo scripts can also be directly launched from the source tree::
./thermalblock.py --with-estimator --plot-err --plot-solutions 3 2 3 32
This will solve and reduce the so called thermalblock problem using
the reduced basis method with a greedy basis generation algorithm.
The thermalblock problem consists
of
solving the stationary diffusion
The thermalblock problem consists
in
solving the stationary diffusion
problem ::
- ∇ ⋅ [ d(x, μ) ∇ u(x, μ) ] = 1 for x in Ω
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment