<div dir="ltr"><div><div><div><div><div>Dear QE developers, <br><br></div>I've noticed that there is now a new version of the wannier90 code: wannier90-2.0.1 <br><br></div>In order to compile it with NAG I had to make the following changes:<br><br>Error: ../postw90/comms.F90: Argument ZX (no. 2) in reference to MY_ICOPY from COMMS_SCATTERV_INT is not an array<br>Error: ../postw90/comms.F90: Argument ZY (no. 4) in reference to MY_ICOPY from COMMS_SCATTERV_INT is not an array<br><br>Which can be solve by modifying<br> <br> subroutine comms_scatterv_int(array,localcount,rootglobalarray,counts,displs)<br><br> implicit none<br><br> integer, dimension(:), intent(inout) :: array<br> integer, intent(in) :: localcount<br> integer, dimension(:), intent(inout) :: rootglobalarray<br> integer, dimension(num_nodes), intent(in) :: counts<br> integer, dimension(num_nodes), intent(in) :: displs<br><br>Error: ../postw90/geninterp.F90, line 189: No specific match for reference to generic COMMS_SCATTERV<br><br>which can be corrected with (one has to check that this is the intendend behavior though):<br><br>call comms_scatterv(localkpointidx(:),counts(my_node_id),kpointidx(:),counts, displs)<br><br><br></div>Hope it helps, <br><br></div>Best, <br><br></div>Samuel<br><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><span><font color="#888888"><pre cols="72">------------------------------------------------------------------------------------------------
Dr. Samuel Poncé
Department of Materials
University of Oxford
Parks Road
Oxford OX1 3PH, UK
Phone: +44 1865 612789<br> email: <a href="mailto:samuel.ponce@materials.ox.ac.uk" target="_blank">samuel.ponce@materials.ox.ac.uk</a> <a href="mailto:fabio.caruso@materials.ox.ac.uk" target="_blank"></a>
web: <a href="http://giustino.materials.ox.ac.uk/index.php/Site/SamuelPonc%e9" target="_blank">http://giustino.materials.ox.ac.uk/index.php/Site/SamuelPonc%e9</a>
------------------------------------------------------------------------------------------------</pre></font></span></div></div>
</div></div></div></div></div></div></div></div>