On 8/19/22 14:25, Uclus Heis wrote:
"/That said, from your code, it looks like all processes are opening the same/
/file and writing to it. Nothing good will come of this. There is of course
also the issue that importing all vector elements to one process cannot scale
to large numbers of processes."/
/
/
What would you suggest to export in a text file the whole domain when running
many processes ?
A possible solution that I can think is to export for each frequency (loop
iteration) a file per process. In addition, I would need to export (print) the
locally_owned_dofs (IndexSet) to construct in an external environment the
whole domain solution. How could I solve the issue of //importing all vector
elements to one process ?
When you combine things into one file, you will always end up with a very
large file if you are doing things on 1000 processes. Where and how you do the
combining is secondary, the underlying fact of the resulting file is the same.
So: if the file is of manageable size, you can do it in a deal.II program as
you are already doing right now. If the file is no longer manageable, it
doesn't matter whether you try to combine it in a deal.II-based program or
later on, it's not manageable one way or the other.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/2759827b-9906-5813-92cd-c791a0267914%40colostate.edu.