Re: [AMBER] Amber20 with PLUMED running slow, with GPU utilisation ~40%

From: Amanda Buyan <Amanda.Buyan.anu.edu.au>
Date: Tue, 12 Jan 2021 23:36:36 +0000

Dear David and Adrian,

Thank you for getting back to me so quickly on this! Would it be worth writing the authors of PLUMED about this, to see if there are things that can be done to speed up future implementations of PLUMED in Amber?


Best wishes


Amanda

________________________________
From: Adrian Roitberg <roitberg.ufl.edu>
Sent: 13 January 2021 04:55
To: amber.ambermd.org <amber.ambermd.org>
Subject: Re: [AMBER] Amber20 with PLUMED running slow, with GPU utilisation ~40%

For what is worth, I agree with Dave Case on this.

Amber 20 has a new feature (shuttle transfer) where one can download to
the cpu only a subset of forces and coordinates. This is useful when one
needs to apply plumed restraints to just a subset of atoms in the system.

This new feature is in the code itself, so someone from the plumed
community should look into this.

Adrian



On 1/12/21 12:51 PM, David A Case wrote:
> [External Email]
>
> On Tue, Jan 12, 2021, Amanda Buyan wrote:
>> I hope you are able to help me with something. We have successfully
>> installed Amber20, along with the PLUMED package and libraries. One of our
>> students as well as me have been using Amber20 with PLUMED, but we have
>> noticed that the performance of Amber20 has decreased with the addition
>> of PLUMED. Has anyone else had this issue? Could it be an issue with my
>> installation of either Amber or PLUMED?
>>
>> Some other specs that you might need: we are using pmemd.cuda (no MPI
>> option), plumed2.5, and we are loading the single CPU plumed library.
> A few days ago, I chastized Bill Ross for guessing, but here goes anyway:
>
> I think running plumed with pmemd.cuda is expected to slow down GPU runs.
> As far as I can tell, the plumed part is all done on the CPU, so the GPU
> has to communicate with the CPU every time it need plumed functionality.
>
> Look at the PLUMED section in runmd.F90, starting at about line 743. It has
> to call gpu_download_crd() and gpu_download_frc() before the "include
> Plumed_force.inc" statement (line 752), then call gpu_upload_frc() after
> that.
>
> This would be expected to slow things down, probably by quite a bit,
> depending on the size of the system.
>
> [Caveat: above is based on a cursory reading of the code; I've not run
> plumed calculations myself. I hope others with more direct experience will
> chime in.]
>
> ....dac
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ambermd.org_mailman_listinfo_amber&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=dl7Zd5Rzbdvo14I2ndQf4w&m=O1_iZFg3uFddpVT6Pel_4c9BCAcA1IJcmvj8X2lFaoQ&s=otNlNhQC0CTqvcxRWaVk1Vb8hWkBr2IwmeyPaQIcRM4&e=

--
Dr. Adrian E. Roitberg
V.T. and Louise Jackson Professor in Chemistry
Department of Chemistry
University of Florida
roitberg.ufl.edu
352-392-6972
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Jan 12 2021 - 16:00:02 PST
Custom Search