openmpi/openmpi.module.in
Doug Ledford 4739e23be4 - Update to latest upstream version
- Fix file ownership on -libs package
- Take a swing at solving the multi-install compatibility issues
2007-06-28 22:06:10 +00:00

10 lines
384 B
Plaintext

#%Module 1.0
#
# OpenMPI module for use with 'environment-modules' package:
#
prepend-path MANPATH @DATADIR@/@MPIDIR@/man
prepend-path PATH @DATADIR@/@MPIDIR@/bin@MODE@
prepend-path LD_LIBRARY_PATH @LIBDIR@/@MPIDIR@
setenv CFLAGS -I@INCLUDEDIR@/@MPIDIR@ -I@INCLUDEDIR@/@MPIDIR@/@NAME@ -I@INCLUDEDIR@/@MPIDIR@/@MODE@ @MODEFLAG@
setenv LDFLAGS -L@LIBDIR@/@MPIDIR@ -lmpi