PetscErrorCode PetscGetTmp(MPI_Comm comm,char dir[],size_t len)Collective
comm | - MPI_Communicator that may share /tmp | |
len | - length of string to hold name |
dir | - directory name |
-shared_tmp | - indicates the directory is shared among the MPI ranks | |
-not_shared_tmp | - indicates the directory is not shared among the MPI ranks | |
-tmp tmpdir | - name of the directory you wish to use as /tmp |
PETSC_SHARED_TMP | - indicates the directory is shared among the MPI ranks | |
PETSC_NOT_SHARED_TMP | - indicates the directory is not shared among the MPI ranks | |
PETSC_TMP | - name of the directory you wish to use as /tmp |