Previous Thread
Next Thread
Print Thread
Joined: Aug 2004
Posts: 192
E
Edo Offline OP
Forum Member
OP Offline
Forum Member
E
Joined: Aug 2004
Posts: 192
Hi All,
I'm adding a user supplied energy and force in my simulation through the USERE subroutine. It works in a serial compilation of CHARMM. I was wondering if it should also work in a parallel version? Or is USERE not setup to run in parallel?

I'm using CHARMM v35b5.
Thanks,
Ed

Joined: Sep 2003
Posts: 4,883
Likes: 12
Forum Member
Offline
Forum Member
Joined: Sep 2003
Posts: 4,883
Likes: 12
Of course. This is entirely up to you, as with all parallel programming. You have to do the partitioning of the work across the nodes. Coordinates and forces are communicated outside the energy calculation, so you should not have to worry about that. Caveat: With the current (c35) parallel implementation you can also assume that each node has access to all coordinates, but this will change in the next release which will also support spatial decomposition. There may be other data that you have to communicate using MPI.

Last edited by lennart; 10/20/11 09:14 PM. Reason: caveat about spatial decomposition

Lennart Nilsson
Karolinska Institutet
Stockholm, Sweden
Joined: Aug 2004
Posts: 192
E
Edo Offline OP
Forum Member
OP Offline
Forum Member
E
Joined: Aug 2004
Posts: 192
Thank you Prof Nilsson for the info. I'm just applying a constant force onto a single atom (the AFM module is not sufficient for some of the things I want to do, which is why I coded it in usere). So it sounds like I won't need to modify my USERE code for it to work in parallel.

Joined: Sep 2003
Posts: 4,883
Likes: 12
Forum Member
Offline
Forum Member
Joined: Sep 2003
Posts: 4,883
Likes: 12
The PULL command does apply a constant force (or periodic in time) to one or more atoms. See cons.doc


Lennart Nilsson
Karolinska Institutet
Stockholm, Sweden
Joined: Aug 2004
Posts: 192
E
Edo Offline OP
Forum Member
OP Offline
Forum Member
E
Joined: Aug 2004
Posts: 192
This is big help, thank you.
Ed


Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Release build 20201027)
Responsive Width:

PHP: 7.3.31-1~deb10u5 Page Time: 0.014s Queries: 24 (0.011s) Memory: 0.7451 MB (Peak: 0.7979 MB) Data Comp: Off Server Time: 2023-09-27 21:01:37 UTC
Valid HTML 5 and Valid CSS