Write Formaline tarballs in the background

Create issue
Issue #868 closed
Erik Schnetter created an issue

Write the Formaline tarballs in the background (using fork()) to elminiate the wait.


Comments (8)

  1. Roland Haas
    • 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.

  2. Erik Schnetter reporter
    • removed comment

    I will apply this after the release, possibly using pthreads instead of fork.

  3. Erik Schnetter 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.

  4. Log in to comment