Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
This updates the Perlmutter build script and fixes configure issues with xpmem module that is loaded by default. Also, use compiler wrapper and ccache.
In addition, fix a configure issue when using CMake 3.27 and VecGeom+cuda. CMake 3.27 introduces the policy CMP0146 removing the FindCuda module. Since #1253 we updated CMake policy support to 3.28, setting CMP0146 to NEW. The latest VecCore (0.8.1) version still uses the old policy and will fail to find cuda with a recent version of CMake.
This updates the Perlmutter build script and fixes configure issues with xpmem module that is loaded by default. Also, use compiler wrapper and ccache.
In addition, fix a configure issue when using CMake 3.27 and VecGeom+cuda. CMake 3.27 introduces the policy CMP0146 removing the FindCuda module. Since #1253 we updated CMake policy support to 3.28, setting CMP0146 to NEW. The latest VecCore (0.8.1) version still uses the old policy and will fail to find cuda with a recent version of CMake.