Commit a2affde0 authored by Belhorn, Matt's avatar Belhorn, Matt
Browse files

Fix path to Cray HDF5

parent 7aba693f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -123,9 +123,11 @@ if [ ! -d "../envs/myenv" ]; then
  # conda that would use, for instance, openmpi instead of Cray MPICH.
  pip install --upgrade pip
  CC=cc pip install -v --no-binary :all: mpi4py

  # H5py needs some configure options to use MPI. Worst case scenerio, some
  # pacakges will need to be built without pip.
  CC=cc HDF5_MPI="ON" HDF5_DIR="${CRAY_HDF5_DIR}" pip install -v --no-binary :all: h5py
  HDF5_DIR="${CRAY_HDF5_DIR}/${PE_ENV}/${GNU_VERSION%.*}"
  CC=cc HDF5_MPI="ON" HDF5_DIR="${HDF5_DIR}" pip install -v --no-binary :all: h5py
  source deactivate $VENV_NAME

  # Reconfigure the compiler wrapper for the compute nodes. Remember, all