Configure didn't properly recognize mpif90 + pathscale compiler.

I don't understand why the test of the compiler called by mpif90 
is sometimes done with mpif90 -v, sometimes with mpif90 -V


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7709 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
giannozz 2011-04-28 08:46:01 +00:00
parent ee6fefcaf8
commit 253fae459c
2 changed files with 2 additions and 2 deletions

2
install/configure vendored
View File

@ -3282,7 +3282,7 @@ case "$arch" in
pgf_version=`$mpif90 -V 2>&1 | grep "^pgf"`
g95_version=`$mpif90 -v 2>&1 | grep "g95"`
eko_version=`$mpif90 -v 2>&1 | grep "EKOPath"` # obsolescent
pathf95_version=`$mpif90 -version 2>&1 | grep "PathScale(TM)"`
pathf95_version=`$mpif90 -v 2>&1 | grep "PathScale(TM)"`
gfortran_version=`$mpif90 -v 2>&1 | grep "gcc version"`
#
if test "$ifort_version" != ""

View File

@ -339,7 +339,7 @@ case "$arch" in
pgf_version=`$mpif90 -V 2>&1 | grep "^pgf"`
g95_version=`$mpif90 -v 2>&1 | grep "g95"`
eko_version=`$mpif90 -v 2>&1 | grep "EKOPath"` # obsolescent
pathf95_version=`$mpif90 -version 2>&1 | grep "PathScale(TM)"`
pathf95_version=`$mpif90 -v 2>&1 | grep "PathScale(TM)"`
gfortran_version=`$mpif90 -v 2>&1 | grep "gcc version"`
#
if test "$ifort_version" != ""