Skip to content

Commit

Permalink
Updated fvsetup to add ARCHIVE definition to fstat_run job script and…
Browse files Browse the repository at this point in the history
… to correct tail +2 syntax error (changed to tail -n +2).
  • Loading branch information
gmao-jstassi committed Jun 3, 2022
1 parent 523f29e commit ae66a47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Applications/GEOSdas_App/fvsetup
Original file line number Diff line number Diff line change
Expand Up @@ -8331,9 +8331,9 @@ print SCRIPT <<"EOF";
cd \$FVWORK
if (`uname -n` =~ borg*) then
cat \$PBS_NODEFILE | head -1 > \$FVWORK/OIQC_list
cat \$PBS_NODEFILE | tail +2 > \$FVWORK/GCM_list
cat \$PBS_NODEFILE > \$FVWORK/ANA_list
cat \$PBS_NODEFILE | head -1 > \$FVWORK/OIQC_list
cat \$PBS_NODEFILE | tail -n +2 > \$FVWORK/GCM_list
cat \$PBS_NODEFILE > \$FVWORK/ANA_list
subset_nodefile.pl \$NCPUS_IDF -f \$PBS_NODEFILE -o \$FVWORK/IDF_list
subset_nodefile.pl \$NCPUS_IAU -f \$PBS_NODEFILE -o \$FVWORK/IAU_list
endif
Expand Down Expand Up @@ -8610,6 +8610,7 @@ EOF
endif
echo2 ""
echo2 "setenv FVHOME \$FVHOME"
echo2 "setenv ARCHIVE \$FVARCH"
echo2 "set Bin = \$Bin"
echo2 "set output = \$lname2"
echo2 ""
Expand Down

0 comments on commit ae66a47

Please sign in to comment.