Skip to content

Commit

Permalink
don't set envs now set in desimodules
Browse files Browse the repository at this point in the history
  • Loading branch information
sbailey committed Jul 25, 2024
1 parent b5226ac commit d7b8f5e
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions etc/desispec.module
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,13 @@ setenv [string toupper $product] $PRODUCT_DIR
#
# Add any non-standard Module code below this point.
#
setenv DESI_SPECTRO_CALIB $env(DESI_ROOT)/spectro/desi_spectro_calib/trunk
setenv DESI_SPECTRO_DARK $env(DESI_ROOT)/spectro/desi_spectro_dark/latest

# for MPI+multiprocessing coordination
setenv MPICH_GNI_FORK_MODE FULLCOPY
setenv KMP_AFFINITY disabled

# for zmtl generation running QuasarNP
# OLD:
# setenv QN_MODEL_FILE $env(DESI_ROOT)/target/catalogs/lya/qn_models/qn_train_coadd_indtrain_0_0_boss10.h5
# After desispec PR #2230 and QuasarNP PR #7:
# setenv QN_MODEL_FILE $env(DESI_ROOT)/science/lya/qn_models/desi/qn_train_desi_guadalupe_linear.h5
# 2024-06-18: reverting to previous weights while debugging new ones
setenv QN_MODEL_FILE $env(DESI_ROOT)/target/catalogs/lya/qn_models/qn_train_coadd_indtrain_0_0_boss10.h5

# possible future SQuEZE afterburner
setenv SQ_MODEL_FILE $env(DESI_ROOT)/target/catalogs/lya/sq_models/BOSS_train_64plates_model.json
# the following environment variables are now set by desimodules
# instead of the desispec module
# - DESI_SPECTRO_CALIB
# - DESI_SPECTRO_DARK
# - MPICH_GNI_FORK_MODE
# - KMP_AFFINITY
# - QN_MODEL_FILE
# - SQ_MODEL_FILE

0 comments on commit d7b8f5e

Please sign in to comment.