diff --git a/modulefiles/build.gaeaC6.intel.lua b/modulefiles/build.gaeaC6.intel.lua new file mode 100644 index 000000000..de35f3959 --- /dev/null +++ b/modulefiles/build.gaeaC6.intel.lua @@ -0,0 +1,64 @@ +help([[ +Load environment to compile UFS_UTILS on GAEA C6 using Intel +]]) + +prepend_path("MODULEPATH", "/autofs/ncrc-svm1_proj/epic/spack-stack/spack-stack-1.6.0/envs/unified-env-c6/install/modulefiles/Core") + +stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0" +load(pathJoin("stack-intel", stack_intel_ver)) + +stack_mpich_ver=os.getenv("stack_mpich_ver") or "8.1.29" +load(pathJoin("stack-cray-mpich", stack_mpich_ver)) + +craype_ver=os.getenv("craype_ver") or "2.7.30" +load(pathJoin("craype", craype_ver)) + +cmake_ver=os.getenv("cmake_ver") or "3.23.1" +load(pathJoin("cmake", cmake_ver)) + +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +load(pathJoin("bacio", bacio_ver)) + +g2_ver=os.getenv("g2_ver") or "3.4.5" +load(pathJoin("g2", g2_ver)) + +ip_ver=os.getenv("ip_ver") or "4.3.0" +load(pathJoin("ip", ip_ver)) + +nemsio_ver=os.getenv("nemsio_ver") or "2.5.4" +load(pathJoin("nemsio", nemsio_ver)) + +sp_ver=os.getenv("sp_ver") or "2.5.0" +load(pathJoin("sp", sp_ver)) + +w3emc_ver=os.getenv("w3emc_ver") or "2.10.0" +load(pathJoin("w3emc", w3emc_ver)) + +sigio_ver=os.getenv("sigio_ver") or "2.3.2" +load(pathJoin("sigio", sigio_ver)) + +sfcio_ver=os.getenv("sfcio_ver") or "1.4.1" +load(pathJoin("sfcio", sfcio_ver)) + +zlib_ver=os.getenv("zlib_ver") or "1.2.13" +load(pathJoin("zlib", zlib_ver)) + +libpng_ver=os.getenv("libpng_ver") or "1.6.37" +load(pathJoin("libpng", libpng_ver)) + +netcdf_c_ver=os.getenv("netcdf_c_ver") or "4.9.2" +load(pathJoin("netcdf-c", netcdf_c_ver)) + +netcdf_fortran_ver=os.getenv("netcdf_fortran_ver") or "4.6.1" +load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) + +nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1" +load(pathJoin("nccmp", nccmp_ver)) + +esmf_ver=os.getenv("esmf_ver") or "8.5.0" +load(pathJoin("esmf", esmf_ver)) + +nco_ver=os.getenv("nco_ver") or "5.0.6" +load(pathJoin("nco", nco_ver)) + +whatis("Description: UFS_UTILS build environment") diff --git a/sorc/machine-setup.sh b/sorc/machine-setup.sh index d14b4c05b..944c5e48c 100644 --- a/sorc/machine-setup.sh +++ b/sorc/machine-setup.sh @@ -38,7 +38,7 @@ elif [[ -d /scratch1 ]] ; then fi target=hera module purge -elif [[ -d /gpfs && -d /ncrc ]] ; then +elif [[ "$(hostname)" == "gaea5"* && -d /gpfs/f5 ]] ; then # We are on GAEA. if ( ! eval module help > /dev/null 2>&1 ) ; then # We cannot simply load the module command. The GAEA @@ -50,6 +50,9 @@ elif [[ -d /gpfs && -d /ncrc ]] ; then fi module reset target=gaea +elif [[ "$(hostname)" == "gaea6"* && -d /gpfs/f6 ]] ; then + target=gaeaC6 + source /opt/cray/pe/lmod/8.7.31/init/$__ms_shell elif [[ "$(hostname)" =~ "Orion" || "$(hostname)" =~ "orion" ]]; then target="orion" module purge