NERSCPowering Scientific Discovery Since 1974

Intel (Fortran, C, and C++)

Description

The Intel® compiler suite offers C, C++ and Fortran compilers with optimization features and multithreading capabilities, highly optimized performance libraries, and error-checking, security, and profiling tools.

Availability

The Intel compiler suite is available only on Carver and Hopper.

Using the Intel Compilers on Carver

To use the Intel compilers you must swap both the compiler and the OpenMPI modulefiles.  Do this in the following way:

% module unload pgi openmpi
% module load intel openmpi-intel mkl

After doing this use the OpenMPI wrappers mpif90, mpicc, or mpiCC.

Using the Intel Compilers on Hopper

To use the Intel compilers you must swap the PrgEnv-xxx modulefile:

% module swap PrgEnv-pgi PrgEnv-intel

After doing this use the Cray compiler wrappers ftn, cc, or CC.  More information can be found in Intel Compilers on Hopper.

Documentation

For questions about using the Intel compilers at NERSC contact the consultants at consult@nersc.gov.

On Carver you can find some documentation in the $PATH/Documentation/en_US/ directory, where $PATH is defined when you load the Intel modulefile.  Man pages are available via man ifort (for Fortran) or man icc (for C/C++).  There are User Guides, language Reference Manuals, and Quick-Reference Guides to Optimization available on the Intel web site.