openmpi/openmpi.module.in
Doug Ledford 179cf98481 - Make sure all created dirs are owned (bz474677)
- Fix loading of pkgconfig file (bz476844)
- Resolve file conflict between us and libotf (bz496131)
- Resolve dangling symlinks issue (bz496909)
- Resolve unexpanded %{mode} issues (bz496911)
- Restore -devel subpackage (bz499851)
- Make getting the default openmpi devel environment easier (bz504357)
- Make the -devel package pull in the base package (bz459458)
- Make it easier to use alternative compilers to build package (bz246484)
2009-07-21 15:28:00 +00:00

9 lines
285 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"