ABOUT NICS

Compiling

Compiling

Beacon has C/C++ and Fortran compilers from GNU, Intel, and CAPS. However, only the Intel compilers can take full advantage of the Intel Xeon Phi coprocessors, unless you are using OpenACC and having the CAPS compiler convert it to OpenCL code. Additionally, only the Intel MPI library fully supports the Intel Xeon Phi coprocessors. As such, the module for the Intel programming is loaded by default.

One should note that spurious warnings will be given by the Intel 2015.0.024 compiler in offload mode, as it will try the mic libraries first before compiling correctly with the intel64 libraries. Also, since module files have been consolidated, you may see spurious warnings if any compiler tries the mic or intel64 libraries first before finding the correct ones for your chosen mode. Here is an example, so you know to ignore this:

x86_64-k1om-linux-ld: warning: libimf.so, needed by /global/opt/intel/composer_xe_2015.0.024/compiler/lib/mic/liboffload.so.5, not found (try using -rpath or -rpath-link)

x86_64-k1om-linux-ld: warning: libsvml.so, needed by /global/opt/intel/composer_xe_2015.0.024/compiler/lib/mic/liboffload.so.5, not found (try using -rpath or -rpath-link)

x86_64-k1om-linux-ld: warning: libirng.so, needed by /global/opt/intel/composer_xe_2015.0.024/compiler/lib/mic/liboffload.so.5, not found (try using -rpath or -rpath-link)

x86_64-k1om-linux-ld: warning: libintlc.so.5, needed by /global/opt/intel/composer_xe_2015.0.024/compiler/lib/mic/liboffload.so.5, not found (try using -rpath or -rpath-link)