Title: Compilers
1- Compilers
- Fortran pgf90, pgf77, pghpf
- (mpif77, mpif90 for MPI)
- C pgcc, gcc
- (mpicc for MPI)
- C pgCC
- (mpiCC for MPI)
- Debuggers
- pgdbg (with gui interface)
2Few useful compilation options -Mfree for
free-form source (.f90 is free-form by
default) -module path to add search path
for modules -DVAR for preprocessor
definition of VAR (with .F(90) extension) -mp
to invoke multithreaded option with/out SMP
directives -fastsse (recommended base
level optimization) -r8 (for 8-byte
real) -Mextend (for 132 column
source) -Minlinelib/name (to inline
object from lib or as named object)
-contd
3-Msave (for saving automatic
objects) -Mbyteswapio (for
little/bigendian swapping, default little, may
be used to read unformatted data
generated in AIX) -Ktrap fp Flags inexact,
overflow, and divide-by-zero exceptions and stops
For cross language calls ref val works. Man
pages (should be available in default user
environment) /opt/pgi/linux86-64/5.1/man
/opt/mpich-gm/man (section-3 contains man pages
to all mpich calls (bit C-centric!) Stack size
problems - size can be increased with limit or
ulimit
4- Libraries
- mpich 1.2.6 over GM/myrinet
- Include dir /opt/mpich-gm/include/mpi.h
- lib dir /opt/mpich-gm/lib,
/opt/gm/lib - 2. netcdf 3.5.1
- Include dir /usr/local/include
- lib dir /usr/local/lib
- 3. ACML (optimized math library on Opteron)
- 4. Spherepack, FFTPACK etc.
5Documentation Userdoc http//www.scd.ucar.edu/doc
s/lightning Examples directory /usr/local/example
s LSF docs Lightning /ptmpf/LSF/6.0/docs/manuals
/ PGI docs http//www.pgroup.com/resources/docs.h
tm /opt/pgi/linux86-64/5.1/doc/