2006-02-17 23:09:07 +00:00
|
|
|
#%Module 1.0
|
|
|
|
#
|
|
|
|
# OpenMPI module for use with 'environment-modules' package:
|
|
|
|
#
|
2009-04-22 15:04:12 +00:00
|
|
|
prepend-path PATH @LIBDIR@/@MPIDIR@/bin
|
|
|
|
prepend-path LD_LIBRARY_PATH @LIBDIR@/@MPIDIR@/lib
|
2009-07-21 15:28:00 +00:00
|
|
|
setenv CFLAGS "-I@LIBDIR@/@MPIDIR@/include @MODEFLAG@"
|
|
|
|
setenv LDFLAGS "-L@LIBDIR@/@MPIDIR@/lib -lmpi"
|