From: Norman Geist (norman.geist_at_uni-greifswald.de)
Date: Mon Oct 19 2015 - 02:43:43 CDT
ReplicaSend and ReplicaRecv can be used to transfer any variables between replicas.
ReplicaBarrier as one might assume, causes all replicas to stop at this point in the script, until all replicas reached it.
Norman Geist
Von: owner-namd-l_at_ks.uiuc.edu [mailto:owner-namd-l_at_ks.uiuc.edu] Im Auftrag von jc guo
Gesendet: Montag, 19. Oktober 2015 09:10
An: namd-l_at_ks.uiuc.edu
Betreff: namd-l: about command replicaRecv and replicaSend
Dear NAMD users,
Could anyone give me a short explanation of this three command: replicaBarrier, replicaSend data dest, replicaRecv source
In lib\replica\replica.namd, we have
set pot2 [replicaRecv $replica(loc.$swap)]
and
set doswap [expr $delta < 0. || exp(-1. * $delta) > rand()]
replicaSend $doswap $replica(loc.$swap)
replicaSend $POTENTIAL $replica(loc.$swap)
I was confused that what data relicaSend and replicaRecv will send/receive from replicaID(like why potential will receive? is it receive all data generate by another replica) ? and where we use replicaBarrier?
Thanks for any help.
JC
This archive was generated by hypermail 2.1.6 : Tue Dec 27 2016 - 23:21:25 CST