C/C++ and Fortran compilers at NSC

The following C/C++ and Fortran compilers are available on most of our clusters:

  • Intel's compilers (the Composer XE products)
  • GNU Compiler Collection (GCC)
  • Clang (only C/C++)

In the pages below, we give some NSC specific instructions and general observations, which are not available in the documentation for the respective compiler, but we emphasize that the man pages and online documentation for each compiler is the best place to find information about that specific compiler, for example, to find out which compiler flags that are available and what they do.

We generally recommend using Intel's compilers if possible, as they usually produce faster binaries than GCC on Intel processors. To find out which modules that NSC is currently recommending for compilers, BLAS/LAPACK and MPI libraries, do:

module load buildenv-intel/recommendation

Currently, that command will tell you to load:

module load buildenv-intel/2015-1

Which corresponds to the following modules:

  • intel/ (Intel Composer XE 2015 Update 1 Build 133)
  • impi/ (Intel MPI 5.0.2 Update 44)
  • mkl/11.2.1 (Intel MKL 11.2 Update 1)

For particular information about compiling MPI applications, please see the MPI page.

  • Intel

    Highly optimizing C/C++ and Fortran compilers from Intel's Composer XE product suite.

  • GCC

    GNU compiler collection -- the standard compiler for Linux.

  • Clang

    An emerging C/C++ compiler front-end for LLVM.

User Area

User support

Guides, documentation and FAQ.

Getting access

Applying for projects and login accounts.
System status
2015-07-29 OK. All systems are OK!


NSC Express