Updated Titan /Eos build scripts

This commit is contained in:
James E McClure
2017-05-14 16:00:32 -04:00
parent ac797709ce
commit efdc0fa000
2 changed files with 13 additions and 2 deletions

View File

@@ -2,7 +2,10 @@
#for var in ${LOADEDMODULES//:/ }; do if [ " ${var///*/}" != " modules" ]; then module unload " ${var///*/}" > /dev/null 2>&1; fi; done
source $MODULESHOME/init/bash
module swap PrgEnv-intel PrgEnv-gnu
module unload PrgEnv-intel
module load PrgEnv-gnu
module unload gcc
module load gcc/5.3.0
module load cray-hdf5-parallel
module load cray-netcdf-hdf5parallel
@@ -18,6 +21,9 @@ module load cmake
export MPICH_RDMA_ENABLED_CUDA=0
echo $GNU_VERSION
module list
# Remove CMake files from previous configures
rm -rf CMake*
@@ -39,9 +45,10 @@ cmake \
-D USE_NETCDF=1 \
-D NETCDF_DIRECTORY=$NETCDF_DIR \
-D HDF5_DIRECTORY=$HDF5_DIR \
-D PREFIX=$MEMBERWORK/geo106/eos-LBPM-WIA \
~/LBPM-WIA
# -D PREFIX=$MEMBERWORK/geo106/eos-LBPM-WIA \
#-D CUDA_HOST_COMPILER="/usr/bin/gcc" \