Commit 9b2600e6 authored by Shane Snyder's avatar Shane Snyder

bug fix in fortran compiler generator

parent 5e1a0963
...@@ -287,10 +287,10 @@ print OUTPUT<<"EOF"; ...@@ -287,10 +287,10 @@ print OUTPUT<<"EOF";
if [ \$rc_cnk_check -eq 0 ] ; then if [ \$rc_cnk_check -eq 0 ] ; then
FMPICH=-lfmpich.cnk FMPICH=-lfmpich.cnk
else else
bgqlib_out=`grep -Po "libmpichf\\S\+\-\\S\+" \$tmpfile 2>/dev/null` bgqlib_out=`grep -m 1 -Po "libmpichf\\S\+\-\\S\+" \$tmpfile 2>/dev/null`
rc_bgqlib_check=\$? rc_bgqlib_check=\$?
if [ \$rc_bgqlib_check -eq 0 ] ; then if [ \$rc_bgqlib_check -eq 0 ] ; then
FMPICH=`echo \$bgqlib_out | sed 's/libmpich\\(.*\\)-\\(.*\\).a/-lmpich\\1-\\2/'` FMPICH=`echo \$bgqlib_out | sed 's/libmpich\\(.*\\)-\\(.*\\)\\.a.*/-lmpich\\1-\\2/'`
else else
FMPICH=-lfmpich FMPICH=-lfmpich
fi fi
......
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