Home
last modified time | relevance | path

Searched refs:mesg_log (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/graphops/partition/impls/party/
H A Dparty.c35 char *mesg_log; in MatPartitioningApply_Party() local
92 PetscCall(PetscMalloc1(SIZE_LOG, &mesg_log)); in MatPartitioningApply_Party()
104 count = read(fd_pipe[0], mesg_log, (SIZE_LOG - 1) * sizeof(char)); in MatPartitioningApply_Party()
106 mesg_log[count] = 0; in MatPartitioningApply_Party()
112 if (party->verbose) PetscCall(PetscPrintf(PetscObjectComm((PetscObject)mat), "%s", mesg_log)); in MatPartitioningApply_Party()
113 PetscCall(PetscFree(mesg_log)); in MatPartitioningApply_Party()
/petsc/src/mat/graphops/partition/impls/chaco/
H A Dchaco.c70 char *mesg_log; in MatPartitioningApply_Chaco() local
134 PetscCall(PetscMalloc1(SIZE_LOG, &mesg_log)); in MatPartitioningApply_Chaco()
142 count = (int)read(fd_pipe[0], mesg_log, (int)((SIZE_LOG - 1) * sizeof(char))); in MatPartitioningApply_Chaco()
144 mesg_log[count] = 0; in MatPartitioningApply_Chaco()
150 if (chaco->verbose) PetscCall(PetscPrintf(PetscObjectComm((PetscObject)mat), "%s", mesg_log)); in MatPartitioningApply_Chaco()
151 PetscCall(PetscFree(mesg_log)); in MatPartitioningApply_Chaco()