exasmr / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
MIT License
15 stars 9 forks source link

Adds LLVM native preset for GPU auto-detect #51

Closed jtramm closed 8 months ago

jtramm commented 8 months ago

This uses a newer flag in LLVM that allows for auto-detecting the GPU type on the node. This saves the user from having to specify a specific arch type (and saves us from having to continually update for each new type of GPU). I figured it wouldn't hurt to leave the old presets in place, as there may still be some cases where a login node doesn't have any GPUs on it and manual specification may still be needed. I also changed the mpic++ wrapper to `mpicxx' as it sounds like it may be more common.