Lines Matching refs:MPI_COMM_WORLD
16 PetscCallMPI(MPI_Reduce(&mem, &max_mem, 1, MPI_DOUBLE, MPI_MAX, 0, MPI_COMM_WORLD)); in Print_memory()
17 PetscCallMPI(MPI_Reduce(&mem, &min_mem, 1, MPI_DOUBLE, MPI_MIN, 0, MPI_COMM_WORLD)); in Print_memory()
20 …PetscCall(PetscPrintf(MPI_COMM_WORLD, " max and min memory across all processors %.4f Mb, %.4f Mb.… in Print_memory()
37 PetscCallMPI(MPI_Comm_size(MPI_COMM_WORLD, &size)); in TestMPIDerivedDataType()
39 PetscCallMPI(MPI_Comm_rank(MPI_COMM_WORLD, &rank)); in TestMPIDerivedDataType()
51 PetscCallMPI(MPI_Send(buffer, 6, type2, 1, 123, MPI_COMM_WORLD)); in TestMPIDerivedDataType()
62 PetscCallMPI(MPI_Recv(buffer, 6, rtype2, 0, 123, MPI_COMM_WORLD, &status)); in TestMPIDerivedDataType()
76 PetscCallMPI(MPI_Barrier(MPI_COMM_WORLD)); in TestMPIDerivedDataType()
100 PetscCall(PetscPrintf(MPI_COMM_WORLD, "Before start,")); in main()
108 PetscCall(PetscPrintf(MPI_COMM_WORLD, "After creating A,")); in main()
116 PetscCall(PetscPrintf(MPI_COMM_WORLD, "After creating X,")); in main()
123 PetscCall(PetscPrintf(MPI_COMM_WORLD, "After MatMatMult,")); in main()
131 PetscCall(PetscPrintf(MPI_COMM_WORLD, "After reuse MatMatMult,")); in main()