[QE-developers] Fortran features support in QE code

Lorenzo Paulatto paulatz at gmail.com
Thu Mar 15 09:47:01 CET 2018


On 14/03/18 23:20, Ye Luo wrote:
> The BLOCK construct is a hole for PGI compiler even in 2018 release 
> which claimed a F2003 compiler.
I'm a big fan of scoping variables, i.e. defining them just when they 
are necessary and throwing them away as soon as possible. However I'm 
afraid that loosing support for PGI is not advisable at the moment, as 
it is owned by nVidia.

Furthermore, in Fortran there is a very similar mechanism (contained 
subroutines) that is supported by every compiler.

Finally, I'm a bit concerned that people may use BLOCK instead of 
creating proper subroutines, which is not something we want to 
encourage. Although a code structured with blocks can be more easily 
split up in subroutines.

My opinion, for the moment, is against.

cheers


-- 
Lorenzo Paulatto - Paris


More information about the developers mailing list