Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LIVVkit
lex
Commits
fda19f5f
Commit
fda19f5f
authored
Sep 04, 2018
by
Evans, Katherine
Browse files
path fix to generalize for rhea and cori
parent
28f9945c
Changes
1
Hide whitespace changes
Inline
Side-by-side
postproc/e3sm1p0/main_e3sm.sh
View file @
fda19f5f
...
@@ -20,7 +20,9 @@ if [[ $(hostname -s) = rhea* ]]; then
...
@@ -20,7 +20,9 @@ if [[ $(hostname -s) = rhea* ]]; then
year_start
=
1979
year_start
=
1979
year_end
=
2005
year_end
=
2005
base
=
/lustre/atlas1/
$project
/proj-shared/salil/archive
base
=
/lustre/atlas1/
$project
/proj-shared/salil/archive
path
=
$base
/
$case
/archive
prebase
=
/lustre/atlas1/
$project
/proj-shared/salil/archive/
$case
/archive
# path=$base/$case/archive
path
=
/lustre/atlas1/
$project
/world-shared/
$USER
/
$case
outpath
=
/lustre/atlas1/
$project
/world-shared/
$USER
/
$case
/postproc
outpath
=
/lustre/atlas1/
$project
/world-shared/
$USER
/
$case
/postproc
# compute center settings
# compute center settings
obspath
=
/lustre/atlas1/cli115/world-shared/4ue/obs_data
obspath
=
/lustre/atlas1/cli115/world-shared/4ue/obs_data
...
@@ -36,7 +38,7 @@ elif [[ $(hostname -s) = cori* ]]; then
...
@@ -36,7 +38,7 @@ elif [[ $(hostname -s) = cori* ]]; then
year_start
=
0070
year_start
=
0070
year_end
=
0075
year_end
=
0075
#need to specify prebase if using data created by someone else until masks are written with sim output
#need to specify prebase if using data created by someone else until masks are written with sim output
prebase
=
/global/cscratch1/sd/dcomeau/acme_scratch/edison/archive
prebase
=
/global/cscratch1/sd/dcomeau/acme_scratch/edison/archive
/
$case
base
=
/global/cscratch1/sd/
$USER
/acme_scratch/edison
base
=
/global/cscratch1/sd/
$USER
/acme_scratch/edison
path
=
$base
/
$case
path
=
$base
/
$case
outpath
=
/global/cscratch1/sd/
$USER
/
$case
/postproc
outpath
=
/global/cscratch1/sd/
$USER
/
$case
/postproc
...
@@ -66,12 +68,12 @@ echo "$version"
...
@@ -66,12 +68,12 @@ echo "$version"
atm
=
cam
atm
=
cam
# this copy to local dir can be removed once masks are written with sim output
# this copy to local dir can be removed once masks are written with sim output
if
test
-d
$prebase
/
$case
;
then
if
test
-d
$prebase
;
then
echo
"Creating user owned target path for output data"
echo
"Creating user owned target path for output data"
mkdir
-p
$
base
/
$case
/atm
mkdir
-p
$
path
/atm
mkdir
-p
$
base
/
$case
/lnd
mkdir
-p
$
path
/lnd
cp
-uvr
$prebase
/
$case
/
atm
$path
cp
-uvr
$prebase
/atm
$path
cp
-uvr
$prebase
/
$case
/
lnd
$path
cp
-uvr
$prebase
/lnd
$path
else
else
exit
exit
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment