T3 NUO Part 2.5, Compilers on Talon3

  • The GNU Compiler Collection, GCC
    • C: gcc
    • C++: g++
    • Fortran: gfortran
    • Modules:
      • gcc/6.30
  • INTEL
    • C: icc
    • C++: ipc
    • Fortran: ifort
    • Modules:
      • intel/PS2017-17.0.4-compute
        • Parallel Studio2017 FOR ‘new’ compute nodes only
      • intel/PS2017-17.0.4-legacy
        • Parallel Studio2017 FOR ALL compute and legacy nodes
  • Portland Group (PGI)
    • C: pgcc
    • C++: gpCC
    • Fortran: pgf77, pgfortran
  • Compiling with GCC compilers
  • Make sure module is loaded
    • module load gcc/6.3.0 (for GCC)
    • module load intel/PS2017-17.0.4-legacy (for INTEL)
  • Compiling C++ code named ‘foo.c’ into a executable ‘foo.x’
  • GCC
    • c++ foo.c -o foo.x
  • INTEL
    • icc foo.c -o foo.x
  • Compiling Fortran code
  • GCC
    • gfortran foo.f90 -o foo.x
  • INTEL
    • ifort foo.f90 -o foo.x