<div dir="ltr"><div><div><div>Languages have ISO standards.<br>The maturity of compiler implementations of a language standard is very important when adopting.<br>This a page summarizing compiler support of fortran 2008<br><a href="http://fortranwiki.org/fortran/show/Fortran+2008+status">http://fortranwiki.org/fortran/show/Fortran+2008+status</a><br>The BLOCK construct is a hole for PGI compiler even in 2018 release which claimed a F2003 compiler.<br></div><div>Other compilers like GNU, INTEL, IBM should support 2008 already.<br></div><div><br></div>BLOCK is designed to provide the effect of scoping and you are allowed to declare variables locally instead of in the beginning.<br></div>I think this helps compilers to identify locality and make optimization more efficient. It also helps the code readability.<br><br></div><div>Some additional comment,<br></div><div>QE manual says "you need C and Fortran-90/95/<span class="gmail-highlight gmail-selected">2003</span> compilers". This is a very vague statement.<br></div><div>It doesn't make sense to compile part in F95 and part in F2003 and it is also not necessary.<br></div><div>For C it needs at least C89,<br></div><div>For Fortran, it needs F2003 if hdf5 is turned on.<br></div><div>For this reason, I think having F2003 as a baseline is fine for QE since F2003 is fully supported by major compilers.<br><br></div><div>Ye<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">===================<br>
Ye Luo, Ph.D.<br>
Leadership Computing Facility<br>
Argonne National Laboratory</div></div></div>
<br><div class="gmail_quote">2018-03-14 16:40 GMT-05:00 Paolo Giannozzi <span dir="ltr"><<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>There are no exact rules. My opinion is that only language features that are well supported by most important compilers since at least a few years (let us say 5) should be included. What are those "blocks" good for?<br><br></div>Paolo<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 14, 2018 at 5:39 PM, Miguel Carvajal <span dir="ltr"><<a href="mailto:krvajal.miguelangel@gmail.com" target="_blank">krvajal.miguelangel@gmail.com</a><wbr>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hello,<br></div>is it possible to use this block constructor in the QE code,<br><a href="https://www.ibm.com/support/knowledgecenter/en/SS2MB5_14.1.0/com.ibm.xlf141.bg.doc/language_ref/blockcon.html" target="_blank">https://www.ibm.com/support/kn<wbr>owledgecenter/en/SS2MB5_14.1.<wbr>0/com.ibm.xlf141.bg.doc/langua<wbr>ge_ref/blockcon.html</a><br></div>or it is forbidden to maintain compatibility with old browsers?<br><div><br clear="all"><div><div><div><div class="m_1682049959890110749m_2495840353168945914gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><div dir="ltr"><br></div><div dir="ltr"><div style="font-size:13pt;font-family:Arial;color:rgb(58,54,55);margin-bottom:5px"><span style="padding:0px 15px 0px 5px"><b style="color:rgb(51,51,51)">Miguel Carvajal</b>   PhD</span></div><table style="font-size:11px;width:440px" border="0"><tbody><tr valign="top"><td style="max-width:300px;width:70px"><img src="https://s3.amazonaws.com/webapp.wisestamp.com/yopGGIDSjqmVKWiNZWoS_Untitled1.png" alt="photo" style="border-radius:4px;width:120px"></td><td style="font-family:"Arial Narrow",Arial;font-size:8pt;color:rgb(78,75,76);padding-left:10px"><div><span style="font-size:8pt;color:rgb(0,114,177)">Mobile:</span><span style="font-size:8pt"> </span><a style="font-size:8pt">+32 465 35 71 77</a><br></div><div><span style="color:rgb(0,114,177)">Email:</span> <a href="mailto://miguel.carvajalrivero@uantwerpen.be" style="text-decoration:none;color:rgb(78,75,76)" target="_blank">miguel.carvajalrivero@u<wbr>antwerpen.be</a></div><div><span style="color:rgb(0,114,177)">Address:</span> CMT <a href="https://maps.google.com/?q=Groenenborgerlaan+171,+BE-2020+Antwerpen&entry=gmail&source=g" target="_blank">Groenenborgerlaan 171, BE-2020 Antwerpen</a></div></td></tr></tbody></table>                                      <a href="https://www.facebook.com/erpan.arkin" style="font-size:12.8px;margin-right:0px;color:white;text-decoration:none;border-color:currentcolor;border-style:none;border-width:0px" target="_blank"> </a><a href="https://plus.google.com/+ErpanArkin" style="font-size:12.8px;margin-right:0px;color:white;text-decoration:none;border-color:currentcolor;border-style:none;border-width:0px" target="_blank"> </a><a href="https://www.researchgate.net/profile/Y_Aierken" style="font-size:12.8px;margin-right:0px;color:white;text-decoration:none;border-color:currentcolor;border-style:none;border-width:0px" target="_blank"> </a><a href="https://www.linkedin.com/in/krvajal/" style="font-size:12.8px;margin-right:0px;color:white;text-decoration:none;border-color:currentcolor;border-style:none;border-width:0px" target="_blank"><img src="https://www.uantwerpen.be/images/mailing_images/social_linked.jpg" alt="linkedin logo"> </a><a href="https://www.uantwerpen.be/vcard.aspx?emplid=13497&photo=true&logo=true&lang=EN" style="font-size:12.8px;margin-right:0px;color:white;text-decoration:none;border-color:currentcolor;border-style:none;border-width:0px" target="_blank"><img src="https://www.uantwerpen.be/images/mailing_images/social_card.jpg" alt="vcard logo"></a> <br><div style="padding:10px;border-radius:5px;margin-bottom:20px;color:rgb(0,0,0);font-family:Lato,Arial,San-serif;font-size:14px;line-height:20px"><img src="https://htmlsigs.s3.amazonaws.com/logos/files/000/023/386/landscape/Untitled33.png" alt="CMT group, University of Antwerp" style="border-color:currentcolor;border-style:none;border-width:0px;vertical-align:middle" border="0"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
developers mailing list<br>
<a href="mailto:developers@lists.quantum-espresso.org" target="_blank">developers@lists.quantum-espre<wbr>sso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.quantum-espresso<wbr>.org/mailman/listinfo/develope<wbr>rs</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_1682049959890110749gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone <a href="tel:+39%200432%20558216" value="+390432558216" target="_blank">+39-0432-558216</a>, fax <a href="tel:+39%200432%20558222" value="+390432558222" target="_blank">+39-0432-558222</a><br><br></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
developers mailing list<br>
<a href="mailto:developers@lists.quantum-espresso.org">developers@lists.quantum-<wbr>espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.quantum-<wbr>espresso.org/mailman/listinfo/<wbr>developers</a><br>
<br></blockquote></div><br></div>