@@ -112,7 +112,6 @@ cd $ORIGPATH
112112# ######################################################################
113113
114114# Set default behavior of switches
115- set LINKX = FALSE
116115set EXE_VERB = " copied"
117116set SINGULARITY_RUN_SITE = " "
118117if ($singstat == 1) then
@@ -142,17 +141,6 @@ while ( $#argv > 0 )
142141 case --[Cc][Oo][Ll][Oo][Rr]:
143142 goto SETCOLOR
144143
145- # Symlink StandAlone_FV3_Dycore.x
146- case --link:
147- set LINKX = TRUE
148- set EXE_VERB = " linked"
149- breaksw
150-
151- # Avoid Symlink StandAlone_FV3_Dycore.x
152- case --nolink:
153- set LINKX = FALSE
154- breaksw
155-
156144 # Here any string not above will trigger USAGE
157145 case -[Hh]:
158146 case --[Hh][Ee][Ll][Pp]:
@@ -704,6 +692,21 @@ endif
704692if( -e $HOME /.GROUProot ) /bin/rm $HOME /.GROUProot
705693echo $GROUP > $HOME /.GROUProot
706694
695+ # ######################################################################
696+ # Set some singularity variables
697+ # ######################################################################
698+
699+ # Copy or link GEOSgcm.x if USING_SINGULARITY is FALSE
700+ if ( $USING_SINGULARITY == FALSE ) then
701+ # Set a couple variables for sed'ing out bits of the run script
702+ set SINGULARITY_BUILD = " #DELETE"
703+ set NATIVE_BUILD = " "
704+ else
705+ # Set a couple variables for sed'ing out bits of the run script
706+ set SINGULARITY_BUILD = " "
707+ set NATIVE_BUILD = " #DELETE"
708+ endif
709+
707710# ######################################################################
708711# Set Recommended MPI Stack Settings
709712# ######################################################################
0 commit comments