Skip to content
GitLab
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
7c42148f
Commit
7c42148f
authored
Sep 01, 2017
by
Martin Reinecke
Browse files
tweak CI
parent
49e88a98
Changes
8
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7c42148f
...
...
@@ -15,11 +15,39 @@ before_script:
test_min
:
stage
:
test
script
:
-
nosetests -vv
-
nosetests3 -vv
test_mpi
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
nosetests -vv
-
nosetests3 -vv
test_mpi_fftw
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
ci/install_pyfftw.sh
-
nosetests -vv
-
nosetests3 -vv
test_mpi_fftw_hdf5
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
nosetests
-
nosetests3
-
ci/install_mpi4py.sh
-
ci/install_pyfftw.sh
-
ci/install_h5py.sh
-
mpiexec --allow-run-as-root -n 2 nosetests -x
-
mpiexec --allow-run-as-root -n 2 nosetests3 -x
-
mpiexec --allow-run-as-root -n 4 nosetests -x
-
mpiexec --allow-run-as-root -n 4 nosetests3 -x
-
nosetests -x --with-coverage --cover-package=nifty --cover-branches
-
>
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
ci/install_basics.sh
View file @
7c42148f
#!/bin/bash
apt-get
install
-y
build-essential python python-pip python-dev git autoconf libtool gsl-bin libgsl-dev wget python3 python3-pip python3-dev python3-nose
libatlas-base-dev libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-mpi-dev libfftw3-mpi3 libfftw3-quad3 libfftw3-single3 python-numpy python3-numpy
apt-get
install
-y
build-essential python python-pip python-dev git autoconf libtool gsl-bin libgsl-dev wget python3 python3-pip python3-dev python3-nose
ci/install_h5py.sh
0 → 100644
View file @
7c42148f
#!/bin/bash
apt-get
install
-y
libhdf5-10 libhdf5-dev libhdf5-openmpi-10 libhdf5-openmpi-dev hdf5-tools
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
0 → 100644
View file @
7c42148f
#!/bin/bash
apt-get
install
-y
openmpi-bin libopenmpi-dev
pip
install
mpi4py
pip3
install
mpi4py
ci/install_pyHealpix.sh
View file @
7c42148f
...
...
@@ -2,7 +2,5 @@
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
(
cd
pyHealpix
&&
autoreconf
-i
&&
./configure
--enable-openmp
&&
make
-j4
install
)
rm
-rf
pyHealpix
git clone https://gitlab.mpcdf.mpg.de/ift/pyHealpix.git
(
cd
pyHealpix
&&
autoreconf
-i
&&
PYTHON
=
python3
PYTHON_CONFIG
=
python3-config ./configure
--enable-openmp
&&
make
-j4
install
)
(
cd
pyHealpix
&&
autoreconf
-i
&&
PYTHON
=
python3 ./configure
--enable-openmp
&&
make
-j4
install
)
rm
-rf
pyHealpix
ci/install_pyfftw.sh
0 → 100644
View file @
7c42148f
#!/bin/bash
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
pyFFTW
&&
CC
=
mpicc python3 setup.py build_ext
install
)
rm
-rf
pyFFTW
ci/requirements.txt
View file @
7c42148f
numpy
cython
matplotlib
plotly
nose
parameterized
coverage
pyfftw
future
git+https://gitlab.mpcdf.mpg.de/ift/mpi_dummy.git
git+https://gitlab.mpcdf.mpg.de/ift/keepers.git
git+https://gitlab.mpcdf.mpg.de/ift/D2O.git
ci/requirements_extras.txt
0 → 100644
View file @
7c42148f
ipython==5.3.0
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment