From bbed1d4a5f8a4f9c9d0a889657f3b6a174b86fcf Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Tue, 12 Jan 2016 09:33:51 +0900 Subject: [PATCH 1/6] configury: append LIBS to OMPI_WRAPPER_EXTRA_LIBS This is required so NAG compiler can build static OpenMPI Thanks Paul Hargrove for the report. --- config/opal_setup_wrappers.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/opal_setup_wrappers.m4 b/config/opal_setup_wrappers.m4 index 4fe3f18b15..7e6aec135c 100644 --- a/config/opal_setup_wrappers.m4 +++ b/config/opal_setup_wrappers.m4 @@ -12,7 +12,7 @@ dnl Copyright (c) 2004-2005 The Regents of the University of California. dnl All rights reserved. dnl Copyright (c) 2006-2010 Oracle and/or its affiliates. All rights reserved. dnl Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved. -dnl Copyright (c) 2015 Research Organization for Information Science +dnl Copyright (c) 2015-2016 Research Organization for Information Science dnl and Technology (RIST). All rights reserved. dnl $COPYRIGHT$ dnl @@ -420,6 +420,7 @@ AC_DEFUN([OPAL_SETUP_WRAPPER_FINAL],[ OMPI_WRAPPER_EXTRA_LIBS="$ompi_mca_wrapper_extra_libs" OPAL_FLAGS_APPEND_UNIQ([OMPI_WRAPPER_EXTRA_LIBS], [$wrapper_extra_libs]) OMPI_WRAPPER_EXTRA_LIBS="$OMPI_WRAPPER_EXTRA_LIBS $with_wrapper_libs" + OPAL_FLAGS_APPEND_UNIQ([OMPI_WRAPPER_EXTRA_LIBS], [$LIBS]) AC_SUBST([OMPI_WRAPPER_EXTRA_LIBS]) AC_MSG_RESULT([$OMPI_WRAPPER_EXTRA_LIBS]) From 544a2f1631a03081d56ebedd7a72be37d461bcbf Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Mon, 6 Jun 2016 11:54:12 +0900 Subject: [PATCH 2/6] configury: fix mpifort and oshmemfort wrapper data NAG compiler use gcc (and not ld) as a linker, so in order to pass an option to the linker, the flag is -Wl,-Wl,,