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

spack repo of hdf5libs and its dependencies for use by DUNE offline #210

Open
dingp opened this issue Oct 20, 2022 · 4 comments
Open

spack repo of hdf5libs and its dependencies for use by DUNE offline #210

dingp opened this issue Oct 20, 2022 · 4 comments

Comments

@dingp
Copy link
Contributor

dingp commented Oct 20, 2022

This is an issue to keep track of the effort to make hdf5libs available in the offline software stack.

Per discussion today with Fermilab's SciSoft team and Tom Junk, DUNE DAQ will provide a spack repo containing necessary spack recipe files related to hdf5libs. SciSoft will build the hdf5libs spack module using Fermilab's spack variant, which automatically makes spack modules available as UPS products.

The following tarball contains the spack recipes for hdf5libs and its dependencies. Additionally, the package depends on nlohmann-json, highfive ~mpi, and a few other standard python modules, all of which are available from the spack built-in repo.

There is also an dependency of cetlib in the chain. I did not include it here since DUNE offline might already have that.

spack-repo-hdf5libs-dunedaq-v3.2.0.tar.gz

$ tree spack-repo-hdf5libs-dunedaq-v3.2.0
spack-repo-hdf5libs-dunedaq-v3.2.0
├── packages
│   ├── daq-cmake
│   │   └── package.py
│   ├── daqdataformats
│   │   └── package.py
│   ├── detchannelmaps
│   │   └── package.py
│   ├── detdataformats
│   │   └── package.py
│   ├── ers
│   │   └── package.py
│   ├── hdf5libs
│   │   └── package.py
│   ├── logging
│   │   └── package.py
│   ├── py-moo
│   │   └── package.py
│   └── trace
│       ├── disable_cetmodules.diff
│       ├── install-exec.diff
│       ├── install-scripts-317.diff
│       ├── install-scripts.diff
│       └── package.py
└── repo.yaml

10 directories, 14 files
@gartung
Copy link

gartung commented Oct 20, 2022

I get this error trying to build hdf5libs with the v0.18-fermi branch of spack
==> Error: Package 'py-jsonnet' not found.

@dingp
Copy link
Contributor Author

dingp commented Oct 21, 2022

Sorry, I missed the package and thought it was from the built-in repo. You can find the package.py file here https://github.com/DUNE-DAQ/daq-release/blob/dingpf/gcc12/spack-repos/externals/packages/py-jsonnet/package.py

@gartung
Copy link

gartung commented Oct 21, 2022

There is a jsonnet with a +python variant. I ended up checking out the daq-release repo and copying all of the packages from externals into the packages repo in the tarball.

@dingp
Copy link
Contributor Author

dingp commented Oct 21, 2022

Good to know! We will try to switch to jsonnet +python in the next update of our externals software stack.

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