[firedrake] printing stuff
David Ham
David.Ham at imperial.ac.uk
Sat Nov 8 19:11:42 GMT 2014
You can use the firedrake.op2.MPI.rank_zero decorator to make a function
which will only execute on rank 0.
On 8 November 2014 18:53, Cotter, Colin J <colin.cotter at imperial.ac.uk>
wrote:
> Dear Firedrakers,
> What's the best way to modify a print statement so that only one MPI
> process does the print?
>
> cheers
> --cjc
>
--
Dr David Ham
Departments of Mathematics and Computing
Imperial College London
http://www.imperial.ac.uk/people/david.ham
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the firedrake
mailing list