Skip to content

Commit 6b8ea53

Browse files
authored
Merge pull request #64 from GEOS-ESM/develop
Merge Develop into Main
2 parents 976f009 + dae7388 commit 6b8ea53

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

scripts/fv3.j

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module list
8383
setenv EXPDIR @EXPDIR
8484
setenv SCRDIR $EXPDIR/scratch_${EXPID}_${EXETAG}-${FV3EXE}
8585
if ($NH) setenv SCRDIR ${SCRDIR}_NH.$$
86-
setenv EXE $GEOSBIN/StandAlone_FV3_Dycore.x
86+
setenv EXE $EXPDIR/StandAlone_FV3_Dycore.x
8787

8888
#######################################################################
8989
# Create Experiment Scratch-Directory
@@ -163,8 +163,6 @@ NUM_READERS: @NUM_READERS
163163
NUM_WRITERS: @NUM_WRITERS
164164
# AGCM Model Restart Files
165165
# ------------------------
166-
#DYN_INTERNAL_RESTART_FILE: fvcore_internal_rst
167-
#DYN_INTERNAL_RESTART_TYPE: pbinary
168166
DYN_INTERNAL_CHECKPOINT_FILE: fvcore_internal_checkpoint
169167
DYN_INTERNAL_CHECKPOINT_TYPE: pnc4
170168
DYN_INTERNAL_HEADER: 1
@@ -252,7 +250,7 @@ cat > input.nml << EOF
252250
253251
&test_case_nml
254252
test_case = 5
255-
/
253+
/
256254
257255
&fms_io_nml
258256
/
@@ -278,9 +276,9 @@ endif
278276
echo " "
279277
#pwd
280278
echo "***** USING **** $EXE *********************"
281-
if( $USE_SHMEM == 0 ) $GEOSBIN/RmShmKeys_sshmpi.csh >& /dev/null
282-
mpirun -np $NPES ./StandAlone_FV3_Dycore.x |& tee ${SCRDIR}.log
283-
if( $USE_SHMEM == 0 ) $GEOSBIN/RmShmKeys_sshmpi.csh >& /dev/null
279+
if( $USE_SHMEM == 1 ) $GEOSBIN/RmShmKeys_sshmpi.csh >& /dev/null
280+
$RUN_CMD $NPES ./StandAlone_FV3_Dycore.x |& tee ${SCRDIR}.log
281+
if( $USE_SHMEM == 1 ) $GEOSBIN/RmShmKeys_sshmpi.csh >& /dev/null
284282

285283
set rc = $status
286284
echo Status = $rc

0 commit comments

Comments
 (0)