[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b4-9-gfcbe6bd
Service Account
noreply at mpich.org
Tue Jul 28 09:27:26 CDT 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via fcbe6bd1e7795b2f213db7959d20e882abecd075 (commit)
from 7d0d237967b9232cf8c2ad30a26d3efd2224e957 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/fcbe6bd1e7795b2f213db7959d20e882abecd075
commit fcbe6bd1e7795b2f213db7959d20e882abecd075
Author: Min Si <msi at il.is.s.u-tokyo.ac.jp>
Date: Mon Jul 27 14:50:51 2015 -0500
Added comment to explain why -flat-namespace is necessary.
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/configure.ac b/configure.ac
index c0370a2..0ac2285 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6005,6 +6005,12 @@ if test "X$enable_shared" = "Xyes" ; then
# added in linking stage for both the shared library and the final
# executable file.
+ # In Fortran programs, we implement global definitions such as MPI_BOTTOM
+ # as common symbols. We check the address of the user input and translate it
+ # to the C global definition if it is equal to the internal pre-stored address
+ # in the Fortran binding layer. Without -flat-namespace, we may get different
+ # addresses and thus treat the predefined constant as a normal buffer.
+
# Although gfortran works fine by only adding -flat-namespace, and
# ifort works by only adding -Wl,-commons,use_dylibs, we should add
# both options here as a generic solution to make sure everything safe.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list