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 | |
-not_shared_tmp | |
-tmp tmpdir |
PETSC_SHARED_TMP | |
PETSC_NOT_SHARED_TMP | |
PETSC_TMP |
If the environmental variable PETSC_TMP is set it will use this directory as the "/tmp" directory.