Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jakob Luettgau
darshan
Commits
31079257
Commit
31079257
authored
Dec 18, 2015
by
Philip Carns
Browse files
loosen PMPI symbol check
- prevents inadverdent disabling of Darshan on some MPICH builds - fixes
#94
parent
7d455c98
Changes
3
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/darshan-gen-cc.pl.in
View file @
31079257
...
...
@@ -261,8 +261,8 @@ print OUTPUT<<"EOF";
# is MPI in there?
grep MPI \$tmpfile >& /dev/null
rc_mpi=\$?
# is PMPI being used for
any init, finalize, or mpi-io calls
?
grep -E
\\(
PMPI_File_
\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\)
\$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
# is PMPI being used for
PMPI_File_open
?
grep -E PMPI_File_
open
\$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$?
rm \$tmpfile >& /dev/null
...
...
darshan-runtime/darshan-gen-cxx.pl.in
View file @
31079257
...
...
@@ -263,8 +263,8 @@ print OUTPUT<<"EOF";
grep MPI \$tmpfile >& /dev/null
rc_mpi=\$?
# is PMPI being used for
any init, finalize, or mpi-io calls
?
grep -E
\\(
PMPI_File_
\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\)
\$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
# is PMPI being used for
PMPI_File_open
?
grep -E PMPI_File_
open
\$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$?
CXXMPICH=-lmpichcxx
...
...
darshan-runtime/darshan-gen-fortran.pl.in
View file @
31079257
...
...
@@ -271,8 +271,8 @@ print OUTPUT<<"EOF";
grep -i MPI \$tmpfile >& /dev/null
rc_mpi=\$?
# is PMPI being used for
any init, finalize, or mpi-io calls
?
grep -E
\\(
PMPI_File_
\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\)
\$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
# is PMPI being used for
PMPI_File_open
?
grep -E PMPI_File_
open
\$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment