#%Module

proc ModulesHelp { } {
    puts stderr {   The Open MPI Project is an open source MPI-2 implementation. - Homepage: http://www.open-mpi.org/
    }
}

module-whatis {Description: The Open MPI Project is an open source MPI-2 implementation. - Homepage: http://www.open-mpi.org/}

set root    /csc/minerva/2.1/software/Compiler/GCC/4.9.1/OpenMPI/1.8.1

conflict    OpenMPI
set mproot           "MODULEPATH_ROOT"
set modulepath_root  $env($mproot)
#module use /csc/minerva/2.1/modules/all/MPI/GCC/4.9.1/OpenMPI/1.8.1
module use $modulepath_root/minerva/all/MPI/GCC/4.9.1/OpenMPI/1.8.1

prepend-path	CPATH		$root/include
prepend-path	LD_LIBRARY_PATH		$root/lib
prepend-path	LIBRARY_PATH		$root/lib
prepend-path	MANPATH		$root/share/man
prepend-path	PATH		$root/bin
prepend-path	PKG_CONFIG_PATH		$root/lib/pkgconfig

setenv	EBROOTOPENMPI		"$root"
setenv	EBVERSIONOPENMPI		"1.8.1"
setenv	EBDEVELOPENMPI		"$root/easybuild/Compiler-GCC-4.9.1-OpenMPI-1.8.1-easybuild-devel"


# Built with EasyBuild version 1.14.0
