Skip to content

Commit

Permalink
Add SNANA_YSE_* env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
heather999 authored Jul 13, 2023
1 parent 6eb1521 commit 7cbc9d7
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions nersc/setup_td.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,32 +175,27 @@ export SNANA_LSST_ROOT=$CFS_MIRROR/SNANA/SURVEYS/LSST/ROOT
export SNANA_LSST_ROOT_LEGACY="/global/cfs/cdirs/lsst/groups/TD/SN/SNANA/SURVEYS/LSST/ROOT"
export SNANA_LSST_USERS="$SNANA_SURVEYS/LSST/USERS"

export SNANA_YSE_ROOT=$CFS_MIRROR/SNANA/SURVEYS/YSE/ROOT
export SNANA_YSE_USERS="$SNANA_SURVEYS/YSE/USERS"

export PLASTICC_ROOT=$SNANA_LSST_ROOT/PLASTICC
export PLASTICC_MODELS=$SNANA_LSST_ROOT/PLASTICC/model_libs

export ELASTICC_ROOT=$SNANA_LSST_ROOT/ELASTICC
export ELASTICC_HOSTLIB=$ELASTICC_ROOT/HOSTLIB/HOSTLIBS/ONE_YR
export ELASTICC_WGTMAP=$ELASTICC_ROOT/HOSTLIB/WGTMAPS

case $NERSC_HOST in
"perlmutter")
: # settings for Perlmutter
export SNANA_SCRATCH="/pscratch/sd/d/desctd"
;;
"cori")
: # settings for Cori
export SNANA_SCRATCH="/global/cscratch1/sd/kessler"
;;
esac
export SNANA_SCRATCH="/pscratch/sd/d/desctd"
export SNANA_LSST_SIM="$SNANA_SCRATCH/SNANA_LSST_SIM"
export SNANA_YSE_SIM="$SNANA_SCRATCH/SNANA_YSE_SIM"


if [[ "$cosmosis" ]];
then
wrapcosmosis
fi


export SNANA_LSST_SIM="$SNANA_SCRATCH/SNANA_LSST_SIM"

export SCRATCH_SIMDIR="$SNANA_LSST_SIM"
export SNANA_ZTF_SIM="$SNANA_SCRATCH/SNANA_ZTF_SIM"
export DES_ROOT="$SNANA_SURVEYS/DES/ROOT"
Expand Down

0 comments on commit 7cbc9d7

Please sign in to comment.