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
b305d886
Commit
b305d886
authored
8 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
Fixed formatting and added more install instructions.
parent
b7327320
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/conf.py
+2
-0
2 additions, 0 deletions
docs/conf.py
docs/generate-documentation
+10
-6
10 additions, 6 deletions
docs/generate-documentation
docs/introduction/install/index.rst
+52
-38
52 additions, 38 deletions
docs/introduction/install/index.rst
with
64 additions
and
44 deletions
docs/conf.py
+
2
−
0
View file @
b305d886
...
...
@@ -40,6 +40,8 @@ extensions = ['sphinx.ext.autodoc',
'
numpydoc
'
]
todo_include_todos
=
True
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'
_templates
'
]
...
...
This diff is collapsed.
Click to expand it.
docs/generate-documentation
+
10
−
6
View file @
b305d886
#!/bin/bash
echo
"###############################################################"
echo
"# Generating C++ Documentation #"
echo
"###############################################################"
#Files will be created in cpp/html with in `doxygen` folder
orginal=$(echo `pwd`)
cd doxygen
doxygen Doxyfile
cd $orginal
(
cd
doxygen
doxygen Doxyfile
)
echo
"##############################################################"
echo
"# Generating Python Documentation #"
echo
"##############################################################"
#Files will be created in _build/html `py` folder
( cd user/py && make html || true )
#Files will be created in _build/html
mkdir
-p
_build
sphinx-build
.
_build
This diff is collapsed.
Click to expand it.
docs/introduction/install/index.rst
+
52
−
38
View file @
b305d886
...
...
@@ -4,50 +4,57 @@ Installation
Use pre-built packages
----------------------
We recommend that you use our repositories hosted at `Open Build Service <http://build.opensuse.org>`_.
We have `MOOSE` and `moogli` packages for Debian, Ubuntu, CentOS, Fedora, OpenSUSE/SUSE, RHEL, Scientific Linux.
Visit `this page <https://software.opensuse.org/download.html?project=home:moose&package=moose>`_
We recommend that you use our repositories hosted at `Open Build Service
<http://build.opensuse.org>`_. We have packages of both ``MOOSE`` and
``moogli`` for Debian, Ubuntu, CentOS, Fedora, OpenSUSE/SUSE, RHEL, Scientific
Linux. Visit `this page
<https://software.opensuse.org/download.html?project=home:moose&package=moose>`_
and follow instructions.
.. raw:: html
<iframe
src="http://software.opensuse.org/download/package.iframe?project=<projectname>&package=<packagename>"></iframe>
After adding the repositories to your package manager (read the instructed on the site)
You can install both `moose` and `moogli` using your package manager.
On Debian/Ubuntu ::
On ``Debian/Ubuntu``::
$ sudo apt-get install moose moogli
On CentOS/RHEL/Fedora/Scientific Linux::
On ``CentOS/RHEL/Fedora/Scientific Linux``::
$ sudo yum install moose moogli
On openSUSE ::
On ``openSUSE``::
$ sudo zypper install moose moolgi
In case your distribution is not listed on the repository page or
you want to build the lastest development code, following section lists out the
steps to build MOOSE from its source code.
.. todo:: gentoo, Arch Linux
Building from source
-------------------
In case your distribution is not listed on `our repository page
<https://software.opensuse.org/download.html?project=home:moose&package=moose>`_
, or if you want to build the lastest development code, following section lists
out the steps to build MOOSE from its source code.
First, Download the latest source code of moose from github using `git`::
Building MOOSE
--------------
First, you need to get the source code. You can use ``git`` (to clone the whole
repository) or download snapshot of github repo by clicking on `this link
<https://github.com/BhallaLab/moose/archive/master.zip>`_.::
$ git clone https://github.com/BhallaLab/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::
Or,::
$ wget https://github.com/BhallaLab/moose/archive/master.zip
If you don't want lasest snapshot of ``MOOSE``, you can download other released
versions from here `https://github.com/BhallaLab/moose/releases`.
Install dependencies
~~~~~~~~~~~~~~~~~~~
Next, you
have
to install required dependencies.
Next, you
need
to install required dependencies.
- cmake (version 2.8 or higher)
- gsl-1.16 or higher `Source code <ftp://ftp.gnu.org/gnu/gsl/>`_.
- libhdf5 development package.
Get it from
- libhdf5 development package.
- libsbml (5.9.0, optional). You can download it from
`here <https://sourceforge.net/projects/sbml/files/libsbml/5.9.0/stable/>`_
...
...
@@ -69,10 +76,11 @@ On Ubuntu these can be installed by following command::
On CentOS/Fedora/RHEL::
$ sudo yum install hdf5-devel cmake libgsl-dev python-devel python-numpy
On OpenSUSE
On OpenSUSE
::
$ sudo zypper install hdf5-devel cmake libgsl-dev python-devel python-numpy
For MOOSE Graphical User Interface (GUI), some additional dependencies are required
For MOOSE Graphical User Interface (``moose-gui``), some additional dependencies
are required
- matplotlib
- Python-qt4
...
...
@@ -110,31 +118,37 @@ After that installation is pretty easy.
$ sudo make install
Building and installing moogli
-----------------------------
If everything went fine, you should be able to import moose in python shell.
.. codeblock:: python
$ python
>>> import moose
Building moogli
---------------
Prefer the packages from the repository.
MOOGLI
is subproject of
moogli
for visualizing models.
D
etails can
be found
[
here
](
http://moose.ncbs.res.in/moogli
)
.
``moogli``
is subproject of
``MOOSE``
for visualizing models.
More d
etails can
be found `
here
<
http://moose.ncbs.res.in/moogli
>`_
.
MOOGLI dependencies are huge! It uses `OpenSceneGraph` which has its ow
n
dependencies. In nutshell, depending on your distribution, you would need
following packages to be installed.
Installing ``moogli`` could be tricky. It depends on ``OpenSceneGraph`` (versio
n
3.0.x) which not be easily available for your system. Depending on
your distribution, you would need
following packages to be installed.
- Development package of libopenscenegraph
-
[
libQGLViewer-2.3.15-py
](
https://gforge.inria.fr/frs/?group_id=773
)
. Install
instructions
[
here
](
http://www.libqglviewer.com//installUnix.html#linux
)
-
`
libQGLViewer-2.3.15-py
<
https://gforge.inria.fr/frs/?group_id=773
>`_
. Install
instructions
`
here
<
http://www.libqglviewer.com//installUnix.html#linux
>`_.
- [PyQGLViewer0.10](https://gforge.inria.fr/frs/?group_id=773) (first install
libQGLViewer-2.3.15-py) and untar contents.
$ cd / PyQGLViewer0.10
- `PyQGLViewer0.10<https://gforge.inria.fr/frs/?group_id=773>`_ (first install
libQGLViewer-2.3.15-py) and untar contents::
$ cd /path/to/PyQGLViewer0.10
$ python setup.py build # to compile
$ python setup.py install # to install on your system
$ python setup.py bdist # to create a binary distribution
On Ubuntu, following packages should suffice:
On Ubuntu, following packages should suffice::
$ sudo apt-get install python-qt4-dev python-qt4-gl libopenscenegraph-dev python-sip-dev
libqt4-dev
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