This repository was archived by the owner on Sep 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 99# University of Stuttgart. All rights reserved.
1010# Copyright (c) 2004-2005 The Regents of the University of California.
1111# All rights reserved.
12- # Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
12+ # Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
1313# Copyright (c) 2011-2013 Inria. All rights reserved.
1414# Copyright (c) 2011-2013 Universite Bordeaux 1
1515# Copyright (c) 2013-2014 Los Alamos National Security, LLC. All rights
@@ -55,7 +55,14 @@ AM_CPPFLAGS = -DOMPI_PROFILE_LAYER=0 -DOMPI_COMPILING_FORTRAN_WRAPPERS=1
5555
5656lib_LTLIBRARIES =
5757CLEANFILES =
58- libmpi_mpifh_la_LIBADD = $(top_builddir ) /ompi/libmpi.la $(OMPI_MPIEXT_MPIFH_LIBS )
58+ # Note that we invoke some OPAL functions directly in libmpi_mpifh.la,
59+ # so we need to link in the OPAL library directly (pulling it in
60+ # indirectly via libmpi.la does not work on all platforms).
61+ libmpi_mpifh_la_LIBADD = \
62+ $(top_builddir ) /ompi/libmpi.la \
63+ $(OMPI_MPIEXT_MPIFH_LIBS ) \
64+ $(OMPI_TOP_BUILDDIR ) /opal/lib@
[email protected] 65+
5966libmpi_mpifh_la_LDFLAGS = -version-info $(libmpi_mpifh_so_version )
6067
6168# Are we building the mpif.h bindings at all?
Original file line number Diff line number Diff line change 11# -*- makefile -*-
22#
3- # Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
3+ # Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
44# Copyright (c) 2015 Research Organization for Information Science
55# and Technology (RIST). All rights reserved.
66#
@@ -48,6 +48,13 @@ nodist_libmpi_usempi_ignore_tkr_la_SOURCES += \
4848 mpi-ignore-tkr-sizeof.f90
4949endif
5050
51+ # Note that we invoke some OPAL functions directly in
52+ # libmpi_usempi_ignore_tkr.la, so we need to link in the OPAL library
53+ # directly (pulling it in indirectly via libmpi.la does not work on
54+ # all platforms).
55+ libmpi_usempi_ignore_tkr_la_LIBADD = \
56+ $(OMPI_MPIEXT_USEMPI_LIBS ) \
57+ $(OMPI_TOP_BUILDDIR ) /opal/lib@
[email protected] 5158libmpi_usempi_ignore_tkr_la_LDFLAGS = \
5259 -version-info $(libmpi_usempi_ignore_tkr_so_version ) \
5360 $(OMPI_FORTRAN_EXTRA_SHARED_LIBRARY_FLAGS )
Original file line number Diff line number Diff line change 1010# University of Stuttgart. All rights reserved.
1111# Copyright (c) 2004-2005 The Regents of the University of California.
1212# All rights reserved.
13- # Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
13+ # Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
1414# Copyright (c) 2007 Los Alamos National Security, LLC. All rights
1515# reserved.
1616# Copyright (c) 2014-2015 Research Organization for Information Science
@@ -74,8 +74,6 @@ libmpi_usempi_la_SOURCES = \
7474 mpi_waitsome_f90.f90 \
7575 mpi_wtick_f90.f90 \
7676 mpi_wtime_f90.f90
77- libmpi_usempi_la_LIBADD = \
78- $(top_builddir ) /ompi/mpi/fortran/mpif-h/libmpi_mpifh.la
7977
8078# Don't distribute mpi-tkr-sizeof-*; they're generated.
8179
@@ -86,6 +84,14 @@ nodist_libmpi_usempi_la_SOURCES += \
8684 mpi-tkr-sizeof.f90
8785endif
8886
87+ # Note that we invoke some OPAL functions directly in
88+ # libmpi_usempi.la, so we need to link in the OPAL library directly
89+ # (pulling it in indirectly via libmpi.la does not work on all
90+ # platforms).
91+ libmpi_usempi_la_LIBADD = \
92+ $(top_builddir ) /ompi/mpi/fortran/mpif-h/libmpi_mpifh.la \
93+ $(OMPI_MPIEXT_USEMPI_LIBS ) \
94+ $(OMPI_TOP_BUILDDIR ) /opal/lib@
[email protected] 8995# Set the library version
9096libmpi_usempi_la_LDFLAGS = \
9197 -version-info $(libmpi_usempi_tkr_so_version ) \
You can’t perform that action at this time.
0 commit comments