15b1

mpi/mpich2/1.5b1-open64-5.0 modulefile

#%Module1.0#####################################################################
##
## modules mpi/mpich2/1.5b1-open64-5.0
##
## modulefiles/mpi/mpich2/1.5b1-open64-5.0  Written by Jeff Layton
##
proc ModulesHelp { } {
   global version modroot

   puts stderr “”
   puts stderr “The mpi/mpich2/1.5b1-open64-5.0 module enables the MPICH2 MPI”
   puts stderr “library and tools for version 1.5b1 built with the Open64 5.0”
   puts stderr “compiler suite. It updates the \$PATH, \$LD_LIBRARY_PATH, and”
   puts stderr “\$MANPATH environment variables to access the scripts for”
   puts stderr “building MPI applications using MPICH2, libraries, and available”
   puts stderr “man pages, respectively.”
   puts stderr “”
   puts stderr “This was built using the Open64 compilers, version 5.0.”
   puts stderr “”
   puts stderr “The following additional environment variables are also defined:”
   puts stderr “”
   puts stderr “\$MPICC\t\t(path to mpicc compiler wrapper  )”
   puts stderr “\$MPICXX\t\t(path to mpicxx compiler wrapper )”
   puts stderr “\$MPIF77\t\t(path to mpif77 compiler wrapper )”
   puts stderr “\$MPIF90\t\t(path to mpif90 compiler wrapper )”
   puts stderr “\$CC\t\t(uses mpicc for compiling C      )”
   puts stderr “\$CXX\t\t(uses mpicc for compiling C++    )”
   puts stderr “\$FC\t\t(uses mpif90 for compiling F90   )”
   puts stderr “\$F90\t\t(uses mpif90 for compiling F90   )”
   puts stderr “\$F77\t\t(uses mpif90 for compiling F77   )”
   puts stderr “ “
   puts stderr “See the man pages for mpicc, mpicxx, mpif77, and mpif90. For “
   puts stderr “more detailed information on available compiler options and “
   puts stderr “command-line syntax. Also see the man pages for mpirun or”
   puts stderr “mpiexec on executing MPI applications.”
}

module-whatis “Name: MPICH2 Environment”
module-whatis “Version: 1.5b1 Built with Open64 5.0 compilers”
module-whatis “Category: mpi/mpich2”
module-whatis “Description: MPICH2 library and tools for MPI applications”
module-whatis “URL: http://www.mcs.anl.gov/research/projects/mpich2/”
module-whatis “URL: http://www.open64.net/”

# for Tcl script use only
set     topdir          /opt/mpich2-1.5b1-open64-5.0
set     version         1.5b1
set     sys             linux86

prepend-path    PATH            $topdir/sbin
prepend-path    PATH            $topdir/bin
prepend-path    PATH            $topdir/include
prepend-path    MANPATH         $topdir/share/man
prepend-path    LD_LIBRARY_PATH $topdir/lib

setenv          MPICC           $topdir/sbin/mpicc
setenv          MPICXX          $topdir/sbin/mpicxx
setenv          CC              $topdir/sbin/mpicc
setenv          CXX             $topdir/sbin/mpicxx
setenv          FC              $topdir/sbin/mpif90
setenv          F77             $topdir/sbin/mpic77
setenv          F90             $topdir/sbin/mpif90
setenv          MPIF77          $topdir/sbin/mpic77
setenv          MPIF90          $topdir/sbin/mpif90