GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 105 forks source link

Add support for building GPU-enabled GalSim using NVIDIA compiler #1230

Closed jamesp-epcc closed 1 year ago

jamesp-epcc commented 1 year ago

This PR adds support for building with the NVIDIA compiler, nvc++. This compiler doesn't support one of the warnings commonly enabled in the other compilers so we have to remove it. It also formats its version information a little differently from gcc and clang.

This also adds a missing macro definition for building for GPU with gcc.

jamesp-epcc commented 1 year ago

Please don't merge this yet. A colleague who is testing GalSim on our cluster here has found a problem with the nvc++ support which I'll need to fix first.