CRAY XC40 supports three programming environment modules, namely, “PrgEnv-cray”, “PrgEnv-intel” and “PrgEnv-gnu”. The use of these modules, together with compiler wrapper scripts, means that makefiles do not need to be changed whenever there is a change in programming environment. By default, cray compilers is loaded.
Compiler flags to compile applications for KNLUsers can choose any compiler preferably intel.Flags for three different
Compiler Wrapper ScriptsCode compiled on CRAY XC40 should use the compiler wrapper scripts to ensure that all the correct libraries and header files are included in both the compile and link stages. The compiler wrapper scripts are available for Fortran, C, and C++:
Documentation: |