Skip title Accessibility statement: we seek to make the HPC web pages accessible to all users. If you encounter accessibility issues with HPC web pages please send a description of the problem by email to eric_sills@ncsu.edu - thank you.

High Performance and Grid Computing
   
Skip menu side bar
Home
About

OpNews

Help/Accounts

Staff

Partners

User Projects


Services

Hardware

Software

Grid

Monitor


HowTo/FAQ

Docs & Pubs

Courses

Other Resources

GNU Compilers
    The gnu compilers are available in the default path and are invoked with the cc and f77 commands for the C/C++ and Fortran77 compilers respectively.

    Parallel programmers are strongly encouraged to use the Intel or Portland Group compilers to generate more efficient code.
    To compile a MPI parallel program with GNU compilers use the command 'add gnu' to set up the environment to access the correct MPICH directories. This will permit mpicc,mpicxx, and mpif77 to be used to compile C,C++, and Fortran 77 MPI programs respectively. These commands will use the GNU compilers and MPICH libraries built with GNU compilers. To compile a 64 bit gnu code to link with the mpich libraries, log into login64.hpc.ncsu.edu or login03.hpc.ncsu.edu and use "add gnu_64" instead of "add gnu".

    Parallel program performance will likely be improved by using Intel compiler or Portland Group compiler.


Copyright © 2003-2007 by NC State University and others, All Rights Reserved.
HPC & Grid (Version 1.4 / Site access count: 754071) - Site/Content Notice

Site contact: Eric Sills, E-mail: eric_sills at ncsu dot edu , Tel: 919-513-0324, Fax: 919-513-1893, HPC and Grid Operations, Information Technology Division, Box 7109, North Carolina State University, Raleigh, NC27695-7914, USA