#%Module

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

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

set root    /cluster/software/OpenMPI/1.7.3-GCC-4.7.3

conflict    OpenMPI

if { ![is-loaded GCC/4.7.3] } {
    module load GCC/4.7.3
}

if { ![is-loaded hwloc/1.7.2-GCC-4.7.3] } {
    module load hwloc/1.7.2-GCC-4.7.3
}

prepend-path	CPATH		$root/include
prepend-path	LD_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.7.3"
setenv	EBDEVELOPENMPI		"$root/easybuild/OpenMPI-1.7.3-GCC-4.7.3-easybuild-devel"


# built with EasyBuild version 1.9.0
