Compiling

  • GNU compilers

    The GNU compilers are the free compilers from the GNU project. These compilers are available on most systems, and are the ones you are probably most familiar with if you develop on Linux. The GNU Compiler Collection includes compilers for C (gcc), C++ (g++), Fortran 77 (g77), as well as others.

    Full documetation for the GNU Compiler Collection is available online. The version on the Hive cluster as of this writing is 3.2.3. The command gcc -v will tell you the current version:

    [xhe@brood00 ~]$ gcc -v
    Using built-in specs.
    Target: i386-redhat-linux
    Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared 
    --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
    --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
    --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
    Thread model: posix
    gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
    [xhe@brood00 ~]$ 
    		      
  • NAG Fortran 95

    We also have the Fortran 95 compiler from the Numerical Algorithms Group (NAG). This is a much better fortran compiler than the one that comes with the GNU Compiler Collection. Documentation is available online. The NAG compiler can be invoked from the command line as f95.

    The compiler is installed at /opt/NAGWare_f95, please make sure to added /opt/NAGWare_f95/bin to your path if you would like to use NAG Fortran compiler.

  • PGI compiler

    The Portland Group compiler is installed at /opt/pgi directory.
  • Intel compiler

    It is installed at /opt/intel
Previous
Next

 

home | projects | facilities | reference | contact us
© Copyright 2005, Institute for Advanced Computer Study, University of Maryland, All rights reserved.