Didn't succeed in doing it:
> from fipy.tools import parallel
> if parallel.procID == 0:
>    print var.getGlobalValue()

if I do simply:
print var.getGlobalValue()
the execution time stays the same (as without printing), variable is
printed -np times

if I do:
from fipy.tools import parallel
if parallel.procID == 0:
     print 0
the execution time stays the same, 0 is printed 1 time

if I do:
from fipy.tools import parallel
if parallel.procID == 0:
     print var.getGlobalValue()
Program hangs until I kill it!

What could it be?


Reply via email to