openmpi/openmpi.module.in

12 lines
404 B
Plaintext

#%Module 1.0
#
# OpenMPI module for use with 'environment-modules' package:
#
prepend-path PATH @LIBDIR@/@MPIDIR@/bin
prepend-path LD_LIBRARY_PATH @LIBDIR@/@MPIDIR@/lib
setenv CFLAGS "-I@LIBDIR@/@MPIDIR@/include @MODEFLAG@"
setenv LDFLAGS "-L@LIBDIR@/@MPIDIR@/lib -lmpi"
setenv MPI_BIN @LIBDIR@/@MPIDIR@/bin
setenv MPI_LIB @LIBDIR@/@MPIDIR@/lib
setenv MPI_HOME @LIBDIR@/@MPIDIR@