Replace HDF5 with a quicker-to-build package
tgamblin opened this issue · comments
Todd Gamblin commented
In the developer workflows tutorial, we build hdf5~mpi
, but it still takes a while. Replace it with something that:
- builds quickly
- has at least one installed dependency already in the build cache
- doesn't add any new build cache requirements
Mario Melara commented
Where can I find what is IN the build cache?
Todd Gamblin commented
spack buildcache list
Massimiliano Culpo commented
With the due modifications (i.e. adding the develop
version) we can probably use hwloc
:
$ spack dev-build hwloc@develop
[ ... ]
==> Successfully installed hwloc
Fetch: 0.00s. Build: 56.55s. Total: 56.55s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.4.0/hwloc-develop-kezfab6iyi5nljlnfmpwy3bgxu7f6rie
It has a few dependencies but they're all in the cache. For sake of comparison here's hdf5
on the same platform as above:
$ spack dev-build hdf5@develop ~mpi
[ ... ]
==> Successfully installed hdf5
Fetch: 0.00s. Build: 6m 41.83s. Total: 6m 41.83s.
[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.4.0/hdf5-develop-ld43fxgqbuqzgf5rrruxuc4l2brs47yy
Massimiliano Culpo commented
I'll proceed with hwloc
by:
- Modifying the Development workflow tutorial and submitting a PR
- Modifying the
hwloc
package and submit a PR todevelop
and the release branch
@becker33 ☝️