Skip to content

Commit

Permalink
machines: hpcr: support '-nomodules'
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-blain committed Nov 24, 2021
1 parent 4d3649a commit 0127e1e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configuration/scripts/machines/env.hpcr_intel
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0127e1e

Please sign in to comment.