@@ -415,55 +415,30 @@ ASKPROC:
415415
416416if ( $SITE == ' NCCS' ) then
417417
418- set BUILT_ON_SLES15 = @BUILT_ON_SLES15@
419-
420- if (" $BUILT_ON_SLES15 " == " TRUE" ) then
421- echo " Enter the ${C1} Processor Type${CN} you wish to run on:"
422- echo " ${C2} mil (Milan)${CN} (default)"
423- echo " ${C2} cas (Cascade Lake)${CN} "
424- echo " "
425- set MODEL = ` echo $< `
426- set MODEL = ` echo $MODEL | tr " [:upper:]" " [:lower:]" `
427- if ( .$MODEL == .) then
428- set MODEL = ' mil'
429- endif
430-
431- if( $MODEL ! = ' mil' & \
432- $MODEL ! = ' cas' ) goto ASKPROC
433-
434- if ($MODEL == ' mil' ) then
435- # We save a couple processes for the kernel
436- set NCPUS_PER_NODE = 126
437- else if ($MODEL == ' cas' ) then
438- # NCCS currently recommends that users do not run with
439- # 48 cores per node on SCU16 due to OS issues and
440- # recommends that CPU-intensive works run with 46 or less
441- # cores. As 45 is a multiple of 3, it's the best value
442- # that doesn't waste too much
443- # set NCPUS_PER_NODE = 48
444- set NCPUS_PER_NODE = 45
445- endif
446- else
447- echo " Enter the ${C1} Processor Type${CN} you wish to run on:"
448- echo " ${C2} cas (Cascade Lake) (default)${CN} "
449- echo " "
450- set MODEL = ` echo $< `
451- set MODEL = ` echo $MODEL | tr " [:upper:]" " [:lower:]" `
452- if ( .$MODEL == .) then
453- set MODEL = ' cas'
454- endif
455-
456- if( $MODEL ! = ' cas' ) goto ASKPROC
418+ echo " Enter the ${C1} Processor Type${CN} you wish to run on:"
419+ echo " ${C2} mil (Milan)${CN} (default)"
420+ echo " ${C2} cas (Cascade Lake)${CN} "
421+ echo " "
422+ set MODEL = ` echo $< `
423+ set MODEL = ` echo $MODEL | tr " [:upper:]" " [:lower:]" `
424+ if ( .$MODEL == .) then
425+ set MODEL = ' mil'
426+ endif
457427
458- if ($MODEL == ' cas' ) then
459- # NCCS currently recommends that users do not run with
460- # 48 cores per node on SCU16 due to OS issues and
461- # recommends that CPU-intensive works run with 46 or less
462- # cores. As 45 is a multiple of 3, it's the best value
463- # that doesn't waste too much
464- # set NCPUS_PER_NODE = 48
465- set NCPUS_PER_NODE = 45
466- endif
428+ if( $MODEL ! = ' mil' & \
429+ $MODEL ! = ' cas' ) goto ASKPROC
430+
431+ if ($MODEL == ' mil' ) then
432+ # We save a couple processes for the kernel
433+ set NCPUS_PER_NODE = 126
434+ else if ($MODEL == ' cas' ) then
435+ # NCCS currently recommends that users do not run with
436+ # 48 cores per node on SCU16 due to OS issues and
437+ # recommends that CPU-intensive works run with 46 or less
438+ # cores. As 45 is a multiple of 3, it's the best value
439+ # that doesn't waste too much
440+ # set NCPUS_PER_NODE = 48
441+ set NCPUS_PER_NODE = 45
467442 endif
468443
469444else if ( $SITE == ' NAS' ) then
@@ -2287,7 +2262,6 @@ if ( $SITE == 'NCCS' ) then
22872262# NOTE: When Cascade Lake is on SLES15, the following flags
22882263# might need to be Milan only
22892264
2290- if (" $BUILT_ON_SLES15 " == " TRUE" ) then
22912265cat >> $HOMDIR /SETENV.commands << EOF
22922266setenv I_MPI_ADJUST_ALLREDUCE 12
22932267setenv I_MPI_ADJUST_GATHERV 3
@@ -2296,29 +2270,6 @@ setenv I_MPI_FABRICS shm:ofi
22962270setenv I_MPI_OFI_PROVIDER psm3
22972271EOF
22982272
2299- else
2300-
2301- cat >> $HOMDIR /SETENV.commands << EOF
2302- setenv I_MPI_ADJUST_ALLREDUCE 12
2303- setenv I_MPI_ADJUST_GATHERV 3
2304-
2305- setenv I_MPI_SHM_HEAP_VSIZE 512
2306- setenv PSM2_MEMORY large
2307- EOF
2308-
2309- # Testing at NCCS showed these caused a crash at higher resolutions at
2310- # restart read
2311- if ( $USING_SINGULARITY == FALSE ) then
2312-
2313- cat >> $HOMDIR /SETENV.commands << EOF
2314- setenv I_MPI_EXTRA_FILESYSTEM 1
2315- setenv I_MPI_EXTRA_FILESYSTEM_FORCE gpfs
2316- EOF
2317-
2318- endif # if NOT Singularity
2319-
2320- endif # if SLES15
2321-
23222273endif # if NCCS
23232274
23242275endif # if mpi
0 commit comments