[ase-users] disabling parallelism in ASE MD

Noam Bernstein noam.bernstein at nrl.navy.mil
Tue Apr 14 17:12:11 CEST 2020


Is there a general way of enabling/disabling parallelism in ASE, specifically in MD-related routines?  I'm running several MD trajectories side-by side, each in a single MPI task (using mpi4py). I've already run into an issue for ase.md.velocitydistribution._maxwellboltzmanndisitribution, which insists on calling communicator.broadcast() without any way of disabling it.  MDLogger is also behaving badly, outputting just on the master and trying to do clever but unnecessary things for global numbers of atoms, for example.

Patching _maxwellboltzmanndisitribution() is easy enough (restrict the broadcast to "if communicator is not None", or something like that), but I'm wondering if I'm missing some way of telling ASE to treat an MD dynamics run as a completely serial task.

								thanks,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20200414/3283045d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5653 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20200414/3283045d/attachment-0001.p7s>


More information about the ase-users mailing list