Add offload build support in Spack
Is your feature request related to a problem? Please describe. Add offload build support in Spack
Just noticed that e4s was doing some nightly tests. https://gitlab.e4s.io/uo-public/qmcpack/-/pipelines Although they used a node with a100 but no GPU feature is turned on.
Once https://github.com/spack/spack/pull/36675 gets in we should be able to work on
- Updating +cuda variant if needed
- add +rocm variant with the rocm package
- add +offload variant
~~https://github.com/spack/spack/pull/36675~~ has been merged. If we enable offload features of qmcpack in spack, we can test the integration. When using llvm compilers, add +libomptarget requirement.
Thanks for the update. Another reason to have the e4s build run with offload is that it will highlight the current cuda <=11.2 dependency / ptx bug/problem with offload.