| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscmpi.pxi | 45 object comm, 55 cdef inline object mpi4py_Comm_New(MPI_Comm comm): 86 cdef inline PetscErrorCode PetscCommDEALLOC(MPI_Comm* comm): 96 object comm, MPI_Comm defv, 109 cdef inline Comm new_Comm(MPI_Comm comm): 116 cdef inline int comm_size(MPI_Comm comm) except ? -1: 122 cdef inline int comm_rank(MPI_Comm comm) except ? -1:
|
| /petsc/src/sys/classes/viewer/impls/ascii/ |
| H A D | vcreatea.c | 32 PetscViewer PETSC_VIEWER_STDOUT_(MPI_Comm comm) in PETSC_VIEWER_STDOUT_() 70 PetscErrorCode PetscViewerASCIIGetStderr(MPI_Comm comm, PetscViewer *viewer) in PetscViewerASCIIGetStderr() 115 PetscViewer PETSC_VIEWER_STDERR_(MPI_Comm comm) in PETSC_VIEWER_STDERR_() 132 PetscMPIInt MPIAPI Petsc_DelViewer(MPI_Comm comm, PetscMPIInt keyval, void *attr_val, void *extra_s… in Petsc_DelViewer() 185 PetscErrorCode PetscViewerASCIIOpen(MPI_Comm comm, const char name[], PetscViewer *viewer) in PetscViewerASCIIOpen() 272 PetscErrorCode PetscViewerASCIIOpenWithFILE(MPI_Comm comm, FILE *fd, PetscViewer *viewer) in PetscViewerASCIIOpenWithFILE()
|
| /petsc/src/sys/utils/ |
| H A D | mpiu.c | 8 PETSC_INTERN PetscErrorCode PetscSequentialPhaseBegin_Private(MPI_Comm comm, int ng) in PetscSequentialPhaseBegin_Private() 23 PETSC_INTERN PetscErrorCode PetscSequentialPhaseEnd_Private(MPI_Comm comm, int ng) in PetscSequentialPhaseEnd_Private() 71 PetscErrorCode PetscSequentialPhaseBegin(MPI_Comm comm, int ng) in PetscSequentialPhaseBegin() 111 PetscErrorCode PetscSequentialPhaseEnd(MPI_Comm comm, int ng) in PetscSequentialPhaseEnd() 148 PetscErrorCode PetscGlobalMinMaxInt(MPI_Comm comm, const PetscInt minMaxVal[2], PetscInt minMaxValG… in PetscGlobalMinMaxInt() 179 PetscErrorCode PetscGlobalMinMaxReal(MPI_Comm comm, const PetscReal minMaxVal[2], PetscReal minMaxV… in PetscGlobalMinMaxReal()
|
| H A D | mpimesg.c | 33 PetscErrorCode PetscGatherNumberOfMessages(MPI_Comm comm, const PetscMPIInt iflags[], const PetscMP… in PetscGatherNumberOfMessages() 90 PetscErrorCode PetscGatherMessageLengths(MPI_Comm comm, PetscMPIInt nsends, PetscMPIInt nrecvs, con… in PetscGatherMessageLengths() 139 PetscErrorCode PetscGatherNumberOfMessages_Private(MPI_Comm comm, const PetscMPIInt iflags[], const… in PetscGatherNumberOfMessages_Private() 168 PetscErrorCode PetscGatherMessageLengths_Private(MPI_Comm comm, PetscMPIInt nsends, PetscMPIInt nre… in PetscGatherMessageLengths_Private() 239 PetscErrorCode PetscGatherMessageLengths2(MPI_Comm comm, PetscMPIInt nsends, PetscMPIInt nrecvs, co… in PetscGatherMessageLengths2() 293 PetscErrorCode PetscPostIrecvInt(MPI_Comm comm, PetscMPIInt tag, PetscMPIInt nrecvs, const PetscMPI… in PetscPostIrecvInt() 316 PetscErrorCode PetscPostIrecvScalar(MPI_Comm comm, PetscMPIInt tag, PetscMPIInt nrecvs, const Petsc… in PetscPostIrecvScalar()
|
| H A D | psplit.c | 26 PetscErrorCode PetscSplitOwnershipBlock(MPI_Comm comm, PetscInt bs, PetscInt *n, PetscInt *N) in PetscSplitOwnershipBlock() 67 PetscErrorCode PetscSplitOwnership(MPI_Comm comm, PetscInt *n, PetscInt *N) in PetscSplitOwnership() 123 PetscErrorCode PetscSplitOwnershipEqual(MPI_Comm comm, PetscInt *n, PetscInt *N) in PetscSplitOwnershipEqual()
|
| /petsc/src/vec/vec/utils/ |
| H A D | comb.c | 23 …, void *recvbuf, PetscMPIInt count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *… in MPIU_Iallreduce() 41 static PetscErrorCode PetscSplitReductionCreate(MPI_Comm comm, PetscSplitReduction **sr) in PetscSplitReductionCreate() 113 PetscErrorCode PetscCommSplitReductionBegin(MPI_Comm comm) in PetscCommSplitReductionBegin() 126 MPI_Comm comm = sr->comm; in PetscCommSplitReductionBegin() local 199 MPI_Comm comm = sr->comm; in PetscSplitReductionApply() local 284 static PetscMPIInt MPIAPI Petsc_DelReduction(MPI_Comm comm, PETSC_UNUSED PetscMPIInt keyval, void *… in Petsc_DelReduction() 297 PetscErrorCode PetscSplitReductionGet(MPI_Comm comm, PetscSplitReduction **sr) in PetscSplitReductionGet() 341 MPI_Comm comm; in VecDotBegin() local 382 MPI_Comm comm; in VecDotEnd() local 426 MPI_Comm comm; in VecTDotBegin() local [all …]
|
| /petsc/src/sys/mpiuni/ |
| H A D | mpi.c | 48 #define CommIdx(comm) ((comm) - 1) /* the communicator's internal index used in attr[idx][] and com… argument 226 int MPI_Comm_set_attr(MPI_Comm comm, int keyval, void *attribute_val) in MPI_Comm_set_attr() 239 int MPI_Comm_delete_attr(MPI_Comm comm, int keyval) in MPI_Comm_delete_attr() 258 int MPI_Comm_get_attr(MPI_Comm comm, int keyval, void *attribute_val, int *flag) in MPI_Comm_get_attr() 270 int MPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen) in MPI_Comm_get_name() 279 int MPI_Comm_set_name(MPI_Comm comm, const char *comm_name) in MPI_Comm_set_name() 288 int MPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm) in MPI_Comm_create() 305 int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *out) in MPI_Comm_dup() 322 int MPI_Comm_free(MPI_Comm *comm) in MPI_Comm_free() 337 int MPI_Comm_size(MPI_Comm comm, int *size) in MPI_Comm_size() [all …]
|
| /petsc/include/petsc/mpiuni/ |
| H A D | mpi.h | 406 #define MPI_Comm_f2c(comm) (MPI_Comm)(comm) argument 407 #define MPI_Comm_c2f(comm) (MPI_Fint)(comm) argument 414 …#define MPI_Send(buf, count, datatype, dest, tag, comm) (M… argument 416 …#define MPI_Recv(buf, count, datatype, source, tag, comm, status) (M… argument 419 …#define MPI_Bsend(buf, count, datatype, dest, tag, comm) (M… argument 420 …#define MPI_Ssend(buf, count, datatype, dest, tag, comm) (M… argument 421 …#define MPI_Rsend(buf, count, datatype, dest, tag, comm) (M… argument 424 …#define MPI_Ibsend(buf, count, datatype, dest, tag, comm, request) (M… argument 425 …#define MPI_Issend(buf, count, datatype, dest, tag, comm, request) (M… argument 426 …#define MPI_Irsend(buf, count, datatype, dest, tag, comm, request) (M… argument [all …]
|
| /petsc/src/sys/fileio/ftn-custom/ |
| H A D | zmprintf.c | 21 PETSC_EXTERN void petscsynchronizedflush_(MPI_Fint *comm, FILE **file, int *ierr) in petscsynchronizedflush_() 44 PETSC_EXTERN void petscfprintf_(MPI_Comm *comm, FILE **file, char *fname, PetscErrorCode *ierr, PET… in petscfprintf_() 57 PETSC_EXTERN void petscprintf_(MPI_Comm *comm, char *fname, PetscErrorCode *ierr, PETSC_FORTRAN_CHA… in petscprintf_() 70 PETSC_EXTERN void petscsynchronizedfprintf_(MPI_Comm *comm, FILE **file, char *fname, PetscErrorCod… in petscsynchronizedfprintf_() 83 PETSC_EXTERN void petscsynchronizedprintf_(MPI_Comm *comm, char *fname, PetscErrorCode *ierr, PETSC… in petscsynchronizedprintf_()
|
| /petsc/src/sys/fileio/ |
| H A D | mpiuopen.c | 31 PetscErrorCode PetscFOpen(MPI_Comm comm, const char name[], const char mode[], FILE **fp) in PetscFOpen() 74 PetscErrorCode PetscFClose(MPI_Comm comm, FILE *fd) in PetscFClose() 106 PetscErrorCode PetscPClose(MPI_Comm comm, FILE *fd) in PetscPClose() 156 PetscErrorCode PetscPOpen(MPI_Comm comm, const char machine[], const char program[], const char mod… in PetscPOpen()
|
| H A D | fretrieve.c | 29 static PetscMPIInt MPIAPI Petsc_DelTmpShared(MPI_Comm comm, PetscMPIInt keyval, void *count_val, vo… in Petsc_DelTmpShared() 65 PetscErrorCode PetscGetTmp(MPI_Comm comm, char dir[], size_t len) in PetscGetTmp() 119 PetscErrorCode PetscSharedTmp(MPI_Comm comm, PetscBool *shared) in PetscSharedTmp() 238 PetscErrorCode PetscSharedWorkingDirectory(MPI_Comm comm, PetscBool *shared) in PetscSharedWorkingDirectory() 336 PetscErrorCode PetscFileRetrieve(MPI_Comm comm, const char url[], char localname[], size_t llen, Pe… in PetscFileRetrieve()
|
| /petsc/src/sys/objects/ |
| H A D | garbage.c | 4 static PetscErrorCode GarbageGetHMap_Private(MPI_Comm comm, PetscGarbage *garbage) in GarbageGetHMap_Private() 54 MPI_Comm comm; in PetscObjectDelayedDestroy() local 135 PetscErrorCode GarbageKeyAllReduceIntersect_Private(MPI_Comm comm, PetscInt64 *set, PetscInt *entri… in GarbageKeyAllReduceIntersect_Private() 206 PetscErrorCode PetscGarbageCleanup(MPI_Comm comm) in PetscGarbageCleanup() 248 PetscErrorCode PetscGarbageView(MPI_Comm comm, PetscViewer viewer) in PetscGarbageView()
|
| H A D | tagm.c | 63 PetscErrorCode PetscCommGetNewTag(MPI_Comm comm, PetscMPIInt *tag) in PetscCommGetNewTag() 212 MPI_Comm comm; in PetscCommDuplicate() member 284 PetscErrorCode PetscCommDestroy(MPI_Comm *comm) in PetscCommDestroy() 293 MPI_Comm comm; in PetscCommDestroy() member 364 PetscErrorCode PetscObjectsListGetGlobalNumbering(MPI_Comm comm, PetscInt len, PetscObject objlist[… in PetscObjectsListGetGlobalNumbering()
|
| H A D | subcomm.c | 108 MPI_Comm comm = psubcomm->parent; in PetscSubcommView() local 140 MPI_Comm comm = psubcomm->parent; in PetscSubcommSetNumber() local 197 MPI_Comm subcomm = 0, dupcomm = 0, comm = psubcomm->parent; in PetscSubcommSetTypeGeneral() local 285 PetscErrorCode PetscSubcommCreate(MPI_Comm comm, PetscSubcomm *psubcomm) in PetscSubcommCreate() 377 MPI_Comm subcomm = 0, dupcomm = 0, comm = psubcomm->parent; in PetscSubcommCreate_contiguous() local 448 MPI_Comm subcomm = 0, dupcomm = 0, comm = psubcomm->parent; in PetscSubcommCreate_interlaced() local
|
| /petsc/src/sys/classes/viewer/interface/ |
| H A D | dupl.c | 58 PetscErrorCode PetscViewerGetSubViewer(PetscViewer viewer, MPI_Comm comm, PetscViewer *outviewer) in PetscViewerGetSubViewer() 88 PetscErrorCode PetscViewerRestoreSubViewer(PetscViewer viewer, MPI_Comm comm, PetscViewer *outviewe… in PetscViewerRestoreSubViewer()
|
| H A D | viewreg.c | 167 static PetscErrorCode PetscOptionsCreateViewers_Single(MPI_Comm comm, const char value[], PetscView… in PetscOptionsCreateViewers_Single() 307 static PetscErrorCode PetscOptionsCreateViewers_Internal(MPI_Comm comm, PetscOptions options, const… in PetscOptionsCreateViewers_Internal() 444 PetscErrorCode PetscOptionsCreateViewer(MPI_Comm comm, PetscOptions options, const char pre[], cons… in PetscOptionsCreateViewer() 488 PetscErrorCode PetscOptionsCreateViewers(MPI_Comm comm, PetscOptions options, const char pre[], con… in PetscOptionsCreateViewers() 511 PetscErrorCode PetscViewerCreate(MPI_Comm comm, PetscViewer *inviewer) in PetscViewerCreate() 655 MPI_Comm comm; in PetscViewerFlowControlStepMain() local 668 MPI_Comm comm; in PetscViewerFlowControlEndMain() local 679 MPI_Comm comm; in PetscViewerFlowControlStepWorker() local 692 MPI_Comm comm; in PetscViewerFlowControlEndWorker() local
|
| /petsc/src/vec/vec/impls/mpi/cupm/ |
| H A D | vecmpicupm.hpp | 59 inline PetscErrorCode VecCreateMPICUPMAsync(MPI_Comm comm, PetscInt n, PetscInt N, Vec *v) noexcept in VecCreateMPICUPMAsync() 68 inline PetscErrorCode VecCreateMPICUPMWithArrays(MPI_Comm comm, PetscInt bs, PetscInt n, PetscInt N… in VecCreateMPICUPMWithArrays() 78 inline PetscErrorCode VecCreateMPICUPMWithArray(MPI_Comm comm, PetscInt bs, PetscInt n, PetscInt N,… in VecCreateMPICUPMWithArray()
|
| /petsc/src/sys/tests/ |
| H A D | ex45.cxx | 14 void exampleRoutine(const Teuchos::RCP<const Teuchos::Comm<int>> &comm) in exampleRoutine() 46 RCP<const Comm<int>> comm(new MpiComm<int>(PETSC_COMM_WORLD)); in main() local
|
| H A D | ex46.cxx | 15 void exampleRoutine(const Teuchos::RCP<const Teuchos::Comm<int>> &comm) in exampleRoutine() 53 …Teuchos::RCP<const Teuchos::Comm<int>> comm = Tpetra::DefaultPlatform::getDefaultPlatform().getCom… in main() local
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex1.c | 11 static PetscErrorCode ProcessOptions(MPI_Comm comm, AppCtx *options) in ProcessOptions() 21 static PetscErrorCode CreateMesh(MPI_Comm comm, DM *dm, AppCtx *user) in CreateMesh() 57 MPI_Comm comm; in CreateSwarm() local 131 MPI_Comm comm; in CheckPointInsertion() local 159 MPI_Comm comm; in CheckPointInsertion_Boundary() local 198 MPI_Comm comm; in main() local
|
| /petsc/include/ |
| H A D | petscerror.h | 55 #define SETERRQ(comm, ierr, ...) \ argument 61 #define SETERRQNULL(comm, ierr, ...) \ argument 99 #define SETERRMPI(comm, ierr, ...) return ((void)PetscError(comm, __LINE__, PETSC_FUNCTION_NAME, __… argument 155 #define SETERRABORT(comm, ierr, ...) \ argument 191 #define PetscCheck(cond, comm, ierr, ...) \ argument 219 #define PetscCheckReturnMPI(cond, comm, ierr, ...) \ argument 249 #define PetscCheckAbort(cond, comm, ierr, ...) \ argument 281 #define PetscAssert(cond, comm, ierr, ...) PetscCheck(cond, comm, ierr, __VA_ARGS__) argument 309 #define PetscAssertAbort(cond, comm, ierr, ...) PetscCheckAbort(cond, comm, ierr, __VA_ARGS__) argument 311 #define PetscAssertAbort(cond, comm, ierr, ...) PetscAssume(cond) argument [all …]
|
| H A D | petsclog.h | 331 static inline PetscErrorCode PetscLogEventSync(PetscLogEvent e, MPI_Comm comm) in PetscLogEventSync() 469 static inline PetscErrorCode PetscMPITypeSizeComm(MPI_Comm comm, const PetscMPIInt *counts, MPI_Dat… in PetscMPITypeSizeComm() 484 static inline int PetscMPIParallelComm(MPI_Comm comm) in PetscMPIParallelComm() 491 #define MPI_Irecv(buf, count, datatype, source, tag, comm, request) \ argument 494 #define MPI_Irecv_c(buf, count, datatype, source, tag, comm, request) \ argument 497 #define MPI_Isend(buf, count, datatype, dest, tag, comm, request) \ argument 500 #define MPI_Isend_c(buf, count, datatype, dest, tag, comm, request) \ argument 511 #define MPI_Recv(buf, count, datatype, source, tag, comm, status) \ argument 514 #define MPI_Recv_c(buf, count, datatype, source, tag, comm, status) \ argument 517 #define MPI_Send(buf, count, datatype, dest, tag, comm) \ argument [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex70.c | 10 PetscErrorCode ProcessOptions(MPI_Comm comm, AppCtx *options) in ProcessOptions() 21 static PetscErrorCode CreateMesh(MPI_Comm comm, AppCtx *user, DM *dm) in CreateMesh() 67 MPI_Comm comm; in main() local
|
| H A D | ex7.c | 147 PetscErrorCode ProcessOptions(MPI_Comm comm, AppCtx *options) in ProcessOptions() 164 PetscErrorCode CreateSimplex_2D(MPI_Comm comm, DM dm) in CreateSimplex_2D() 196 PetscErrorCode CreateSimplex_3D(MPI_Comm comm, DM dm) in CreateSimplex_3D() 228 PetscErrorCode CreateQuad_2D(MPI_Comm comm, PetscInt testNum, DM dm) in CreateQuad_2D() 271 PetscErrorCode CreateHex_3D(MPI_Comm comm, DM dm) in CreateHex_3D() 303 PetscErrorCode CreateMesh(MPI_Comm comm, PetscInt testNum, AppCtx *user, DM *dm) in CreateMesh()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcgns.c | 23 PetscErrorCode DMPlexCreateCGNSFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate… in DMPlexCreateCGNSFromFile() 55 PetscErrorCode DMPlexCreateCGNS(MPI_Comm comm, PetscInt cgid, PetscBool interpolate, DM *dm) in DMPlexCreateCGNS()
|