From 0127e1e59b790c6c54f072b300ef4f5ed38257e2 Mon Sep 17 00:00:00 2001 From: Philippe Blain Date: Tue, 2 Nov 2021 09:57:13 -0400 Subject: [PATCH] machines: hpcr: support '-nomodules' --- configuration/scripts/machines/env.hpcr_intel | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configuration/scripts/machines/env.hpcr_intel b/configuration/scripts/machines/env.hpcr_intel index 7f654b602..585e3328b 100644 --- a/configuration/scripts/machines/env.hpcr_intel +++ b/configuration/scripts/machines/env.hpcr_intel @@ -1,10 +1,19 @@ #!/bin/csh -f +set inp = "undefined" +if ($#argv == 1) then + set inp = $1 +endif + +if ("$inp" != "-nomodules") then + source /fs/ssm/main/opt/ssmuse/ssmuse-1.11/ssmuse_1.11_all/bin/ssmuse-boot.csh >& /dev/null # package loader set ssmuse=`which ssmuse-csh` source $ssmuse -x /fs/ssm/main/opt/intelcomp/inteloneapi-2021.3.0 # Intel compiler + Intel MPI setenv UCX_NET_DEVICES "mlx5_1:1" source $ssmuse -x main/opt/hdf5-netcdf4/serial/shared/inteloneapi-2021.3.0/01 # NetCDF + +endif setenv ICE_MACHINE_MACHNAME hpcr setenv ICE_MACHINE_ENVNAME intel