[Q-e-developers] Problem with bcasting unallocated arrays in pw2wannier (5.1)
Giovanni Pizzi
giovanni.pizzi at epfl.ch
Thu Aug 14 11:18:42 CEST 2014
Dear Ake,
thank you for your message and patch.
Indeed, we also noticed the same problem, and this has been already fixed a couple of weeks ago on the SVN:
http://www.qe-forge.org/gf/project/q-e/scmsvn/?action=browse&path=%2Ftrunk%2Fespresso%2FPP%2Fsrc%2Fpw2wannier90.f90&r1=11096&r2=11097
Best,
Giovanni Pizzi
--
Giovanni Pizzi
Post-doctoral Research Scientist
EPFL STI IMX THEOS
MXC 340 (Bâtiment MXC)
Station 12
CH-1015 Lausanne (Switzerland)
Phone: +41 21 69 31124
On 13 Aug 2014, at 14:26, Åke Sandgren wrote:
> Hi!
>
> PP/src/pw2wannier90.f90 is broadcasting spin_eig and spin_qaxis even when they are not allocated. This causes crashes with at least gcc 4.6 + Impi 4.1.3, msglen = size(msg) in mp_bcast_iv gets set to 1 in some cases. I'm assuming this is a compiler bug, but it's still better not to bcast them in this case.
>
> Patch attached.
>
> --
> Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
> Internet: ake at hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90-580 14
> Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
> <p10-dont-bcast-unallocated-arrays-pw2wannier.txt>_______________________________________________
> Q-e-developers mailing list
> Q-e-developers at qe-forge.org
> http://qe-forge.org/mailman/listinfo/q-e-developers
More information about the developers
mailing list