From 0e95e4e0310e48d6be8d4b612b948b76e368aa5e Mon Sep 17 00:00:00 2001 From: Mike Manyin Date: Thu, 5 Dec 2024 16:31:54 -0500 Subject: [PATCH] Check EGRESS to avoid infinite loop --- src/Applications/GEOSctm_App/ctm_run.j | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Applications/GEOSctm_App/ctm_run.j b/src/Applications/GEOSctm_App/ctm_run.j index 5082461..c648667 100755 --- a/src/Applications/GEOSctm_App/ctm_run.j +++ b/src/Applications/GEOSctm_App/ctm_run.j @@ -1017,7 +1017,11 @@ $RUN_CMD $NPES ./GEOSctm.x $IOSERVER_OPTIONS $IOSERVER_EXTRA --logging_config 'l if( $USE_SHMEM == 1 ) $GEOSBIN/RmShmKeys_sshmpi.csh >& /dev/null -set rc = $status +if( -e EGRESS ) then + set rc = 0 +else + set rc = -1 +endif echo GEOSctm Run Status: $rc