From b277a39c9cdb45791957451389cf8a1f0aa91c57 Mon Sep 17 00:00:00 2001 From: Heather Kelly Date: Thu, 7 Apr 2022 12:36:48 -0400 Subject: [PATCH] use stable symlink for CFITSIO and GSL DIRs --- nersc/setup_td_dev.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nersc/setup_td_dev.sh b/nersc/setup_td_dev.sh index d172113..c8a7599 100755 --- a/nersc/setup_td_dev.sh +++ b/nersc/setup_td_dev.sh @@ -89,10 +89,14 @@ then elif [ -z "$nolsst" ] then echo "Setting up TD env with LSST Science Pipelines" - - source /global/common/software/lsst/cori-haswell-gcc/stack/td_env-prod/stable/setup_td_env.sh - export GSL_DIR=$CONDA_PREFIX - export CFITSIO_DIR=$CONDA_PREFIX + + export DESC_TD_INSTALL=/global/common/software/lsst/cori-haswell-gcc/stack/td_env-prod/stable + source $DESC_TD_INSTALL/setup_td_env.sh + export GSL_DIR=$DESC_TD_INSTALL/conda/envs/$LSST_CONDA_ENV_NAME + export CFITSIO_DIR=$DESC_TD_INSTALL/conda/envs/$LSST_CONDA_ENV_NAME + + #export GSL_DIR=$CONDA_PREFIX + #export CFITSIO_DIR=$CONDA_PREFIX fi