petsc-3.4.4 2014-03-13

PetscGetTmp

Gets the name of the tmp directory

Synopsis

PetscErrorCode  PetscGetTmp(MPI_Comm comm,char dir[],size_t len)
Collective on MPI_Comm

Input Parameters

comm - MPI_Communicator that may share /tmp
len - length of string to hold name

Output Parameters

dir -directory name

Options Database Keys

-shared_tmp- . -not_shared_tmp
-tmp tmpdir- Environmental Variables: + 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.

Level:developer
Location:
src/sys/fileio/fretrieve.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages