Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ift
NIFTy
Commits
83446a48
There was a problem fetching the pipeline summary.
Commit
83446a48
authored
8 years ago
by
Martin Reinecke
Browse files
Options
Downloads
Patches
Plain Diff
updates
parent
5c5cbda2
No related branches found
No related tags found
2 merge requests
!131
Master
,
!89
Improve README.md
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+29
-37
29 additions, 37 deletions
README.md
with
29 additions
and
37 deletions
README.md
+
29
−
37
View file @
83446a48
...
@@ -75,12 +75,15 @@ Installation
...
@@ -75,12 +75,15 @@ Installation
### Download
### Download
The latest release is tagged
**v1.0.7**
and is available as a source
The current version of Nifty3 can be obtained by cloning the repository:
package at
[](
https://gitlab.mpcdf.mpg.de/ift/NIFTy/tags
)
. The current
version can be obtained by cloning the repository:
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
and switching to the "master" branch:
cd NIFTy
git checkout master
### Installation on Ubuntu
### Installation on Ubuntu
This is for you if you want to install NIFTy on your personal computer
This is for you if you want to install NIFTy on your personal computer
...
@@ -91,52 +94,33 @@ Starting with a fresh Ubuntu installation move to a folder like
...
@@ -91,52 +94,33 @@ Starting with a fresh Ubuntu installation move to a folder like
-
Install basic packages like python, python-dev, gsl and others:
-
Install basic packages like python, python-dev, gsl and others:
sudo apt-get install curl git autoconf
sudo apt-get install curl git autoconf
sudo apt-get install python-dev python-pip gsl-bin libgsl0-dev libfreetype6-dev libpng-dev libatlas-base-dev
sudo apt-get install python-dev python-pip gsl-bin libgsl0-dev libfreetype6-dev libpng-dev libatlas-base-dev
python-numpy cython
-
Using pip install numpy etc...:
(MR: do we really need all of those? I would have expected something like "git autoconf python-dev python-pip python-numpy cython")
sudo pip install numpy cython
-
Install pyHealpix:
-
Install pyHealpix:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
cd pyHealpix
cd pyHealpix
autoreconf -i && ./configure && make -j4 &&
sudo
make install
autoreconf -i && ./configure
--prefix=$HOME/.local
&& make -j4 && make install
cd ..
cd ..
-
Finally, NIFTy:
-
Finally, NIFTy:
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
cd nifty
cd NIFTy
sudo python setup.py install
git checkout master
python setup.py install --user
cd ..
cd ..
### Installation on a Linux cluster
### Installation on Linux systems in general
This is for you if you want to install NIFTy on a HPC machine or cluster
that is hosted by your university or institute. Most of the dependencies
will most likely already be there, but you won't have superuser
privileges. In this case, instead of:
sudo python setup.py install
use:
python setup.py install --user
or:
Since all the "unconventional" packages (i.e. pyHealpix and NIFTy) listed in the
section above are installed
python setup.py install --install-lib=/SOMEWHERE
within the home directory of the user, the installation instructions for these
should also work on any Linux machine where you do not have root access.
in the instruction above. This will install the python packages into
In this case you have to ensure with your system administrators that the
your local user directory.
"standard" dependencies (python, numpy, etc.) are installed system-wide.
For pyHealpix, use:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
cd pyHealpix
autoreconf -i && ./configure --prefix=$HOME/.local && make -j4 && make install
cd ..
### Installation on OS X 10.11
### Installation on OS X 10.11
...
@@ -159,15 +143,23 @@ may cause trouble.
...
@@ -159,15 +143,23 @@ may cause trouble.
autoreconf -i && ./configure --prefix=`python-config --prefix` && make -j4 && sudo make install
autoreconf -i && ./configure --prefix=`python-config --prefix` && make -j4 && sudo make install
cd ..
cd ..
(The third command installs the package system-wide. User-specific
installation would be preferrable, but we haven't found a simple recipe yet
how to determine the installation prefix ...)
-
Install NIFTy:
-
Install NIFTy:
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
cd nifty
cd NIFTy
sudo python setup.py install
git checkout master
python setup.py install --user
cd ..
cd ..
### Installation using pypi
### Installation using pypi
(MR: I'm not sure whether this approach works ... pyHealpix is not registered
with pypi and I'm not sure ir can be.)
NIFTY can be installed using
[
PyPI
](
https://pypi.python.org/pypi
)
and
NIFTY can be installed using
[
PyPI
](
https://pypi.python.org/pypi
)
and
**pip**
by running the following command:
**pip**
by running the following command:
...
...
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