Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
ea317d70
Commit
ea317d70
authored
Jan 31, 2017
by
Jait Dixit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install h5py with MPI support
parent
c0a6badc
Pipeline
#9877
passed with stage
in 29 minutes and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-2
ci/install_h5py.sh
ci/install_h5py.sh
+13
-0
No files found.
.gitlab-ci.yml
View file @
ea317d70
...
...
@@ -13,7 +13,7 @@ before_script:
-
apt-get update
-
>
apt-get install -y build-essential python python-pip python-dev git
gfortran autoconf gsl-bin libgsl-dev
gfortran autoconf gsl-bin libgsl-dev
wget
-
pip install -r ci/requirements_base.txt
-
chmod +x ci/*.sh
...
...
@@ -58,9 +58,10 @@ test_mpi_fftw_hdf5:
libfftw3-quad3 libfftw3-single3
-
>
apt-get install -y libhdf5-10 libhdf5-dev libhdf5-openmpi-10
libhdf5-openmpi-dev hdf5-tools
python-h5py
libhdf5-openmpi-dev hdf5-tools
-
pip install astropy healpy mpi4py
-
pip install git+https://github.com/mrbell/gfft
-
ci/install_h5py.sh
-
ci/install_libsharp.sh
-
ci/install_pyfftw.sh
-
python setup.py build_ext --inplace
...
...
ci/install_h5py.sh
0 → 100644
View file @
ea317d70
#!/bin/bash
wget https://api.github.com/repos/h5py/h5py/tags
-O
- |
grep
tarball_url |
grep
-v
rc |
head
-n
1 |
cut
-d
'"'
-f
4 | wget
-i
-
-O
h5py.tar.gz
tar
xzf h5py.tar.gz
cd
h5py-h5py
*
export
CC
=
mpicc
export
HDF5_DIR
=
/usr/lib/x86_64-linux-gnu/hdf5/openmpi
python setup.py configure
--mpi
python setup.py build
python setup.py
install
cd
..
rm
-r
h5py-h5py
*
rm
h5py.tar.gz
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