[gpaw-users] Can anyone get mpi broadcast working?
Alvaro Vazquez Mayagoitia
fray.gory at gmail.com
Fri Dec 16 23:08:47 CET 2011
To me it is working correctly (see atomiz.py attached),
mpirun -np 2 gpaw-python atomiz.py
gives me:
Atomization energy: -10.6199 eV
could you send your gpaw/customize.py?
and the output from 'python setup.py install'?
you can always revert the updates to the version which was working
correctly to you,
On Fri, Dec 16, 2011 at 2:09 PM, Alex Eftimiades
<alexeftimiades at gmail.com> wrote:
> Yes. I am using openmpi -np 4 gpaw-python test.py
>
> If this is indeed something wrong with my test script, please show me
> one that works!
> Alex
>
> On Dec 15, 2011, at 5:40 PM, Ask Hjorth Larsen wrote:
>
>> Hi
>>
>> On Thu, 15 Dec 2011, Alex Eftimiades wrote:
>>
>>> I thought it was working about a month ago. Now it does not. I have
>>> tried testing it with a simple broadcast, and the processes do not
>>> sync. There is no error, they just do not sync. I am beginning to
>>> suspect that there is something wrong in the source code since I
>>> updated between then and now. If not, please show me a working
>>> example
>>> (start to finish) that successfully broadcasts an ndarray with more
>>> than one element (it does seem to work for one element.)
>>> At the very least, the example provided in the documentation is
>>> incomplete. I tried copying and pasting it into a .py file and
>>> testing
>>> it. N and mydata need to be initialized with some values. So I
>>> initialized them with some values. Then I got the same problem as my
>>> tests--no errors, no syncing.
>>>
>>> For now, I may just have to write stuff to a file with one rank and
>>> load it with the others. However if this is a bug in the source code,
>>> I would imagine this could cause problems with parallel calculations.
>>>
>>> Thanks,
>>> Alex
>>
>> How are you running the programme? Through gpaw-python? Broadcast
>> is used in all parallel GPAW calculations, so the test suite should
>> make hundreds of complaints if this function is not working.
>>
>> Regards
>> Ask
>
> _______________________________________________
> gpaw-users mailing list
> gpaw-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atomiz.py
Type: application/octet-stream
Size: 1314 bytes
Desc: not available
Url : http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20111216/ef52d622/attachment.obj
More information about the gpaw-users
mailing list