- changed status to open
- removed comment
Write Formaline tarballs in the background
Write the Formaline tarballs in the background (using fork()) to elminiate the wait.
Keyword:
Comments (8)
-
reporter -
- removed comment
The patch looks ok with maybe the single exception that it does a VInfo from within the fork()ed child which may (or may not) involve transporting stdout data to the MPI root process? The suggested method of using a pthread might be safer in case there are still MPI implementations out there that do not like fork(). Maybe one could add a parameter to disable parallel writing. Otherwise fine to apply.
-
reporter - removed comment
I will apply this after the release, possibly using pthreads instead of fork.
-
reporter - changed status to open
- removed comment
-
- removed comment
I'll link to
#914so that we don't forget. -
reporter - changed status to open
- removed comment
I retract this patch, since using fork() with MPI is in general not safe. An implementation on pthreads should be safe, however.
-
- changed status to resolved
- edited description
Threaded tarball output if Formaline was implemented in git hash 96098d9 "Formaline: Output Formaline tarballs in parallel" of cactusutils 7 years ago.
-
- changed status to closed
- Log in to comment