Commit 31079257 authored by Philip Carns's avatar Philip Carns

loosen PMPI symbol check

- prevents inadverdent disabling of Darshan on some MPICH builds
- fixes #94
parent 7d455c98
...@@ -261,8 +261,8 @@ print OUTPUT<<"EOF"; ...@@ -261,8 +261,8 @@ print OUTPUT<<"EOF";
# is MPI in there? # is MPI in there?
grep MPI \$tmpfile >& /dev/null grep MPI \$tmpfile >& /dev/null
rc_mpi=\$? rc_mpi=\$?
# is PMPI being used for any init, finalize, or mpi-io calls? # is PMPI being used for PMPI_File_open?
grep -E \\(PMPI_File_\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\) \$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null grep -E PMPI_File_open \$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$? rc_pmpi=\$?
rm \$tmpfile >& /dev/null rm \$tmpfile >& /dev/null
......
...@@ -263,8 +263,8 @@ print OUTPUT<<"EOF"; ...@@ -263,8 +263,8 @@ print OUTPUT<<"EOF";
grep MPI \$tmpfile >& /dev/null grep MPI \$tmpfile >& /dev/null
rc_mpi=\$? rc_mpi=\$?
# is PMPI being used for any init, finalize, or mpi-io calls? # is PMPI being used for PMPI_File_open?
grep -E \\(PMPI_File_\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\) \$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null grep -E PMPI_File_open \$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$? rc_pmpi=\$?
CXXMPICH=-lmpichcxx CXXMPICH=-lmpichcxx
......
...@@ -271,8 +271,8 @@ print OUTPUT<<"EOF"; ...@@ -271,8 +271,8 @@ print OUTPUT<<"EOF";
grep -i MPI \$tmpfile >& /dev/null grep -i MPI \$tmpfile >& /dev/null
rc_mpi=\$? rc_mpi=\$?
# is PMPI being used for any init, finalize, or mpi-io calls? # is PMPI being used for PMPI_File_open?
grep -E \\(PMPI_File_\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\) \$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null grep -E PMPI_File_open \$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$? rc_pmpi=\$?
......
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