Skip to content

Commit 8d5ca7d

Browse files
committed
Update for NAS Rome Nodes
1 parent 8244d16 commit 8d5ca7d

File tree

1 file changed

+20
-40
lines changed

1 file changed

+20
-40
lines changed

scripts/fv3_setup

Lines changed: 20 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -261,54 +261,36 @@ if ( $SITE == 'NCCS' ) then
261261

262262
else if ( $SITE == 'NAS' ) then
263263

264-
# At NAS, if you build on Rome, we currently limit you to run on
265-
# Rome; this is for two reasons. First, Romes are on SLES 15 and
266-
# if you build on SLES 15, you can only run on SLES 15. Second,
267-
# while a built-on-Rome GEOS might work on Intel processors, it
268-
# will (probably) have a different output than if built on Intel
269-
# due to different optimization flags. This would violate the GEOS
270-
# capability to get the same answers at NAS and NCCS
271-
272-
set BUILT_ON_ROME = @CFG_BUILT_ON_ROME@
273-
274264
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
275-
if( "$BUILT_ON_ROME" != "TRUE" ) then
276-
echo " ${C2}has (Haswell)${CN}"
277-
echo " ${C2}bro (Broadwell)${CN}"
278-
echo " ${C2}sky (Skylake)${CN} (default)"
279-
echo " ${C2}cas (Cascade Lake)${CN}"
280-
echo " "
281-
echo " NOTE: Due to how FV3 is compiled by default, Sandy Bridge"
282-
echo " and Ivy Bridge are not supported by current GEOS"
283-
else
284-
echo " ${C2}rom (AMD Rome)${CN} (default)"
285-
endif
265+
echo " ${C2}has (Haswell)${CN}"
266+
echo " ${C2}bro (Broadwell)${CN}"
267+
echo " ${C2}sky (Skylake)${CN}"
268+
echo " ${C2}cas (Cascade Lake)${CN} (default)"
269+
echo " ${C2}rom (AMD Rome)${CN}"
270+
echo " "
271+
echo " "
272+
echo " NOTE 1: Due to how FV3 is compiled by default, Sandy Bridge"
273+
echo " and Ivy Bridge are not supported by current GEOS"
274+
echo " "
275+
echo " NOTE 2: GEOS is non-zero-diff when running on AMD Rome"
276+
echo " compared to the other Intel nodes."
286277
echo " "
287278
set MODEL = `echo $<`
288279
set MODEL = `echo $MODEL | tr "[:upper:]" "[:lower:]"`
289280
if ( .$MODEL == .) then
290-
if( "$BUILT_ON_ROME" != "TRUE" ) then
291-
set MODEL = 'sky'
292-
else
293-
set MODEL = 'rom'
294-
endif
281+
set MODEL = 'cas'
295282
endif
296283

297-
if( "$BUILT_ON_ROME" != "TRUE" ) then
298-
if( $MODEL != 'has' & \
299-
$MODEL != 'bro' & \
300-
$MODEL != 'sky' & \
301-
$MODEL != 'cas' ) goto ASKPROC
302-
else
303-
if( $MODEL != 'rom' ) goto ASKPROC
304-
endif
284+
if( $MODEL != 'has' & \
285+
$MODEL != 'bro' & \
286+
$MODEL != 'sky' & \
287+
$MODEL != 'cas' & \
288+
$MODEL != 'rom' ) goto ASKPROC
305289

306290
# Some processors have weird names at NAS
307291
# ---------------------------------------
308292

309-
if ($MODEL == bro ) then
310-
set MODEL = 'bro_ele'
311-
else if ($MODEL == sky) then
293+
if ($MODEL == sky) then
312294
set MODEL = 'sky_ele'
313295
else if ($MODEL == cas) then
314296
set MODEL = 'cas_ait'
@@ -322,16 +304,14 @@ else if ( $SITE == 'NAS' ) then
322304
set NCPUS_PER_NODE = 20
323305
else if ($MODEL == 'has') then
324306
set NCPUS_PER_NODE = 24
325-
else if ($MODEL == 'bro_ele') then
307+
else if ($MODEL == 'bro') then
326308
set NCPUS_PER_NODE = 28
327309
else if ($MODEL == 'sky_ele') then
328310
set NCPUS_PER_NODE = 40
329311
else if ($MODEL == 'cas_ait') then
330312
set NCPUS_PER_NODE = 40
331313
else if ($MODEL == 'rom_ait') then
332314
set NCPUS_PER_NODE = 128
333-
# Romes are on a different aoe
334-
set MODEL='rom_ait:aoe=sles15'
335315
endif
336316

337317
else

0 commit comments

Comments
 (0)