Closed jdha closed 5 years ago
Quick fix for now:
if [ -z `echo $LOADEDMODULES | grep PrgEnv-intel` ]; then
current_PrgEnv=`echo $LOADEDMODULES | awk 'BEGIN{FS=OFS=":"} {for (i=1;i<=NF;i++) print $i}' | grep PrgEnv`
module swap $current_PrgEnv PrgEnv-intel
fi
if [ -z `echo $LOADEDMODULES | grep cray-netcdf-hdf5parallel` ]; then
module load cray-netcdf-hdf5parallel
fi
if [ -z `echo $LOADEDMODULES | grep cray-hdf5-parallel` ]; then
module load cray-hdf5-parallel
fi
Currently the Caribbean configuration has been set up and tested with the ARCHER Intel environment. There needs to be some additional logic to test which modules the user has loaded (or pre-loaded in their log in script) and alter accordingly. Other addition would be to add in an option to run with the Cray compiler - but this will need to be full tested.