Commit aa40883e authored by Philip Carns's avatar Philip Carns

update gen-cxx script to accomodate bg/q library names


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@598 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 3032aff0
......@@ -263,13 +263,16 @@ print OUTPUT<<"EOF";
grep -E \\(PMPI_File_\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\) \$tmpfile | grep -v -E \\(mpich.cnk.a\\|mpich.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$?
# normal or cnk libraries?
grep -E mpich\\.cnk \$tmpfile >& /dev/null
rc_cnk_check=\$?
if [ \$rc_cnk_check -eq 0 ] ; then
CXXMPICH=-lmpichcxx
# check for unusual cxx library name
grep -E cxxmpich\\.a \$tmpfile >& /dev/null
if [ \$? -eq 0 ] ; then
CXXMPICH=-lcxxmpich
fi
grep -E cxxmpich\\.cnk.a \$tmpfile >& /dev/null
if [ \$? -eq 0 ] ; then
CXXMPICH=-lcxxmpich.cnk
else
CXXMPICH=-lmpichcxx
fi
rm \$tmpfile >& /dev/null
......
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