Commit d200eae3 authored by Huihuo Zheng's avatar Huihuo Zheng
Browse files

fixed for adding hdf5dev.h

parent 82fb5b5a
echo "Building h5py"
module load intelpython36
git clone
echo "
#include "hdf5dev.h"
#ifndef H5E_BADATOM
#define H5E_BADATOM 1000
" >> $SDK_DIR/hdf5/include/hdf5.h
cd h5py
HDF5_MPI=ON CC=mpicc CXX=mpicxx python
HDF5_MPI=ON CC=mpicc CXX=mpicxx python build
HDF5_MPI=ON CC=mpicc CXX=mpicxx python install --prefix=$SDK_DIR/h5py
cd -
......@@ -15,3 +15,5 @@ export CC=mpicc
export CXX=mpicxx
version=$(python -c "import sys; print('%s.%s'%(sys.version_info[0], sys.version_info[1]))")
export PYTHONPATH=$SDK_DIR/h5py/lib/python$version/site-packages:$PYTHONPATH
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