MPI on Cougar for ASCI Red


Default MPI Library

  • In C:
  • cicc -c app.c
  • cicc -o app app.o -lmpi
  • In FORTRAN:
  • cif77 -c app.f
  • cif77  -o app app.o -lmpi
  • MPICH 1.2.4 Library

  • In C:
  • cicc -c -I $TFLOPS_XDEV/tflops/cougar/include.newmpi app.c
    • on janus, the -I value changes to /cougar/include.newmpi
  • cicc -o app app.o -lmpich
  • In FORTRAN:
  • cif77 -c -I $TFLOPS_XDEV/tflops/cougar/include.newmpi app.c
    • on janus, the -I value changes to /cougar/include.newmpi
  • cif77 -o app app.o -lmpich
  • MPI Debug Library

    There is also a version of the MPI library (mpi_dbg) which will print debugging output when the approprate envronmental variables are set (see Options).

    If you have any questions, email janus-help@sandia.gov

    Updated: August 14, 2003
    For information and feedback about these pages, please contact:
    Robert K. Thomas -- rkthoma@sandia.gov



    Site Map | Disclaimer | Search | Site Index