Open omlins opened 1 month ago
progress report from Slack: adding -target-accel=nvidia90 -target-cpu=aarch64
makes the cray compiler wrapper behave -- now just thinking about how to best set this. It's a bit of a chicken + egg thing: need to know the accel type to get the compiler wrapper to tell you what the accelerator's gtl library is called
urgh....
CRRRRRRAAAAAAAAAAYYYYYY!!!!
Ok maybe not all Cray's fault -- the problem is that the compiler wrappers are looking for theCRAY_ACCEL_TARGET
and CRAY_CPU_TARGET
env vars -- which are normally set. Just not on Alps at the moment. So I forgot about these. Most sites provide a module (craype-accel-nvidia
and craype-accel-nvidia80
on Perlmutter) -- and often load it by default.
Leaving this issue open to remind me to write some env checks for those vars, and if they are not set, present the user with a sensible error message.
Error message:
Loaded modules: