openmpi/openmpi.module.in

9 lines
281 B
Plaintext
Raw Normal View History

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