Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
aa16258c
Commit
aa16258c
authored
May 21, 2017
by
Martin Reinecke
Browse files
aesthetic tweaks
parent
469ae0ee
Pipeline
#12734
passed with stage
in 4 minutes and 37 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
aa16258c
...
...
@@ -92,16 +92,12 @@ Starting with a fresh Ubuntu installation move to a folder like
-
Install pyHealpix:
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
cd pyHealpix
autoreconf -i && ./configure --prefix=$HOME/.local --enable-openmp --enable-native-optimizations && make -j4 && make install
cd ..
(cd pyHealpix && autoreconf -i && ./configure --prefix=$HOME/.local --enable-openmp --enable-native-optimizations && make -j4 install)
-
Finally, NIFTy:
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
cd NIFTy
python setup.py install --user
cd ..
(cd NIFTy && python setup.py install --user)
### Installation on Linux systems in general
...
...
@@ -139,16 +135,13 @@ may cause trouble.
-
Install NIFTy:
git clone https://gitlab.mpcdf.mpg.de/ift/NIFTy.git
cd NIFTy
python setup.py install --user
cd ..
(cd NIFTy && python setup.py install --user)
### Running the tests
In oder to run the tests one needs two additional packages:
pip install nose
pip install parameterized
pip install nose parameterized
Afterwards the tests (including a coverage report) are run using the following
command in the repository root:
...
...
ci/install_h5py.sh
View file @
aa16258c
#!/bin/bash
apt-get
install
-y
libhdf5-10 libhdf5-dev libhdf5-openmpi-10 libhdf5-openmpi-dev hdf5-tools
export
CC
=
mpicc
export
HDF5_DIR
=
/usr/lib/x86_64-linux-gnu/hdf5/openmpi
export
HDF5_MPI
=
"ON"
pip
install
--no-binary
=
h5py h5py
CC
=
mpicc
HDF5_DIR
=
/usr/lib/x86_64-linux-gnu/hdf5/openmpi
HDF5_MPI
=
"ON"
pip
install
--no-binary
=
h5py h5py
ci/install_mpi4py.sh
View file @
aa16258c
#!/bin/bash
apt-get
install
-y
openmpi-bin libopenmpi-dev
pip
install
mpi4py
\ No newline at end of file
pip
install
mpi4py
ci/install_pyHealpix.sh
View file @
aa16258c
#!/bin/bash
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
cd
pyHealpix
autoreconf
-i
&&
./configure
--enable-openmp
--enable-native-optimizations
&&
make
-j4
install
cd
..
(
cd
pyHealpix
&&
autoreconf
-i
&&
./configure
--enable-openmp
--enable-native-optimizations
&&
make
-j4
install
)
rm
-rf
pyHealpix
ci/install_pyfftw.sh
View file @
aa16258c
...
...
@@ -3,7 +3,5 @@
apt-get
install
-y
libatlas-base-dev libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-mpi-dev libfftw3-mpi3 libfftw3-quad3 libfftw3-single3
git clone
-b
mpi https://github.com/fredros/pyFFTW.git
cd
pyFFTW/
CC
=
mpicc python setup.py build_ext
install
cd
..
rm
-r
pyFFTW
(
cd
pyFFTW
&&
CC
=
mpicc python setup.py build_ext
install
)
rm
-rf
pyFFTW
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment