Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canvas-root-io spack install fails #63

Open
uplegger opened this issue Apr 5, 2024 · 2 comments
Open

canvas-root-io spack install fails #63

uplegger opened this issue Apr 5, 2024 · 2 comments

Comments

@uplegger
Copy link

uplegger commented Apr 5, 2024

I have been trying to install the art framework to use it with artdaq. I had a procedure that worked until 5 days ago and now it fails when trying to install canvas-root-io.
The following are the commands I am using to install art with spack on Alma 9:

###################################################
#FIRST: Create and go to the directory where you want to install OTSDAQ.
#As an example, here we create the otsdaq directory and we will cd into it
###################################################
mkdir otsdaq && cd otsdaq
export OTSDAQ_HOME=$PWD #This will be the directory where YOU want to install OTSDAQ

###################################################
#Installing Spack Fermilab stuff
###################################################
cd ${OTSDAQ_HOME}
mkdir -p spack/repos
cd spack
git clone https://github.com/FNALssi/spack.git -b fnal-develop
echo 'export SPACK_DISABLE_LOCAL_CONFIG=true 
source spack/share/spack/setup-env.sh' > setup-env.sh
source setup-env.sh
git clone https://github.com/fnalssi/fermi-spack-tools.git
./fermi-spack-tools/bin/make_packages_yaml spack

###################################################
#Create and activate ots environment
###################################################
cd ..
spack compiler find
spack env create ots
spack env activate ots

###################################################
#Installing art suite
###################################################
cd ${OTSDAQ_HOME}
cd spack/repos
git clone https://github.com/FNALssi/fnal_art.git && spack repo add fnal_art

spack add art-suite@s126
spack concretize -f
spack install -j`nproc`

###################################################
#DONE WITH SCRIPT
###################################################

Can you please help me?

@knoepfel
Copy link
Collaborator

knoepfel commented Apr 5, 2024

@uplegger, can you please post the error messages you're seeing?

@uplegger
Copy link
Author

uplegger commented Apr 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants