Commit fa863d34 authored by Philip Carns's avatar Philip Carns

support libmpifort in place of libfmpich

parent f3954869
......@@ -25,6 +25,8 @@ darshan-2.3.1-pre2
- label I/O vs. meta time more clearly
- include unique file meta time in agg_perf_by_slowest calculation
* added regression test script framework in darshan-test/regression/
* update darshan-gen-fortran.pl to support new Fortran library name in
MPICH 3.1.1
darshan-2.3.0
=============
......
......@@ -275,13 +275,20 @@ print OUTPUT<<"EOF";
grep -E \\(PMPI_File_\\)\\|\\(PMPI_Init\\)\\|\\(PMPI_Finalize\\) \$tmpfile | grep -v -E \\(mpich.*\\.a\\) |grep \\(PMPI >& /dev/null
rc_pmpi=\$?
# normal or cnk libraries?
grep -E mpich\\.cnk \$tmpfile >& /dev/null
# find appropriate fortran library name for profiling
grep -E libmpifort \$tmpfile >& /dev/null
rc_cnk_check=\$?
if [ \$rc_cnk_check -eq 0 ] ; then
FMPICH=-lfmpich.cnk
FMPICH=-lmpifort
else
FMPICH=-lfmpich
grep -E mpich\\.cnk \$tmpfile >& /dev/null
rc_cnk_check=\$?
if [ \$rc_cnk_check -eq 0 ] ; then
FMPICH=-lfmpich.cnk
else
FMPICH=-lfmpich
fi
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