next up previous contents
Next: Math. Libraries Up: Software Previous: The X Window System   Contents

Compilers

On most of Linux workstations, the default C/C++ compiler is gcc 2.95.4 or later, installed as cc and gcc for C compiler and g++ for C++ compiler. For sure, use .c extension for C language and use .C or .cc extension for C++ language. On alpha, the Compaq C/C++ compiler is installed as ccc and cxx. On ebony, gcc 3.2.2 or higher is installed. On the SGIs, gcc is version 2.7.2.3 or later; cc is the MIPS C compiler. For Intel/(AMD) base machines, user can experience with new Intel C/Fortran compiler, icc and ifc.

A variety of Fortran compilers are also installed on the system. By default, f77 is a link to g77, the GNU Fortran compiler, currently version 0.5.21 or better. The Compaq Fortran compiler is installed on alpha as fort; this compiler is a full Fortran 95 implementation. The SGIs also have the MIPSPro f77 and f90 compilers installed in /usr/bin.

For the Compaq compiler, use following option to get a good performances.

fort -lcxml -lcpml -lm -fast filename
ccc -lcxml -lcpml -lm -fast filename
cxx -lcxml -lcpml -lm -fast filename

We currently have one commercial Fortran compiler installed on the SGI and Intel Linux workstations and one commercial C/C++ compiler on the Intel Linux workstation.

The Portland Group Fortran/C/C++ compiler is installed in /ima/opt/pgi/bin. PHF compiler is pghpf, Fortran 77 is pgf77, Fortran 90 is pgf90, C is pgcc, and C++ is pgCC. We will have PGI 64-bit compilers on our new 4 CPU AMD Opteron Computational Server. You need following setup to use PGI compiler.

setenv PGI /ima/opt/pgi
setenv LM_LICENSE_FILE /ima/opt/pgi/license.dat
set path = ($path /ima/opt/pgi/bin/)
setenv MANPATH /ima/opt/pgi/MANPATH

For ebony and titanium, you need different setup.

setenv PGI /usr/local/pgi
setenv LM_LICENSE_FILE /usr/local/pgi/license.dat
set path = ($path /usr/local/pgi/bin/)
setenv MANPATH /usr/local/pgi/MANPATH

Intel compiler is installed in /ima/opt/intel/ and /usr/local/intel/ for ebony. To use Intel compiler,

set path = ($path /ima/opt/intel/compiler70/ia32/bin/)
setenv MANPATH $MANPATH:/ima/opt/intel/compiler70/man

For ebony,

set path = ($path /usr/local/intel/compiler70/ia32/bin/)
setenv MANPATH $MANPATH:/usr/local/intel/compiler70/man

Compilers and interpreters for other languages are also available.


next up previous contents
Next: Math. Libraries Up: Software Previous: The X Window System   Contents
Kumsup Lee 2005-07-08