PetscErrorCode PetscGetTmp(MPI_Comm comm,char dir[],size_t len)Collective on MPI_Comm
comm | - MPI_Communicator that may share /tmp | |
len | - length of string to hold name |
-shared_tmp | - . -not_shared_tmp | |
-tmp tmpdir | - Environmental Variables: + PETSC_SHARED_TMP |
If the environmental variable PETSC_TMP is set it will use this directory as the "/tmp" directory.