<div dir="ltr"><div>Thank you Samuel. Guess what? some compilers may not like your change, because they consider erf and erfc as intrinsic. Or at least, there used to be such problem and this is why QE uses (almost) everywhere (see note below) functions qe_erf, qe_erfc, defined in flib/erf.f90 (maybe also for another reason: buggy intrinsic erf). Please try now (i just made such change). <br><br></div>Anybody willing to try if all compilers now support the same syntax for intrinsic functions erf/erfc is tronlgu encouraged to do so.<br><br><div>Note: in ESM, there is a different function "esm_erfc". Not sure whether this can be merged with/into qe_erfc, I'll inquire<br><br></div><div>Paolo<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 8:16 PM, Samuel Poncé <span dir="ltr"><<a href="mailto:samuel.pon@gmail.com" target="_blank">samuel.pon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear QE developers, <br><br></div>I've been trying to compile the current trunk of QE using the pgi 12.10 compiler. <br><br></div><div>The compiler was not happy about the following:<br>PGF90-S-0038-Symbol, erfc, has not been explicitly declared (generate_function.F90)<br> 0 inform, 0 warnings, 1 severes, 0 fatal for generate_erfc<br>PGF90-S-0038-Symbol, erfc, has not been explicitly declared (generate_function.F90)<br> 0 inform, 0 warnings, 1 severes, 0 fatal for generate_graderfc<br>PGF90-S-0038-Symbol, erf, has not been explicitly declared (generate_function.F90)<br> 0 inform, 0 warnings, 1 severes, 0 fatal for erfcvolume<br></div><div><br><br></div>To made it compile that part, I had to made the following small bugfix to the <br></div>Module/generate_function.f90<br><br>550a551<br>> REAL( DP) :: erfc<br>666a668<br>> REAL( DP ) :: erfc<br>916a919<br>> REAL( DP ) :: erf<br><br></div><div>You might be interested to add this small bug fix to the trunk. <br><br></div><div>Best, <br><br></div><div>Samuel Ponce<br></div><div><br></div><br></div>
<br>_______________________________________________<br>
Q-e-developers mailing list<br>
<a href="mailto:Q-e-developers@qe-forge.org">Q-e-developers@qe-forge.org</a><br>
<a href="http://qe-forge.org/mailman/listinfo/q-e-developers" rel="noreferrer" target="_blank">http://qe-forge.org/mailman/listinfo/q-e-developers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><span><font color="#888888">Paolo Giannozzi, Dept. Chemistry&Physics&Environment,<br>
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
Phone <a href="tel:%2B39-0432-558216" value="+390432558216" target="_blank">+39-0432-558216</a>, fax <a href="tel:%2B39-0432-558222" value="+390432558222" target="_blank">+39-0432-558222</a></font></span></span></div></div></div></div>
</div>