Home
last modified time | relevance | path

Searched refs:fd_pipe (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/partitioner/impls/chaco/
H A Dpartchaco.c72 int fd_stdout, fd_pipe[2]; in PetscPartitionerPartition_Chaco() local
107 piperet = pipe(fd_pipe); in PetscPartitionerPartition_Chaco()
111 dup2(fd_pipe[1], 1); in PetscPartitionerPartition_Chaco()
123 count = (int)read(fd_pipe[0], msgLog, (10000 - 1) * sizeof(char)); in PetscPartitionerPartition_Chaco()
129 close(fd_pipe[0]); in PetscPartitionerPartition_Chaco()
130 close(fd_pipe[1]); in PetscPartitionerPartition_Chaco()
/petsc/src/mat/graphops/partition/impls/party/
H A Dparty.c37 int fd_stdout, fd_pipe[2], count; in MatPartitioningApply_Party() local
89 PetscCheck(!pipe(fd_pipe), PETSC_COMM_SELF, PETSC_ERR_SYS, "Could not open pipe"); in MatPartitioningApply_Party()
91 dup2(fd_pipe[1], 1); in MatPartitioningApply_Party()
104 count = read(fd_pipe[0], mesg_log, (SIZE_LOG - 1) * sizeof(char)); in MatPartitioningApply_Party()
110 close(fd_pipe[0]); in MatPartitioningApply_Party()
111 close(fd_pipe[1]); in MatPartitioningApply_Party()
/petsc/src/mat/graphops/partition/impls/chaco/
H A Dchaco.c72 int fd_stdout, fd_pipe[2], count; in MatPartitioningApply_Chaco() local
131 PetscCheck(!pipe(fd_pipe), PETSC_COMM_SELF, PETSC_ERR_SYS, "Could not open pipe"); in MatPartitioningApply_Chaco()
133 dup2(fd_pipe[1], 1); in MatPartitioningApply_Chaco()
142 count = (int)read(fd_pipe[0], mesg_log, (int)((SIZE_LOG - 1) * sizeof(char))); in MatPartitioningApply_Chaco()
148 close(fd_pipe[0]); in MatPartitioningApply_Chaco()
149 close(fd_pipe[1]); in MatPartitioningApply_Chaco()