int PetscSharedWorkingDirectory(MPI_Comm comm,PetscTruth *shared)Collective on MPI_Comm
-shared_working_directory | - . -not_shared_working_directory |
Assumes that all processors in a communicator either 1) have a common working directory or 2) each has a seperate working directory eventually we can write a fancier one that determines which processors share a common working directory.
This will be very slow on runs with a large number of processors since it requires O(p*p) file opens.
Level:developer
Location:src/sys/src/fileio/fretrieve.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages
PETSC_SHARED_WORKING_DIRECTORY | - . PETSC_NOT_SHARED_WORKING_DIRECTORY |