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.
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
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)]
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.
This archive was generated by hypermail 2.1.6 : Thu Dec 31 2015 - 23:22:08 CST