Hi, I think that there's a typo in the fix for this bug.
--- openmpi-3.1.0/debian/rules 2018-05-28 20:46:30.000000000 +0200 +++ openmpi-3.1.0/debian/rules 2018-06-09 14:36:15.000000000 +0200 @@ -18,6 +18,7 @@ NO_VERBS_ARCH:= hurd-i386 kfreebsd-amd64 kfreebsd-i386 s390x FABRIC_ARCH:= amd64 i386 PSM_ARCH:= amd64 i386 +PSM2_ARCH:= amd64 BUILTIN_ATOMICS_ARCH:= s390x NO_CMA_ARCH:= s390x mipsel hppa alpha armhf armel m68k sparc64 NO_JAVA_ARCH:= hppa hurd-i386 ia64 riscv64 @@ -44,6 +45,9 @@ ifneq ($(filter $(PSM_ARCH),$(DEB_HOST_ARCH)),) PSM:= --with-psm endif +ifneq ($(filter $(PSM2_ARCH),$(DEB_HOST_ARCH)),) + PSM:= --with-psm2 +endif ifeq ($(filter $(NO_JAVA_ARCH),$(DEB_HOST_ARCH)),) ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),) JAVA := --with-jdk-dir=/usr/lib/jvm/default-java --enable-mpi-java @@ -88,7 +92,7 @@ --disable-silent-rules \ --disable-wrapper-runpath \ --with-package-string="Debian OpenMPI" \ - $(VERBS) $(FABRIC) $(PSM) $(CMA) $(PMIX) \ + $(VERBS) $(FABRIC) $(PSM) $(PSM2) $(CMA) $(PMIX) \ $(ENABLE_BUILTIN_ATOMICS) \ $(JAVA) \ $(STATIC_CONFIG_PARAMS) \ I think you meant + PSM2:= --with-psm2 not + PSM:= --with-psm2 since that's the variable you are using later on. Lucas