eth-cscs/production

CrayIntel

Closed this issue · 0 comments

I'll put this issue here as a reminder.

Intel compiler needs a reasonably fresh version of GCC, otherwise it won't compile pretty simple C/C++ code. However, when the PrgEnv-intel is loaded, it doesn't load the "good" GCC version and pretends that it works with the default gcc/4.8 on the system. This results in ugly hacks in the EB scripts, something like this:

preconfigopts = ' module unload cray-libsci && module load gcc/5.3.0 && module list &&'
prebuildopts = ' module unload cray-libsci && module load gcc/5.3.0 && '

I think this can be improved by putting a dependency on a new GCC in the CrayIntel module.