From e31dd8842d27d5d83facfa91f0fb0012f87e7b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Fri, 4 Jan 2019 08:45:12 +0100 Subject: [PATCH] modified: o/OpenMPI/OpenMPI-4.0.0-GCC-6.3.0-2.27.eb --- o/OpenMPI/OpenMPI-4.0.0-GCC-6.3.0-2.27.eb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/o/OpenMPI/OpenMPI-4.0.0-GCC-6.3.0-2.27.eb b/o/OpenMPI/OpenMPI-4.0.0-GCC-6.3.0-2.27.eb index c9539939..bd5aaccd 100644 --- a/o/OpenMPI/OpenMPI-4.0.0-GCC-6.3.0-2.27.eb +++ b/o/OpenMPI/OpenMPI-4.0.0-GCC-6.3.0-2.27.eb @@ -42,6 +42,11 @@ configopts += '--enable-mpi-cxx ' # Enable building the C++ MPI bindings # needed for --with-verbs osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')] +postinstallcmds = [ + 'echo "# By default, for Open MPI 4.0 and later, infiniband ports on a device are not used by default." >> %(installdir)s/etc/openmpi-mca-params.conf', + 'echo "btl_openib_allow_ib = true" >> %(installdir)s/etc/openmpi-mca-params.conf', +] + libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"] sanity_check_paths = { 'files': [