Skip to content

Commit f9dc73d

Browse files
committed
Bring over other gcm changes here
1 parent eb7d30f commit f9dc73d

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

scripts/fv3_setup

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,10 +305,10 @@ endif
305305

306306
ASKPROC:
307307

308-
set BUILT_ON_SLES15 = @BUILT_ON_SLES15@
309-
310308
if ( $SITE == 'NCCS' ) then
311309

310+
set BUILT_ON_SLES15 = @BUILT_ON_SLES15@
311+
312312
if ("$BUILT_ON_SLES15" == "TRUE") then
313313
set DEFAULT_MODEL = 'mil'
314314
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
@@ -730,7 +730,7 @@ EOF
730730
# The below settings seem to be recommended for hybrid
731731
# systems using MVAPICH2 but could change
732732

733-
else if( $MPI == mvapich2 ) then
733+
else if( $MPI == mvapich ) then
734734

735735
cat > $EXPDIR/SETENV.commands << EOF
736736
setenv MV2_ENABLE_AFFINITY 0
@@ -800,6 +800,17 @@ EOF
800800

801801
endif # if NOT Singularity
802802

803+
# Testing on SLES15 showed that the mlx provider did not seem
804+
# to work at scale. So we move to use the verbs provider. Note:
805+
# still seems to have issues at c720
806+
if ("$BUILT_ON_SLES15" == "TRUE") then
807+
cat >> $EXPDIR/SETENV.commands << EOF
808+
setenv I_MPI_OFI_PROVIDER verbs
809+
setenv I_MPI_COLL_EXTERNAL 0
810+
EOF
811+
812+
endif # if SLES15
813+
803814
endif # if NCCS
804815

805816
endif # if mpi

0 commit comments

Comments
 (0)