Added sit class file for Open MPI 1.5.3

Introduced auto detection of Voltair FCA (/opt/voltair/fca)
This commit is contained in:
Christoph Niethammer 2011-03-18 09:00:49 +00:00
parent 8dfce6ac92
commit 569e58443d

31
packages/mpi/openmpi-1.5.3 Executable file
View file

@ -0,0 +1,31 @@
#!/bin/sh
# Open MPI sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="1.5.3"
URL="http://www.open-mpi.org"
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
# Archive A and package name P
A=${PACKAGE}-${VERSION}.tar.bz2
P=${PACKAGE}-${VERSION}
# Other interesting configure options:
# --enable-mpi-threads
# --enable-progress-threads
# --with-fca=DIR
CONFIGURE_OPTS="
--with-devel-headers \
--enable-contrib-no-build=vt
--enable-shared \
--enable-static \
"
if [[ -d /opt/voltaire/fca ]]; then
echo "Voltair FCA found"
CONFIGURE_OPTS+=" --with-fca=/opt/voltaire/fca"
fi