int PetscPOpen(MPI_Comm comm,char *machine,char *program,const char mode[],FILE **fp)Not Collective
comm | - MPI communicator, only processor zero runs the program | |
machine | - machine to run command on or PETSC_NULL, or string with 0 in first location | |
program | - name of program to run | |
mode | - either r or w |
The program string may contain ${DISPLAY}, ${HOMEDIRECTORY} or ${WORKINGDIRECTORY}; these will be replaced with relevent values.
Level:intermediate
Location:src/sys/src/fileio/mpiuopen.c
System Index
Table of Contents