[Q-e-developers] sun compiler

Lorenzo Paulatto lorenzo.paulatto at impmc.upmc.fr
Tue Sep 25 08:58:16 CEST 2012


Dear all,
the current configure script fails to detect the last version of sun
compilers; the problem is that it is tested as:
sunf95_version=`$mpif90 -V 2>&1 | grep "^sunf95"

But it returns:
sunf95 -V
f90: Sun Fortran 95 8.6 Linux_i386 2011/11/16

Are we allowed to use a bit of magik in the test, i.e.
sunf95_version=`$mpif90 -V 2>&1 | grep "^sunf95\|Sun Fortran"

Or there is a risk of it not working and it better to make 2 separate test,
for new and old versions?

cheers

p.s. note that the same must be repeated a bit later for the parallel case

-- 
Dr. Lorenzo Paulatto
IdR @ IMPMC -- CNRS & Université Paris 6
phone: +33 (0)1 44275 084 / skype: paulatz
www:   http://www-int.impmc.upmc.fr/~paulatto/
mail:  23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20120925/ab340c84/attachment.html>


More information about the developers mailing list