Commit df0e6d4f authored by Theo Steininger's avatar Theo Steininger

Added fftw tests.

parent bdd2c500
Pipeline #8814 canceled with stage
in 6 minutes and 4 seconds
...@@ -18,6 +18,17 @@ test_mpi: ...@@ -18,6 +18,17 @@ test_mpi:
- mpirun -n 2 nosetests - mpirun -n 2 nosetests
- mpirun -n 5 nosetests - mpirun -n 5 nosetests
# - pip install cython test_mpi_fftw:
# - chmod +x continuous_integration/install_h5py.sh script:
# - continuous_integration/install_h5py.sh - continuous_integration/install_mpi.sh
- continuous_integration/install_fftw.sh
- python setup.py install
- mpirun -n 2 nosetests
test_mpi_hdf5:
script:
- continuous_integration/install_mpi.sh
- continuous_integration/install_h5py.sh
- python setup.py install
- mpirun -n 2 nosetests
#!/bin/bash
pip install cython
apt-get install -y libfftw3-3 libfftw3-bin libfftw3-dev libfftw3-mpi-dev libfftw3-mpi3
git clone -b mpi https://github.com/fredRos/pyFFTW.git
cd pyFFTW/
#export LDFLAGS="-L/usr/include"
#export CFLAGS="-I/usr/include"
CC=mpicc python setup.py build_ext install
cd ..
#!/bin/bash #!/bin/bash
pip install cython
apt-get update -qy
apt-get install -y libhdf5-openmpi-dev apt-get install -y libhdf5-openmpi-dev
curl -s https://api.github.com/repos/h5py/h5py/tags | grep tarball_url | head -n 1 | cut -d '"' -f 4 | wget -i - -O h5py.tar.gz curl -s https://api.github.com/repos/h5py/h5py/tags | grep tarball_url | head -n 1 | cut -d '"' -f 4 | wget -i - -O h5py.tar.gz
tar xzf h5py.tar.gz tar xzf h5py.tar.gz
cd h5py-h5py* cd h5py-h5py*
......
#!/bin/bash
apt-get update -qy apt-get update -qy
apt-get install -y openmpi-bin libopenmpi-dev apt-get install -y openmpi-bin libopenmpi-dev
pip install mpi4py pip install mpi4py
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment