Closed jcfreeman2 closed 2 years ago
If I replace
source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh
setup_dbt latest-spack
with
. daq-buildtools/env.sh # 56faff84b, head of johnfreeman/issue161_spack
...then things work fine.
Commenting out the UPS-related calls in setup_dbt.sh
makes things work again:
#cvmfs_products="/cvmfs/dunedaq.opensciencegrid.org/products"
#source ${cvmfs_products}/setup
## gcc is required is running "dbt-create.py" without "-c" option
#setup -B gcc v8_2_0
## python 3 is required for running "dbt-create.py"
#setup -B python
Modified the function to setup UPS products (python
and gcc
) only for non spack-enabled dbt.
Encapsulate the UPS related lines with if [[ $tag != *"spack" ]]
.
The fix has been published to cvmfs. My test was successful with the fix.
I run into a problem if I do the following on either
np04-srv-019
ormu2edaq13
:as this yields: