| /petsc/src/sys/error/ |
| H A D | pstack.c | 144 …if (petscstack.file[i]) fprintf(file, "[%d] #%d %s() at %s:%d\n", PetscGlobalRank, j, petscstack.f… in PetscStackView() 147 if (!ptr) fprintf(file, "[%d] #%d %s()\n", PetscGlobalRank, j, petscstack.function[i]); in PetscStackView() 148 else fprintf(file, "[%d] #%d %s\n", PetscGlobalRank, j, petscstack.function[i]); in PetscStackView() 220 …if (sint->file[i]) fprintf(fp, " [%d] %s() at %s:%d\n", PetscGlobalRank, sint->function[i], … in PetscStackPrint() 221 else fprintf(fp, " [%d] %s()\n", PetscGlobalRank, sint->function[i]); in PetscStackPrint()
|
| H A D | errtrace.c | 104 PetscMPIInt rank = PetscGlobalRank > 8 ? 8 : PetscGlobalRank; in PetscErrorPrintfDefault() 110 (void)PetscFPrintf(PETSC_COMM_SELF, PETSC_STDERR, "[%d]PETSC ERROR: ", PetscGlobalRank); in PetscErrorPrintfDefault() 195 …if (rank == 0 && (!PetscCIEnabledPortableErrorOutput || PetscGlobalRank == 0) && (p != PETSC_ERROR… in PetscTraceBackErrorHandler()
|
| H A D | signal.c | 139 …(void)PetscSleep(PetscGlobalRank % 4); /* prevent some jumbling of error messages from different r…
|
| /petsc/src/sys/tests/ |
| H A D | ex50.c | 32 …Call(PetscViewerASCIIPrintf(viewer, "Print called on original full viewer %d\n", PetscGlobalRank)); in main() 43 …PetscCall(PetscViewerASCIIPrintf(subviewer, " Print called on sub viewers %d\n", PetscGlobalRank)… in main() 54 …l(PetscViewerASCIIPrintf(subsubviewer, " Print called on sub sub viewers %d\n", PetscGlobalRank)); in main()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcnullspace.c | 84 …ave local (near) nullspace: no need for correction in %s solver \n", PetscGlobalRank, isdir ? "Dir… in PCBDDCNullSpaceAssembleCorrection() 188 …olver (no scale) %1.14e (it %" PetscInt_FMT ", eigs %1.6e %1.6e)\n", PetscGlobalRank, (double)test… in PCBDDCNullSpaceAssembleCorrection() 190 …olver (no scale) %1.14e (it %" PetscInt_FMT ", eigs %1.6e %1.6e)\n", PetscGlobalRank, (double)test… in PCBDDCNullSpaceAssembleCorrection() 217 …olver (scale %g) %1.14e (it %" PetscInt_FMT ", eigs %1.6e %1.6e)\n", PetscGlobalRank, (double)Pets… in PCBDDCNullSpaceAssembleCorrection() 219 …olver (scale %g) %1.14e (it %" PetscInt_FMT ", eigs %1.6e %1.6e)\n", PetscGlobalRank, (double)Pets… in PCBDDCNullSpaceAssembleCorrection() 245 …infinity error for Dirichlet nullspace correction solver: %1.14e\n", PetscGlobalRank, (double)test… in PCBDDCNullSpaceAssembleCorrection() 247 …d infinity error for Neumann nullspace correction solver: %1.14e\n", PetscGlobalRank, (double)test… in PCBDDCNullSpaceAssembleCorrection()
|
| H A D | bddcprivate.c | 133 …ilename, PETSC_STATIC_ARRAY_LENGTH(filename), "Gdet_l%d_r%d_cc%d.m", lev, PetscGlobalRank, inc++)); in PCBDDCComputeNedelecChangeEdge() 2779 for (i = 0; i < pcbddc->benign_n; i++) pcbddc->benign_p0[i] = -PetscGlobalRank - i; in PCBDDCBenignCheck() 2785 …PetscGlobalRank - i, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Error testing PCBDDCBenignGetOrSetP0! Found… in PCBDDCBenignCheck() 3383 …cbddc->dbg_viewer, "Subdomain %04d cc %" PetscInt_FMT " (%d,%d).\n", PetscGlobalRank, sub_schurs->… in PCBDDCAdaptiveSelection() 5343 …cbddc->dbg_viewer, "Subdomain %04d matrix error % 1.14e\n", PetscGlobalRank, (double)real… in PCBDDCSetUpCorrection() 5363 …cbddc->dbg_viewer, "Subdomain %04d phi constraints error % 1.14e\n", PetscGlobalRank, (double)real… in PCBDDCSetUpCorrection() 5369 …cbddc->dbg_viewer, "Subdomain %04d psi constraints error % 1.14e\n", PetscGlobalRank, (double)real… in PCBDDCSetUpCorrection() 5397 …TATIC_ARRAY_LENGTH(filename), "details_local_coarse_mat%d_level%d.m",PetscGlobalRank,pcbddc->curre… in PCBDDCSetUpCorrection() 5808 …ASCIISynchronizedPrintf(pcbddc->dbg_viewer, "Subdomain %04d local dimensions\n", PetscGlobalRank)); in PCBDDCSetUpLocalScatters() 6233 …ubdomain %04d infinity error for Dirichlet solve (%s) = % 1.14e \n", PetscGlobalRank, ((PetscObjec… in PCBDDCSetUpLocalSolvers() [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex254.c | 63 } else if (ncoos == 1 && PetscGlobalRank < 3) mycoo = coos[PetscGlobalRank]; in main() 65 if (missing_diagonal && PetscGlobalRank == 0) mycoo = coos[1]; in main()
|
| H A D | ex23.c | 144 …cInt_FMT " %" PetscInt_FMT " %" PetscInt_FMT " %" PetscInt_FMT "\n", PetscGlobalRank, (PetscInt)in… in main()
|
| /petsc/src/sys/objects/ |
| H A D | init.c | 25 PetscMPIInt PetscGlobalRank = -1; variable 527 …if (tau_exec_path && !PetscGlobalRank) PetscCall(PetscInfo(NULL, "Detected tau_exec path %s\n", ta… in PetscOptionsCheckInitial_Private() 536 …if (nsys_profiling_session_id && !PetscGlobalRank) PetscCall(PetscInfo(NULL, "Detected nsys profil… in PetscOptionsCheckInitial_Private() 537 …if (nvprof_id && !PetscGlobalRank) PetscCall(PetscInfo(NULL, "Detected nvprof session id %s\n", nv… in PetscOptionsCheckInitial_Private() 546 …if (rocprof_roctx_trace && !PetscGlobalRank) PetscCall(PetscInfo(NULL, "Detected rocprofv2 profili… in PetscOptionsCheckInitial_Private() 547 …if (rocprof_marker_trace && !PetscGlobalRank) PetscCall(PetscInfo(NULL, "Detected rocprofv3 profil… in PetscOptionsCheckInitial_Private()
|
| H A D | inherit.c | 372 …PetscCall(PetscFPrintf(PETSC_COMM_WORLD, fd, "[%d] %s %s %s\n", PetscGlobalRank, h->class_name, h-… in PetscObjectsDump() 376 …for (j = k; j >= 0; j--) fprintf(fd, " [%d] %s() in %s\n", PetscGlobalRank, stack->function[… in PetscObjectsDump()
|
| H A D | pinit.c | 623 if (!PetscGlobalRank) { in PetscInitializeSAWs() 901 PetscCallMPI(MPI_Comm_rank(MPI_COMM_WORLD, &PetscGlobalRank)); in PetscInitialize_Common() 1603 if (!PetscGlobalRank) { in PetscFinalize()
|
| /petsc/src/dm/tests/ |
| H A D | ex8.c | 28 …if (!PetscGlobalRank) PetscCall(PetscViewerASCIIPrintf(viewer, "Hello from rank 0 -> vector name %… in VecView_Shell()
|
| /petsc/src/sys/utils/ |
| H A D | server.c | 100 if (PetscGlobalRank == 0) { in PetscShmgetMapAddresses() 177 if (PetscGlobalRank > 0) { in PetscShmgetUnmapAddresses()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexdd.c | 113 PetscCall(PetscSNPrintf(name, sizeof(name), "local_mesh_%d.vtu", PetscGlobalRank)); in DMCreateDomainDecomposition_Plex() 122 PetscCall(PetscSNPrintf(name, sizeof(name), "asm_vertices_%d.vtu", PetscGlobalRank)); in DMCreateDomainDecomposition_Plex() 140 PetscCall(PetscSNPrintf(name, sizeof(name), "ovl_mesh_%d.vtu", PetscGlobalRank)); in DMCreateDomainDecomposition_Plex()
|
| /petsc/src/sys/dll/ |
| H A D | reg.c | 390 …) PetscCall(PetscPrintf(PETSC_COMM_SELF, "[%d] Registered PetscFunctionLists\n", PetscGlobalRank)); in PetscFunctionListPrintAll() 418 …ll(PetscFPrintf(PETSC_COMM_SELF, PETSC_STDOUT, "[%d] function name: %s\n", PetscGlobalRank, name)); in PetscFunctionListPrintNonEmpty()
|
| /petsc/src/ts/event/ |
| H A D | tsevent.c | 841 …racket [%g - %g], next stepping to its right end %g (revisiting)\n", PetscGlobalRank, event->iterc… in TSEventHandler() 869 …ning the bracket with sign change [%g - %g], next stepping to %g\n", PetscGlobalRank, event->iterc… in TSEventHandler() 885 …vent %" PetscInt_FMT " zero crossing located at time %g (tol=%g)\n", PetscGlobalRank, event->iterc… in TSEventHandler() 889 …g as event location, due to reaching too small bracket [%g - %g]\n", PetscGlobalRank, event->iterc… in TSEventHandler()
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex26.c | 125 …etscInt_FMT ", entry %" PetscInt_FMT " -> %g + i %g != %g + i %g\n", PetscGlobalRank, n, i, (doubl… in main()
|
| /petsc/src/ksp/pc/impls/mpi/ |
| H A D | pcmpi.c | 614 if (PCMPIServerUseShmget) pthread_mutex_lock(&PCMPIServerLocks[PetscGlobalRank]); in PCMPIServerBegin() 621 pthread_mutex_unlock(&PCMPIServerLocks[PetscGlobalRank]); in PCMPIServerBegin() 671 if (PetscGlobalRank == 0) { in PCMPIServerEnd()
|
| /petsc/src/ksp/pc/impls/is/ |
| H A D | pcis.c | 629 …zedPrintf(viewer, "Subdomain %04d is floating. Average = % 1.14e\n", PetscGlobalRank, (double)Pets… in PCISApplyInvSchur() 631 …zedPrintf(viewer, "Subdomain %04d is fixed. Average = % 1.14e\n", PetscGlobalRank, (double)Pets… in PCISApplyInvSchur()
|
| /petsc/doc/changes/ |
| H A D | 2015.md | 51 - PetscGlobalRank - processor's rank in MPI_COMM_WORLD
|
| /petsc/src/snes/tutorials/ |
| H A D | ex11.c | 143 PetscScalar exponent = PetscGlobalRank % 2 ? 2.0 : -2.0; in coefficient_checkerboard()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex43.c | 1378 jump = (PetscBool)(PetscGlobalRank % 2); in solve_stokes_2d_coupled() 1380 … jump = (PetscBool)((PetscGlobalRank / px) % 2 ? PetscGlobalRank % 2 : !(PetscGlobalRank % 2)); in solve_stokes_2d_coupled()
|
| H A D | ex71.c | 342 n = PetscGlobalRank ? 0 : (user.cells[1] + 1) * (user.cells[2] + 1); in main()
|
| H A D | ex42.c | 1983 rr = PetscGlobalRank % (px * py); in solve_stokes_3d_coupled() 1986 rr = PetscGlobalRank / (px * py); in solve_stokes_3d_coupled()
|
| /petsc/src/ksp/ksp/impls/fetidp/ |
| H A D | fetidp.c | 431 …CIIPrintf(viewer, "%d: CHECK infty norm of E_D + P_D - I: %1.14e\n", PetscGlobalRank, (double)val)… in KSPFETIDPCheckOperators()
|