@@ -290,49 +290,30 @@ ASKPROC:
290290
291291if ( $SITE == ' NCCS' ) then
292292
293- set BUILT_ON_SLES15 = @BUILT_ON_SLES15@
294-
295- if (" $BUILT_ON_SLES15 " == " TRUE" ) then
296- echo " Enter the ${C1} Processor Type${CN} you wish to run on:"
297- echo " ${C2} mil (Milan)${CN} (default)"
298- echo " "
299- set MODEL = ` echo $< `
300- set MODEL = ` echo $MODEL | tr " [:upper:]" " [:lower:]" `
301- if ( .$MODEL == .) then
302- set MODEL = ' mil'
303- endif
304-
305- if( $MODEL ! = ' mil' ) goto ASKPROC
306-
307- if ($MODEL == ' mil' ) then
308- # We save a couple processes for the kernel
309- set NCPUS_PER_NODE = 126
310- endif
311- else
312- echo " Enter the ${C1} Processor Type${CN} you wish to run on:"
313- echo " ${C2} sky (Skylake)${CN} "
314- echo " ${C2} cas (Cascade Lake) (default)${CN} "
315- echo " "
316- set MODEL = ` echo $< `
317- set MODEL = ` echo $MODEL | tr " [:upper:]" " [:lower:]" `
318- if ( .$MODEL == .) then
319- set MODEL = ' cas'
320- endif
293+ echo " Enter the ${C1} Processor Type${CN} you wish to run on:"
294+ echo " ${C2} mil (Milan)${CN} (default)"
295+ echo " ${C2} cas (Cascade Lake)${CN} "
296+ echo " "
297+ set MODEL = ` echo $< `
298+ set MODEL = ` echo $MODEL | tr " [:upper:]" " [:lower:]" `
299+ if ( .$MODEL == .) then
300+ set MODEL = ' mil'
301+ endif
321302
322- if( $MODEL ! = ' sky ' & \
323- $MODEL ! = ' cas' ) goto ASKPROC
324-
325- if ($MODEL == ' sky ' ) then
326- set NCPUS_PER_NODE = 40
327- else if ( $MODEL == ' cas ' ) then
328- # NCCS currently recommends that users do not run with
329- # 48 cores per node on SCU16 due to OS issues and
330- # recommends that CPU-intensive works run with 46 or less
331- # cores. As 45 is a multiple of 3, it's the best value
332- # that doesn't waste too much
333- # set NCPUS_PER_NODE = 48
334- set NCPUS_PER_NODE = 45
335- endif
303+ if( $MODEL ! = ' mil ' & \
304+ $MODEL ! = ' cas' ) goto ASKPROC
305+
306+ if ($MODEL == ' mil ' ) then
307+ # We save a couple processes for the kernel
308+ set NCPUS_PER_NODE = 126
309+ else if ( $MODEL == ' cas ' ) then
310+ # NCCS currently recommends that users do not run with
311+ # 48 cores per node on SCU16 due to OS issues and
312+ # recommends that CPU-intensive works run with 46 or less
313+ # cores. As 45 is a multiple of 3, it's the best value
314+ # that doesn't waste too much
315+ # set NCPUS_PER_NODE = 48
316+ set NCPUS_PER_NODE = 45
336317 endif
337318
338319else if ( $SITE == ' NAS' ) then
@@ -811,51 +792,13 @@ EOF
811792if ( $SITE == ' NCCS' ) then
812793
813794cat >> $EXPDIR /SETENV.commands << EOF
814- setenv I_MPI_SHM_HEAP_VSIZE 512
815- setenv PSM2_MEMORY large
816- EOF
817-
818- # Testing at NCCS showed these caused a crash at higher resolutions at
819- # restart read
820- if ( $USING_SINGULARITY == FALSE ) then
821-
822- cat >> $EXPDIR /SETENV.commands << EOF
823- setenv I_MPI_EXTRA_FILESYSTEM 1
824- setenv I_MPI_EXTRA_FILESYSTEM_FORCE gpfs
825- EOF
795+ setenv I_MPI_ADJUST_ALLREDUCE 12
796+ setenv I_MPI_ADJUST_GATHERV 3
826797
827- endif # if NOT Singularity
828-
829- # Testing by Bill Putman found these to be
830- # useful flags with Intel MPI on SLES15 on the
831- # Milan nodes.
832- # Note 1: Testing by NCCS shows the PSM3 provider
833- # runs on the Infiniband fabric. Tests show it runs
834- # up to C720.
835- # Note 2: When the Cascade Lakes are moved to
836- # SLES15, these will need to be Milan-only flags
837- # as Intel MPI will probably work just fine with
838- # Intel chips.
839- if (" $BUILT_ON_SLES15 " == " TRUE" ) then
840- cat >> $EXPDIR /SETENV.commands << EOF
841- setenv I_MPI_FALLBACK 0
842- setenv I_MPI_FABRICS ofi
798+ setenv I_MPI_FABRICS shm:ofi
843799setenv I_MPI_OFI_PROVIDER psm3
844- setenv I_MPI_ADJUST_SCATTER 2
845- setenv I_MPI_ADJUST_SCATTERV 2
846- setenv I_MPI_ADJUST_GATHER 2
847- setenv I_MPI_ADJUST_GATHERV 3
848- setenv I_MPI_ADJUST_ALLGATHER 3
849- setenv I_MPI_ADJUST_ALLGATHERV 3
850- setenv I_MPI_ADJUST_ALLREDUCE 12
851- setenv I_MPI_ADJUST_REDUCE 10
852- setenv I_MPI_ADJUST_BCAST 11
853- setenv I_MPI_ADJUST_REDUCE_SCATTER 4
854- setenv I_MPI_ADJUST_BARRIER 9
855800EOF
856801
857- endif # if SLES15
858-
859802endif # if NCCS
860803
861804endif # if mpi
0 commit comments