Yale University

ITS organizational charts

Yale ITS Home Yale ITS Home

Intel Compilers

From Yale HPC Wiki

Jump to: navigation, search

If you wish to use the intel compilers, the binaries are listed below. On most clusters the binaries and libraries are included in your environment. On newer clusters the compilers are available via module.

Intel Compiler Basics

Intel compiler binaries

  • CC=icc (c compiler)
  • CXX=icpc (c++ compiler)
  • F77=ifort (fortran 77 compiler)
  • FC=ifort (fortran 90 compiler)

If you are using a "configure" build script, you might need to add these lines to your .bashrc file to build with the intel compilers instead of the standard gcc.

export CC=icc
export CXX=icpc
export F77=ifort
export FC=ifort

Generally this is all you need to do since the compiler libraries are dynamic and configured by us. If you need to specify static libraries, flags, or includes you may need to add these variables to your environment.

CFLAGS      C compiler flags
LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
            nonstandard directory <lib dir>
CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have

headers in a nonstandard directory <include dir>

CXXFLAGS    C++ compiler flags
FFLAGS      Fortran 77 compiler flags

The intel libraries and headers are in /usr/local/cluster/compilers/ appropriately.

The Intel Debugger

The intel debugger manual is availabel here from Intel's online website. It's probably best to get started Here.


Jump to top.