Skip to content

Commit 0f63296

Browse files
committed
Update fv3_setup
1 parent 5c9ec64 commit 0f63296

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

scripts/fv3_setup

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ cd $ORIGPATH
112112
#######################################################################
113113

114114
# Set default behavior of switches
115-
set LINKX = FALSE
116115
set EXE_VERB = "copied"
117116
set SINGULARITY_RUN_SITE = ""
118117
if ($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
704692
if( -e $HOME/.GROUProot ) /bin/rm $HOME/.GROUProot
705693
echo $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

Comments
 (0)