_______________________________________________Dear all,
I am testing out using parallelism with Firedrake now that I have access to a computer with multiple cores. I have successfully used parallelism on a simple Laplace problem in 3D, and have also read the tutorial on using PETSc’s Sys.Print() function to print output and using the “with” statement to compute the L-infinity norm.
My question is, am I using parallelism correctly when I write Paraview files? Because when I create a new File object and run the .write() method, for each time step it seems to create a number of VTU files equal to the number of cores used, as well as a PVTU file. Is this correct?
My other question is, is there a way to tell Python to only use the first core when doing other tasks? For example, I have a Python script in my code which writes a simple text file. What I really don’t want is for Python to write to this text file 22 times when it only needs to do it once.
Thanks for the help,
Andrew Hicks
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake