[Nek5000-users] Sharing parameters between processors
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Tue Dec 1 01:38:39 CST 2015
Hi Paul,
Thanks for your quick answer! These are random numbers I use. They is not a
very large number of them, I have about 100 elements in my array. However,I
need to use the same on all my domain, but as they are random, I can only
generate them once.
Oscar
On 01/12/2015 03:47, nek5000-users at lists.mcs.anl.gov wrote :
Hi Oscar,
Is there a reason why your quantity is modified only on one processor, and
not on the others?
How many values are you working with?
Paul
------------------------------
*From:* nek5000-users-bounces at lists.mcs.anl.gov [
nek5000-users-bounces at lists.mcs.anl.gov] on behalf of
nek5000-users at lists.mcs.anl.gov [nek5000-users at lists.mcs.anl.gov]
*Sent:* Monday, November 30, 2015 4:31 PM
*To:* nek5000-users at lists.mcs.anl.gov
*Subject:* [Nek5000-users] Sharing parameters between processors
Hi Nekers,
In my current simulation, I am defining an array containing parameters that
are shared between several processors. I have tried to do this in the
usercheck subroutine, with a COMMON statement. However, the COMMON
statement enables saving the parameters between two successive calls of the
usercheck by the same processor, but does not enable to share a variable
between two processor. In other words, if I modify the variable a on the
processor 1, the variable a on the processor 2 will not be modified, which
is not what I want. Any idea on how to do that?
Thanks for your help,
Oscar Valdorez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20151201/9a950b2e/attachment.html>
More information about the Nek5000-users
mailing list