mirror of https://gitlab.com/QEF/q-e.git
Major version extracted properly when Intel compiler is used
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12935 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
3d761c6060
commit
924f0147d8
|
@ -145,8 +145,7 @@ case "$arch" in
|
|||
#
|
||||
if test "$ifort_version" != ""
|
||||
then
|
||||
version=`$mpif90 -V 2>&1 | grep Version |
|
||||
sed 's/.*Version//' | | cut -d ' ' -f1`
|
||||
version=`$mpif90 --version 2>&1 | grep "IFORT" | cut -d ' ' -f3`
|
||||
f90_major_version=`echo $version | cut -d. -f1`
|
||||
echo "${ECHO_T}ifort $f90_major_version"
|
||||
f90_in_mpif90="ifort"
|
||||
|
|
Loading…
Reference in New Issue