Compiler How-To
Compilers HOWTO
This section lists the available compilers on each platform on the Grid, and describes how to use them.
Introduction
Loadable modules are available for all of the compilers listed below. Using the available compiler modules will make it much easier to switch between different versions of compilers. Please read the Modules HOWTO for more information on using modules to manage compilers. If you do not wish to use modules, then add to your environment variables as described below to use the various compilers, libraries or man pages.
Neuronic
Here is a list of known working compilers on Neuronic. For more information on compilers on Neuronic, see HelpOnNeuronic.
Absoft
Version 9.0r2 (F77/F90/F95)
PATH /usr/local/packages/absoft-x86-f90/bin LD_LIBRARY_PATH /usr/local/packages/absoft-x86-f90/lib MANPATH /usr/local/packages/absoft-x86-f90/man
The Absoft fortran executables are f77, f90 and f95.
If the compilation does not execute, the Absoft license daemon may need to be started. Any user can start it by running:
/usr/local/packages/absoft-x86-f90/bin/absoftlmd
Gnu
Version 3.2.3 (C/C++/F77)
This is the default version on Neuronic. The compilers are located in /usr/bin, which is in the default path. The compilers are gcc, g++ and g77.
Version 3.3.2 (C/C++/F77)
PATH /usr/local/packages/gcc/gcc-3.3.2/bin LD_LIBRARY_PATH /usr/local/packages/gcc/gcc-3.3.2/lib MANPATH /usr/local/packages/gcc/gcc-3.3.2/man
The compilers are gcc, g++ and g77.
Version 4.0.0 (C/C++/F77/F90)
PATH /usr/local/packages/gcc/gcc-4.0.0/bin LD_LIBRARY_PATH /usr/local/packages/gcc/gcc-4.0.0/lib MANPATH /usr/local/packages/gcc/gcc-4.0.0/man
The compilers are gcc, g++ and gfortran (F77/F90).
Intel
Version 8.1 (C/C++/F77/F90/F95)
INTEL_LICENSE_FILE /opt/intel_cc_80/licenses:/opt/intel_fc_80/licenses:/opt/intel/licenses PATH /opt/intel_cc_80/bin:/opt/intel_fc_80/bin LD_LIBRARY_PATH /opt/intel_cc_80/lib:/opt/intel_fc_80/lib MANPATH /opt/intel_cc_80/man:/opt/intel_fc_80/man
The compilers are icc, icpc (C++) and ifort (F77/F90/F95).
Portland Group
Version 6.0.2 (C/C++/F77/F90/F95)
LM_LICENSE_FILE /usr/local/packages/pgi/pgi-6.0.2/license.dat PATH /usr/local/packages/pgi/pgi-6.0.2/linux86/6.0/bin LD_LIBRARY_PATH /usr/local/packages/pgi/pgi-6.0.2/linux86/6.0/lib MANPATH /usr/local/packages/pgi/pgi-6.0.2/linux86/6.0/man
The compilers are pgcc, pgCC (C++), pgf77, pgf90, and pgf95.
Version 6.1.1 (C/C++/F77/F90/F95)
LM_LICENSE_FILE /usr/local/packages/pgi/pgi-6.1.1/license.dat PATH /usr/local/packages/pgi/pgi-6.1.1/linux86/6.1/bin LD_LIBRARY_PATH /usr/local/packages/pgi/pgi-6.1.1/linux86/6.1/lib MANPATH /usr/local/packages/pgi/pgi-6.1.1/linux86/6.1/man
The compilers are pgcc, pgCC (C++), pgf77, pgf90, and pgf95.
Optix
Here is a list of known working compilers on Optix. For more information on compilers on Optix, see HelpOnOptix.
Gnu
Version 3.2.3
This is the default version on Optix. The compilers are located in /usr/bin, which is in the default path. The compilers are gcc, g++ and g77.
Intel
Version 8.1 (C/C++/F77/F90/F95)
INTEL_LICENSE_FILE /opt/intel_cc_80/licenses:/opt/intel_fc_80/licenses:/opt/intel/licenses PATH /opt/intel_cc_80/bin:/opt/intel_fc_80/bin LD_LIBRARY_PATH /opt/intel_cc_80/lib:/opt/intel_fc_80/lib MANPATH /opt/intel_cc_80/man:/opt/intel_fc_80/man
The compilers are icc, icpc (C++) and ifort (F77/F90/F95).
Version 9.0 (C/C++/F77/F90/F95)
INTEL_LICENSE_FILE /opt/intel/cc/9.0/licenses:/opt/intel/fc/9.0/licenses:/opt/intel/licenses PATH /opt/intel/cc/9.0/bin:/opt/intel/fc/9.0/bin LD_LIBRARY_PATH /opt/intel/cc/9.0/lib:/opt/intel/fc/9.0/lib MANPATH /opt/intel/cc/9.0/man:/opt/intel/fc/9.0/man
The compilers are icc, icpc (C++) and ifort (F77/F90/F95).
p690, p655-(1,2,3)
Here is a list of known working compilers on p690 and p655-(1,2,3). For more information on compilers on these machines, see HelpOnP690.
Gnu
Version 3.4.4 (C/C++/F77)
This is the default version on the IBMs. The compilers are located in /usr/bin, which is in the default path. The compilers are gcc, g++ and g77.
IBM/Absoft
PATH /opt/ibmcmp/vac/7.0/bin:/opt/ibmcmp/vacpp/7.0/bin:/opt/ibmcmp/xlf/9.1/bin MANPATH /opt/ibmcmp/vacpp/7.0/man/en_US:/opt/ibmcmp/xlf/9.1/man/en_US
The compilers are xlc, xlc++ and xlf (F77/F90/F95).
p655-4
For more information on compilers on p655-4, see HelpOnP655-4.