-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4274beb
commit 13b0b0c
Showing
3 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,39 @@ | ||
#!/usr/bin/csh | ||
|
||
# sample script for testing "enpert_forc.csh" | ||
# | ||
# must edit paths before submitting this script | ||
# | ||
# ----------------------------------------------------------- | ||
|
||
#SBATCH --ntasks=1 | ||
#SBATCH --time=1:00:00 | ||
#SBATCH --job-name=regd | ||
#SBATCH --output=/discover/nobackup/user/test/test.o%j.txt | ||
#SBATCH --job-name=test_enpert_forc | ||
#SBATCH --output=/discover/nobackup/[USER]/test_enpert_forc.o%j.txt | ||
#SBATCH --export=NONE | ||
#SBATCH --qos=debug | ||
|
||
######################################################## | ||
## user: user | ||
## GEOSldas: GEOSldas ROOTdir | ||
## testdir: user testdir | ||
## GEOSadas: GEOSadas ROOTdir | ||
######################################################## | ||
# set environment variables needed by enpert_forc.csh | ||
|
||
setenv GEOSBIN /discover/nobackup/[USER]/GEOSldas/install/bin | ||
setenv ADAS_EXPDIR /discover/nobackup/[USER]/GEOSadas | ||
setenv NENS 24 | ||
setenv GRID PE180x1080-CF | ||
|
||
# load modules | ||
|
||
setenv GEOSBIN /discover/nobackup/user/GEOSldas/install/bin | ||
source $GEOSBIN/g5_modules | ||
|
||
module load python/GEOSpyD/Ana2019.03_py3.7 | ||
|
||
if ( -e /etc/os-release ) then | ||
module load nco/4.8.1 | ||
else | ||
module load other/nco-4.6.8-gcc-5.3-sp3 | ||
endif | ||
|
||
setenv RUNDIR /discover/nobackup/user/testdir/ | ||
setenv ADAS_EXPDIR /discover/nobackup/user/GEOSadas | ||
setenv NENS 24 | ||
setenv GRID PE180x1080-CF | ||
# execute test | ||
|
||
$GEOSBIN/enpert_forc.csh | ||
|
||
# ====================== EOF =================================== |
13b0b0c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my original comment ## GEOSadas: GEOSadas ROOTdir is wrong.
it should be ## GEOSadas: Hy4DEnVar exp home dir ( as in adas FVHOME )
So in the current version we should have something like
setenv ADAS_EXPDIR /discover/nobackup/[USER]/[adas_exphome]
13b0b0c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saraqzhang, I'm not sure I really understand your comment and what needs to change where, but I took a crack at it in 71f7915 - does this address your concern?
13b0b0c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.