Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moose
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sahil Moza
moose
Commits
f8908825
Commit
f8908825
authored
8 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
Formatting can be fixed on github now.
parent
6d3d8491
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/introduction/install/index.rst
+70
-24
70 additions, 24 deletions
docs/introduction/install/index.rst
with
70 additions
and
24 deletions
docs/introduction/install/index.rst
+
70
−
24
View file @
f8908825
Install
ing MOOSE
Install
ation
============
===
============
Use pre-built packages
Use pre-built packages
----------------------
----------------------
Use our repositories hosted at [Open Build Service](http://build.opensuse.org).
We strongly recommend that you use our repositories hosted at [Open Build
We have packages for Debian, Ubuntu, CentOS, Fedora, OpenSUSE/SUSE, RHEL,
Service](http://build.opensuse.org). We have packages for Debian, Ubuntu,
Scientific Linux. Visit the following page and follow the instructions there.
CentOS, Fedora, OpenSUSE/SUSE, RHEL, Scientific Linux. Visit the following page
and follow the instructions.
https://software.opensuse.org/download.html?project=home:moose&package=moose
https://software.opensuse.org/download.html?project=home:moose&package=moose
You can get both `moose` and `moogli` from the repositories after adding the
repository to your package manager e.g.
On Debian/Ubuntu
$ sudo apt-get install moose moogli
On CentOS/RHEL/Fedora/Scientific Linux
$ sudo yum install moose moogli
On openSUSE
$ sudo zypper install moose moolgi
Pre-built binary packages takes care of dependencies. And also you don't have to
build the MOOSE by yourself. In case, your distribution is not listed above or
you want to build the lastest development code, following section lists out the
steps to build MOOSE from its source code.
Building from source
Building from source
-------------------
-------------------
First, Download the latest source code of moose from github
.
First, Download the latest source code of moose from github
using `git`
$ git clone https://github.com/BhallaLab/moose
$ git clone https://github.com/BhallaLab/moose
$ cd moose
Or, alternatively, you can download the `zip` file by clicking on the following
link, https://github.com/BhallaLab/moose/archive/master.zip. Unzip the file to
get the source code.
Install dependencies
Install dependencies
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~
Next, you have to install all required dependencies.
- cmake
For `pymoose` (python module of MOOSE), following additional packages are required:
- gsl-1.16 or higher [Source code](ftp://ftp.gnu.org/gnu/gsl/).
- libhdf5 development package. Get it from
- gsl-1.16 or higher.
- libsbml (5.9.0, optional). You can download it from
- libhdf5
[here](https://sourceforge.net/projects/sbml/files/libsbml/5.9.0/stable/)
- libsbml (optional)
Make sure that `libsml` is installed with `zlib` and `lxml` support.
Make sure that `libsml` is installed with `zlib` and `lxml` support.
If you are using buildtools, then use the following to install libsbml.
If you are using buildtools, then use the following to install libsbml.
...
@@ -34,38 +59,57 @@ For `pymoose` (python module of MOOSE), following additional packages are requir
...
@@ -34,38 +59,57 @@ For `pymoose` (python module of MOOSE), following additional packages are requir
- wget http://sourceforge.net/projects/sbml/files/libsbml/5.9.0/stable/libSBML-5.9.0-core-src.tar.gz
- wget http://sourceforge.net/projects/sbml/files/libsbml/5.9.0/stable/libSBML-5.9.0-core-src.tar.gz
- tar -xzvf libSBML-5.9.0-core-src.tar.gz
- tar -xzvf libSBML-5.9.0-core-src.tar.gz
- cd libsbml-5.9.0
- cd libsbml-5.9.0
- ./configure --prefix=/usr --with-zlib
--with-bzip2
--with-libxml
- ./configure --prefix=/usr --with-zlib --with-libxml
- make
- make
- ctest --output-on-failure # optional
- sudo make install
- sudo make install
- Development package of python e.g. libpython-dev
- python development package
- python-numpy
- python numpy
On Ubuntu these can be installed by following command:
$ sudo apt-get install libhdf5-dev cmake libgsl0-dev
On CentOS/Fedora/RHEL
$ sudo yum install hdf5-devel cmake libgsl-dev
On OpenSUSE
$ sudo zypper install hdf5-devel cmake libgsl-dev
For MOOSE Graphical User Interface (GUI), there are additional dependencies:
For MOOSE Graphical User Interface (GUI), there are additional dependencies:
-
python-
matplotlib
- matplotlib
- Python-qt4
- Python-qt4
On Ubuntu/Fedora, these can be installed with:
On Ubuntu/Debian, these can be installed with:
$ sudo apt-get install python-matplotlib python-qt4
sudo apt-get install python-matplotlib python-qt4
On CentOS/Fedora/RHEL,
sudo yum install python-matplotlib python-qt4
$ sudo yum install python-matplotlib python-qt4
Now use `cmake` to build moose
Now use `cmake` to build moose
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ cd /to/moose/source/code
$ mkdir _build
$ mkdir _build
$ cd _build
$ cd _build
$ cmake
-DWITH_DOC=OFF
..
$ cmake ..
$ make
$ make
$ ctest --output-on-failure
$ ctest --output-on-failure
This will build pyMOOSE (MOOSE's python extention), `ctest` will run few tests to
This will build pyMOOSE (MOOSE's python extention), `ctest` will run few tests to
check if build process was successful.
check if build process was successful.
To install MOOSE into non-standard directory, pass additional argument
To install MOOSE into non-standard directory, pass additional argument
`-DCMAKE_INSTALL_PREFIX=path/to/install/dir` to cmake.
`-DCMAKE_INSTALL_PREFIX=path/to/install/dir` to cmake e.g.
$ cmake -DCMAKE_INSTALL_PREFIC=$HOME/.local ..
To use, different version of python,
$ cmake -DPYTHON_EXECUTABLE=/opt/python3/bin/python3 ..
After that installation is pretty easy.
After that installation is pretty easy.
...
@@ -74,6 +118,8 @@ After that installation is pretty easy.
...
@@ -74,6 +118,8 @@ After that installation is pretty easy.
Building and installing moogli
Building and installing moogli
-----------------------------
-----------------------------
Prefer the packages from the repository.
MOOGLI is subproject of moogli for visualizing models. Details can be found
MOOGLI is subproject of moogli for visualizing models. Details can be found
[here](http://moose.ncbs.res.in/moogli).
[here](http://moose.ncbs.res.in/moogli).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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