diff --git a/util/sfc_climo_gen/sfc_gen.sh b/util/sfc_climo_gen/sfc_gen.sh index 18c93d8ed..762fd11f4 100755 --- a/util/sfc_climo_gen/sfc_gen.sh +++ b/util/sfc_climo_gen/sfc_gen.sh @@ -117,7 +117,11 @@ ulimit -s unlimited source ${BASE_DIR}/sorc/machine-setup.sh > /dev/null 2>&1 module use ${BASE_DIR}/modulefiles -module load build.$target.intel +if [[ -f ${BASE_DIR}/modulefiles/build.$target.intelllvm.lua ]]; then + module load build.$target.intelllvm +else + module load build.$target.intel +fi module list rm -fr $WORK_DIR $SAVE_DIR