GNU Compilers

The GNU Compilers may be used as an alternative to the Intel compilers

gcc (version 3.3.3)  —  c/c++

A short help text can be displayed by typing: gcc --help

More extensive documentation is in the online manual. Type: man gcc
Type q to exit the man command.

Documentation can also be found at http://gcc.gnu.org/onlinedocs/

g77

A short help text can be displayed by typing: g77 --help

More Extensive documentation is in the online manual. Type: man g77
Type q to exit the man command.

Documentation can also be found at http://gcc.gnu.org/onlinedocs/

Compiling with the MPI libraries

OpenMPI will be the MPI of choice for most applications. Use mpigcc for c and c++ programs and mpigf90 for fortran 77 and 90 programs.

If you need the Intel MPI instead, then first use the module avail command to see what modules are available. If mpi/intel/3.0 were available, for example, you could use it by giving the module load mpi/intel/3.0 command at the beginning of your session.

859-218-HELP (859-218-4357) 218help@uky.edu