openmpi/openmpi.module.in

10 lines
384 B
Plaintext
Raw Normal View History

#%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