PetscErrorCode PetscSharedTmp(MPI_Comm comm,PetscBool *shared)Collective on MPI_Comm
|-shared_tmp||- . -not_shared_tmp|
|-tmp tmpdir||- Environmental Variables: + PETSC_SHARED_TMP|
Assumes that all processors in a communicator either 1) have a common /tmp or 2) each has a separate /tmp eventually we can write a fancier one that determines which processors share a common /tmp.
This will be very slow on runs with a large number of processors since it requires O(p*p) file opens.
If the environmental variable PETSC_TMP is set it will use this directory as the "/tmp" directory.
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages