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

conflict    OpenMPI

if { ![is-loaded iccifort/2013_sp1.1.106] } {
    module load iccifort/2013_sp1.1.106
}

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 OMPI_CC icc
setenv OMPI_CXX icpc
setenv OMPI_FC ifort
setenv OMPI_F77 ifort


setenv	EBROOTOPENMPI		"$root"
setenv	EBVERSIONOPENMPI		"1.7.3"
setenv	EBDEVELOPENMPI		"$root/easybuild/1.7.3-iccifort-2013_sp1.1.106-easybuild-devel"


# built with EasyBuild version 1.9.0
