Commit c54a8a42 authored by Shane Snyder's avatar Shane Snyder

Merge branch 'dev-relax-dyn-cc-wrappers' into 'master'

relax dynamic linker check in compiler wrappers

See merge request !51
parents 2e7a7a00 1f6086e1
......@@ -265,7 +265,8 @@ print OUTPUT<<"EOF";
rc_mpi=\$?
# did the link options produce a dynamic executable?
ldd \$binfile >& /dev/null
# we look for dynamic MPI_Init symbol to confirm
nm --dynamic \$binfile | grep MPI_Init >& /dev/null
rc_dyn=\$?
rm \$tmpfile >& /dev/null
......
......@@ -266,7 +266,8 @@ print OUTPUT<<"EOF";
rc_mpi=\$?
# did the link options produce a dynamic executable?
ldd \$binfile >& /dev/null
# we look for dynamic MPI::Init symbol to confirm, but we have to be wary of mangling...
nm --demangle --dynamic \$binfile | grep "MPI::Init" >& /dev/null
rc_dyn=\$?
CXXMPICH=-lmpichcxx
......
......@@ -274,7 +274,8 @@ print OUTPUT<<"EOF";
rc_mpi=\$?
# did the link options produce a dynamic executable?
ldd \$binfile >& /dev/null
# we look for dynamic MPI_Init symbol to confirm, but we have to be wary of mangling...
nm --dynamic \$binfile | grep mpi_init >& /dev/null
rc_dyn=\$?
# find appropriate fortran library name for profiling
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment