PetscErrorCode PetscPOpen(MPI_Comm comm,const char machine[],const char program[],const char mode[],FILE **fp)Logically Collective on MPI_Comm, but only process 0 runs the command Many br
comm | - MPI communicator, only processor zero runs the program Many br | |
machine | - machine to run command on or NULL, or string with 0 in first location Many br | |
program | - name of program to run Many br | |
mode | - either r or w Many br |
Many br
If machine is not provided will use the value set with PetsPOpenSetMachine() if that was provided, otherwise Many brwill use the machine running node zero of the communicator Many br
The program string may contain ${DISPLAY}, ${HOMEDIRECTORY} or ${WORKINGDIRECTORY}; these Many brwill be replaced with relevent values. Many br
Level:intermediate
Location:src/sys/fileio/mpiuopen.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages