Skip to content

Commit a55e204

Browse files
committed
Use Sky for default at NAS. Fix NCCS
1 parent 2c6c8ab commit a55e204

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

scripts/fv3_setup

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,14 @@ ASKPROC:
236236

237237
if ( $SITE == 'NCCS' ) then
238238
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
239-
echo " ${C2}hasw (Haswell)${CN} (default)"
240-
echo " ${C2}sky (Skylake)${CN}"
241-
# Keep Cascade Lake hidden until in general use
242-
#echo " ${C2}cas (Cascade Lake)${CN}"
239+
echo " ${C2}hasw (Haswell)${CN}"
240+
echo " ${C2}sky (Skylake)${CN} (default)"
241+
echo " ${C2}cas (Cascade Lake)${CN}"
243242
echo " "
244243
set MODEL = `echo $<`
245244
set MODEL = `echo $MODEL | tr "[:upper:]" "[:lower:]"`
246245
if ( .$MODEL == .) then
247-
set MODEL = 'hasw'
246+
set MODEL = 'sky'
248247
endif
249248

250249
if( $MODEL != 'hasw' & \
@@ -256,16 +255,22 @@ if ( $SITE == 'NCCS' ) then
256255
else if ($MODEL == 'sky') then
257256
set NCPUS_PER_NODE = 40
258257
else if ($MODEL == 'cas') then
259-
set NCPUS_PER_NODE = 48
258+
# NCCS currently recommends that users do not run with
259+
# 48 cores per node on SCU16 due to OS issues and
260+
# recommends that CPU-intensive works run with 46 or less
261+
# cores. As 45 is a multiple of 3, it's the best value
262+
# that doesn't waste too much
263+
#set NCPUS_PER_NODE = 48
264+
set NCPUS_PER_NODE = 45
260265
endif
261266

262267
else if ( $SITE == 'NAS' ) then
263268

264269
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
265270
echo " ${C2}has (Haswell)${CN}"
266271
echo " ${C2}bro (Broadwell)${CN}"
267-
echo " ${C2}sky (Skylake)${CN}"
268-
echo " ${C2}cas (Cascade Lake)${CN} (default)"
272+
echo " ${C2}sky (Skylake)${CN} (default)"
273+
echo " ${C2}cas (Cascade Lake)${CN}"
269274
echo " ${C2}rom (AMD Rome)${CN}"
270275
echo " "
271276
echo " "
@@ -278,7 +283,7 @@ else if ( $SITE == 'NAS' ) then
278283
set MODEL = `echo $<`
279284
set MODEL = `echo $MODEL | tr "[:upper:]" "[:lower:]"`
280285
if ( .$MODEL == .) then
281-
set MODEL = 'cas'
286+
set MODEL = 'sky'
282287
endif
283288

284289
if( $MODEL != 'has' & \

0 commit comments

Comments
 (0)