Skip to content

Commit dbb33ac

Browse files
author
zaihuaji
committed
set default environments to /lustre/desc1/gdex
1 parent 3147eca commit dbb33ac

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "rda_python_common"
7-
version = "1.0.53"
7+
version = "1.0.54"
88
authors = [
99
{ name="Zaihua Ji", email="zji@ucar.edu" },
1010
]

src/rda_python_common/PgLOG.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,16 +1353,16 @@ def set_common_pglog():
13531353
SETPGLOG("DSDHOME", PGLOG['DSSDATA']+"/data") # dataset data root path
13541354
SETPGLOG("DECSHOME", PGLOG['DSSDATA']+"/decsdata") # dataset decsdata root path
13551355
SETPGLOG("DSHHOME", PGLOG['DECSHOME']+"/helpfiles") # dataset help root path
1356-
SETPGLOG("UPDTWKP", PGLOG['DSSDATA']+"/work") # dsupdt work root path
1357-
SETPGLOG("GDEXWORK", "/lustre/desc1/gdex/work") # gdex work path
1358-
SETPGLOG("TRANSFER", "/lustre/desc1/gdex/transfer") # gdex transfer path
1356+
SETPGLOG("GDEXWORK", "/lustre/desc1/gdex/work") # gdex work path
1357+
SETPGLOG("UPDTWKP", PGLOG['GDEXWORK']) # dsupdt work root path
1358+
SETPGLOG("TRANSFER", "/lustre/desc1/gdex/transfer") # gdex transfer path
13591359
SETPGLOG("RQSTHOME", PGLOG['TRANSFER']+"/dsrqst") # dsrqst home
1360-
SETPGLOG("DSAHOME", "") # dataset data alternate root path
1360+
SETPGLOG("DSAHOME", "") # dataset data alternate root path
13611361
SETPGLOG("RQSTALTH", "") # alternate dsrqst path
13621362
SETPGLOG("GPFSHOST", "") # empty if writable to glade
1363-
SETPGLOG("PSQLHOST", "rda-db.ucar.edu") # host name for postgresql server
1364-
SETPGLOG("SLMHOSTS", "cheyenne:casper") # host names for SLURM server
1365-
SETPGLOG("PBSHOSTS", "cheyenne:casper") # host names for PBS server
1363+
SETPGLOG("PSQLHOST", "rda-db.ucar.edu") # host name for postgresql server
1364+
SETPGLOG("SLMHOSTS", "cheyenne:casper") # host names for SLURM server
1365+
SETPGLOG("PBSHOSTS", "cron:casper") # host names for PBS server
13661366
SETPGLOG("CHKHOSTS", "") # host names for dscheck daemon
13671367
SETPGLOG("PVIEWHOST", "pgdb02.k8s.ucar.edu") # host name for view only postgresql server
13681368
SETPGLOG("PMISCHOST", "pgdb03.k8s.ucar.edu") # host name for misc postgresql server
@@ -1374,12 +1374,12 @@ def set_common_pglog():
13741374
os.environ['history'] = '0'
13751375

13761376
# set tmp dir
1377-
SETPGLOG("TMPPATH", "/glade/campaign/collections/gdex/work/ptmp")
1377+
SETPGLOG("TMPPATH", PGLOG['GDEXWORK'] + "/ptmp")
13781378
if not PGLOG['TMPPATH']: PGLOG['TMPPATH'] = "/data/ptmp"
13791379

13801380
SETPGLOG("TMPDIR", '')
13811381
if not PGLOG['TMPDIR']:
1382-
PGLOG['TMPDIR'] = "/glade/campaign/collections/gdex/scratch/" + PGLOG['CURUID']
1382+
PGLOG['TMPDIR'] = "/lustre/desc1/gdex/scratch/" + PGLOG['CURUID']
13831383
os.environ['TMPDIR'] = PGLOG['TMPDIR']
13841384

13851385
# empty diretory for HOST-sync

0 commit comments

Comments
 (0)