/dports/misc/adios2/ADIOS2-2.7.1/testing/adios2/engine/insitumpi/ |
H A D | TestInSituMPIFunctionAssignPeers.cpp | 40 int myRank; variable 42 myRank = 0; 49 myRank = 1; 65 int myRank; variable 67 myRank = 0; 75 myRank = 1; 93 int myRank; variable 95 myRank = 0; 103 myRank = 1; 111 myRank = 2; [all …]
|
/dports/math/vtk6/VTK-6.2.0/Infovis/Parallel/Testing/Cxx/ |
H A D | TestPBGLAlgorithms.cxx | 66 int myRank in TestDirectedGraph() local 76 if (myRank == 0) in TestDirectedGraph() 88 if (myRank == 0 || myRank == numProcs - 1) in TestDirectedGraph() 106 if (myRank == 0) in TestDirectedGraph() 128 if (myRank == 0) in TestDirectedGraph() 140 if (myRank == 0) in TestDirectedGraph() 152 if (myRank == 0) in TestDirectedGraph() 172 if (myRank == 0) in TestDirectedGraph() 177 if (myRank == 0) in TestDirectedGraph() 198 int myRank in TestUndirectedGraph() local [all …]
|
H A D | TestPBGLPedigrees.cxx | 104 if (myRank == 0) in UseCase0() 134 if (myRank == 0) in UseCase0() 159 if (myRank == 0) in UseCase0() 177 if (myRank == 0) in UseCase1() 236 if (myRank == 0) in UseCase1() 262 if (myRank == 0) in UseCase1() 280 if (myRank == 0) in UseCase2() 283 if (myRank == 0) in UseCase2() 435 if (myRank == 0) in UseCase2() 462 if (myRank == 0) in UseCase2() [all …]
|
H A D | TestPBGLEdgesPedigrees.cxx | 56 int myRank = mdg->GetInformation()->Get(vtkDataObject::DATA_PIECE_NUMBER()); in UseCase3() local 60 if (myRank == 0) in UseCase3() 75 if (myRank == 0) in UseCase3() 87 if (myRank == 0) cout << " numProps = "<<numProps<<endl; in UseCase3() 89 if (myRank == 0) in UseCase3() 96 if (myRank == 0) in UseCase3() 107 cout <<" Rank #" << myRank << ": vertex " << ped.ToString() << " (" in UseCase3() 111 …cout << myRank<<") "<<" GetNumberOfArrays= " << mdg->GetVertexData()->GetNumberOfArrays() << endl; in UseCase3() 121 if (myRank == 0) in UseCase3() 129 cerr << "PROCESS " << myRank << " edge: " << hex << etx.Id in UseCase3() [all …]
|
H A D | PBGLRandomGraph.cxx | 138 int myRank in ExchangeEdges() local 197 int myRank in TestDirectedGraph() local 209 if (myRank == 0) in TestDirectedGraph() 233 if (myRank == 0) in TestDirectedGraph() 240 if (myRank == 0) in TestDirectedGraph() 255 if (myRank == 0) in TestDirectedGraph() 271 if (myRank == 0) in TestDirectedGraph() 280 if (myRank == 0) in TestDirectedGraph() 461 int myRank in TestDirectedGraphProperties() local 768 int myRank in TestUndirectedGraph() local [all …]
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/nvector/trilinos/ |
H A D | test_nvector_trilinos.cpp | 49 const int myRank = comm->getRank(); in main() local 53 if (myRank == 0) in main() 60 if (myRank == 0) in main() 66 SetTiming(print_timing, myRank); in main() 71 if (myRank == 0) { in main() 94 fails += Test_N_VMake(X, local_length, myRank); in main() 106 fails += Test_N_VGetLength(X, myRank); in main() 117 fails += Test_N_VCloneEmpty(X, myRank); in main() 118 fails += Test_N_VClone(X, local_length, myRank); in main() 155 fails += Test_N_VMin(X, local_length, myRank); in main() [all …]
|
/dports/math/sundials/sundials-5.7.0/examples/nvector/trilinos/ |
H A D | test_nvector_trilinos.cpp | 49 const int myRank = comm->getRank(); in main() local 53 if (myRank == 0) in main() 60 if (myRank == 0) in main() 66 SetTiming(print_timing, myRank); in main() 71 if (myRank == 0) { in main() 94 fails += Test_N_VMake(X, local_length, myRank); in main() 106 fails += Test_N_VGetLength(X, myRank); in main() 117 fails += Test_N_VCloneEmpty(X, myRank); in main() 118 fails += Test_N_VClone(X, local_length, myRank); in main() 155 fails += Test_N_VMin(X, local_length, myRank); in main() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/adapters/mpi/test/vector/ |
H A D | test_01.cpp | 72 int myRank = -1; in main() local 75 MPI_Comm_rank(MPI_COMM_WORLD, &myRank); in main() 236 bool correct = (v== (myRank)*100+2); in main() 364 if(myRank!=2) { in main() 368 double correct_value = ((myRank)*100+2) + ((myRank+1)*100-5); in main() 406 if(myRank!=0) { in main() 410 double correct_value = ((myRank)*100-2) + ((myRank-1)*100+5); in main() 451 if(myRank!=2) { in main() 455 double correct_value = ((myRank)*100+2) + ((myRank+1)*100-5); in main() 465 if(myRank!=0) { in main() [all …]
|
H A D | test_02.cpp | 71 int myRank = -1; in main() local 74 MPI_Comm_rank(MPI_COMM_WORLD, &myRank); in main() 75 std::string procStr = std::to_string(myRank) + "/" + std::to_string(numRanks) + ": "; in main() 79 *outStream << "Proc " << myRank << "/" << numRanks << std::endl; in main() 89 if(myRank>=2) { in main() 91 … ss << "Rank " << myRank << " is included in the coarse communicator! This is wrong." << std::endl; in main() 97 …ss << "Rank " << myRank << " is not included in the coarse communicator! This is wrong." << std::e… in main() 102 ss << "Rank " << myRank << " has space size not equal to 1" << std::endl; in main() 107 ss << "Rank " << myRank << " has time size not equal to 2" << std::endl; in main() 111 if(coarseComm->getTimeRank()!=myRank) { in main() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/adapters/tpetra/test/vector/ |
H A D | test_04.cpp | 84 int myRank = -1; in main() local 87 MPI_Comm_rank(MPI_COMM_WORLD, &myRank); in main() 327 p_pint->getVectorPtr( 0)->scale((myRank)*100+0); in main() 333 if(myRank!=2) { in main() 342 double correct_value = ((myRank)*100+2) + ((myRank+1)*100-5); in main() 381 if(myRank!=0) { in main() 386 double correct_value = ((myRank)*100-2) + ((myRank-1)*100+5); in main() 428 if(myRank!=2) { in main() 433 double correct_value = ((myRank)*100+2) + ((myRank+1)*100-5); in main() 443 if(myRank!=0) { in main() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/lulesh2.0.3_orig/ |
H A D | lulesh-util.cc | 28 static void PrintCommandLineOptions(char *execname, int myRank) in PrintCommandLineOptions() argument 30 if (myRank == 0) { in PrintCommandLineOptions() 48 static void ParseError(const char *message, int myRank) in ParseError() argument 50 if (myRank == 0) { in ParseError() 61 int myRank, struct cmdLineOpts *opts) in ParseCommandLineOptions() argument 71 ParseError("Missing integer argument to -i", myRank); in ParseCommandLineOptions() 82 ParseError("Missing integer argument to -s\n", myRank); in ParseCommandLineOptions() 93 ParseError("Missing integer argument to -r\n", myRank); in ParseCommandLineOptions() 153 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() 162 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() [all …]
|
/dports/science/ascent/ascent-0.7.1-66-gbcf2742a/src/examples/proxies/lulesh2.0.3/ |
H A D | lulesh-util.cc | 28 static void PrintCommandLineOptions(char *execname, int myRank) in PrintCommandLineOptions() argument 30 if (myRank == 0) { in PrintCommandLineOptions() 48 static void ParseError(const char *message, int myRank) in ParseError() argument 50 if (myRank == 0) { in ParseError() 61 int myRank, struct cmdLineOpts *opts) in ParseCommandLineOptions() argument 71 ParseError("Missing integer argument to -i", myRank); in ParseCommandLineOptions() 82 ParseError("Missing integer argument to -s\n", myRank); in ParseCommandLineOptions() 93 ParseError("Missing integer argument to -r\n", myRank); in ParseCommandLineOptions() 153 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() 162 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/sidre/examples/lulesh2/ |
H A D | lulesh-util.cc | 33 static void PrintCommandLineOptions(char *execname, int myRank) in PrintCommandLineOptions() argument 35 if (myRank == 0) { in PrintCommandLineOptions() 53 static void ParseError(const char *message, int myRank) in ParseError() argument 55 if (myRank == 0) { in ParseError() 66 int myRank, struct cmdLineOpts *opts) in ParseCommandLineOptions() argument 76 ParseError("Missing integer argument to -i", myRank); in ParseCommandLineOptions() 87 ParseError("Missing integer argument to -s\n", myRank); in ParseCommandLineOptions() 98 ParseError("Missing integer argument to -r\n", myRank); in ParseCommandLineOptions() 158 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() 167 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/adapters/mpi/src/function/ |
H A D | ROL_PinTCommunicationUtilities.hpp | 128 int myRank = communicators.getTimeRank(); in exportToCoarseDistribution_TimeStamps() local 135 if(myRank % 2 ==0) { in exportToCoarseDistribution_TimeStamps() 142 if(myRank < procSize / 2) { in exportToCoarseDistribution_TimeStamps() 185 int myRank = communicators.getTimeRank(); in sendToCoarseDistribution_Vector() local 188 if(myRank % 2 == 0) { in sendToCoarseDistribution_Vector() 189 targetRank = myRank/2; in sendToCoarseDistribution_Vector() 191 targetRank = (myRank-1)/2; in sendToCoarseDistribution_Vector() 230 if(myRank < procSize / 2) { in recvFromFineDistribution_Vector() 299 if(myRank % 2 == 0) { in recvFromCoarseDistribution_Vector() 300 targetRank = myRank/2; in recvFromCoarseDistribution_Vector() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/teuchos/comm/src/ |
H A D | Teuchos_PerformanceMonitorBase.cpp | 260 if (myRank == left) in broadcastStringsHelper() 262 else if (myRank == mid) in broadcastStringsHelper() 266 if (myRank >= left && myRank <= mid-1) in broadcastStringsHelper() 268 else if (myRank >= mid && myRank <= right) in broadcastStringsHelper() 333 if (myRank == left) in mergeCounterNamesPair() 381 else if (myRank == mid) in mergeCounterNamesPair() 384 TEUCHOS_TEST_FOR_EXCEPTION(myRank != left && myRank != mid, in mergeCounterNamesPair() 449 if (myRank >= left && myRank <= mid-1) in mergeCounterNamesHelper() 452 else if (myRank >= mid && myRank <= right) in mergeCounterNamesHelper() 459 if (myRank == left || myRank == mid) in mergeCounterNamesHelper() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/lulesh2.0.3/ |
H A D | lulesh-util.cpp | 43 static void PrintCommandLineOptions(char *execname, int myRank) in PrintCommandLineOptions() argument 45 if (myRank == 0) in PrintCommandLineOptions() 66 static void ParseError(const char *message, int myRank) in ParseError() argument 68 if (myRank == 0) in ParseError() 81 int myRank, struct cmdLineOpts *opts) in ParseCommandLineOptions() argument 95 ParseError("Missing integer argument to -i", myRank); in ParseCommandLineOptions() 109 ParseError("Missing integer argument to -s\n", myRank); in ParseCommandLineOptions() 123 ParseError("Missing integer argument to -r\n", myRank); in ParseCommandLineOptions() 197 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() 206 PrintCommandLineOptions(argv[0], myRank); in ParseCommandLineOptions() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/adapters/mpi/test/function/ |
H A D | test_timestamp_coarsening.cpp | 73 int myRank = -1; in main() local 103 else if(myRank==0) in main() 126 int myRank = -1; in run_TimeStamp_test() local 131 MPI_Comm_rank(comm, &myRank); in run_TimeStamp_test() 163 if(myRank<2) { in run_TimeStamp_test() 209 int myRank = -1; in run_VectorExportToCoarse_test() local 214 MPI_Comm_rank(comm, &myRank); in run_VectorExportToCoarse_test() 268 if(myRank==0) in run_VectorExportToCoarse_test() 337 int myRank = -1; in run_VectorExportToFine_test() local 342 MPI_Comm_rank(comm, &myRank); in run_VectorExportToFine_test() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Common/DataModel/ |
H A D | vtkEdgeListIterator.cxx | 67 int myRank = -1; in SetGraph() local 73 this->Vertex = helper->MakeDistributedId(myRank, this->Vertex); in SetGraph() 74 lastVertex = helper->MakeDistributedId(myRank, lastVertex); in SetGraph() 94 (helper && helper->GetEdgeOwner(this->Current->Id) != myRank) in SetGraph() 97 && myRank == helper->GetVertexOwner(this->Current->Target)) in SetGraph() 120 int myRank = -1; in Next() local 131 (helper && helper->GetEdgeOwner(this->Current->Id) != myRank) in Next() 134 && myRank == helper->GetVertexOwner(this->Current->Target)) in Next() 173 int myRank in Increment() local 175 this->Vertex = helper->MakeDistributedId(myRank, this->Vertex); in Increment() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PinT/parabolic-control/ |
H A D | PinTConstraint_FD_Test.cpp | 113 if(myRank==0) { in main() 136 int myRank = -1; in run_test() local 199 if(myRank==0) in run_test() 210 if(myRank==0) in run_test() 220 if(myRank==0) in run_test() 230 if(myRank==0) in run_test() 240 if(myRank==0) in run_test() 342 if(myRank==0) in run_test() 348 if(myRank==0) in run_test() 380 if(myRank==0) in run_test() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/ |
H A D | vtkEdgeListIterator.cxx | 67 int myRank = -1; in SetGraph() local 73 this->Vertex = helper->MakeDistributedId(myRank, this->Vertex); in SetGraph() 74 lastVertex = helper->MakeDistributedId(myRank, lastVertex); in SetGraph() 94 (helper && helper->GetEdgeOwner(this->Current->Id) != myRank) in SetGraph() 97 && myRank == helper->GetVertexOwner(this->Current->Target)) in SetGraph() 120 int myRank = -1; in Next() local 131 (helper && helper->GetEdgeOwner(this->Current->Id) != myRank) in Next() 134 && myRank == helper->GetVertexOwner(this->Current->Target)) in Next() 173 int myRank in Increment() local 175 this->Vertex = helper->MakeDistributedId(myRank, this->Vertex); in Increment() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/ |
H A D | vtkEdgeListIterator.cxx | 67 int myRank = -1; in SetGraph() local 71 myRank = this->Graph->GetInformation()->Get(vtkDataObject::DATA_PIECE_NUMBER()); in SetGraph() 72 this->Vertex = helper->MakeDistributedId(myRank, this->Vertex); in SetGraph() 73 lastVertex = helper->MakeDistributedId(myRank, lastVertex); in SetGraph() 92 (helper && helper->GetEdgeOwner(this->Current->Id) != myRank) in SetGraph() 116 int myRank = -1; in Next() local 121 myRank = this->Graph->GetInformation()->Get(vtkDataObject::DATA_PIECE_NUMBER()); in Next() 126 (helper && helper->GetEdgeOwner(this->Current->Id) != myRank) in Next() 166 int myRank = this->Graph->GetInformation()->Get(vtkDataObject::DATA_PIECE_NUMBER()); in Increment() local 167 this->Vertex = helper->MakeDistributedId(myRank, this->Vertex); in Increment() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/adapters/mpi/src/vector/ |
H A D | ROL_PinTVector.hpp | 111 int myRank = communicators_->getTimeRank(); in computeStepStartEnd() local 123 if(myRank<remainder) { in computeStepStartEnd() 124 stepStart_ = myRank*(stepsPerRank+1); in computeStepStartEnd() 125 stepEnd_ = (myRank+1)*(stepsPerRank+1); in computeStepStartEnd() 127 else if(myRank==remainder) { in computeStepStartEnd() 128 stepStart_ = myRank*(stepsPerRank+1); in computeStepStartEnd() 129 stepEnd_ = (myRank+1)*stepsPerRank + myRank; in computeStepStartEnd() 131 else if(myRank>remainder) { in computeStepStartEnd() 132 stepStart_ = myRank*stepsPerRank + remainder; in computeStepStartEnd() 153 if(myRank==0) stepStart_ = 0; in computeStepStartEnd() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Parallel/MPI/Testing/Cxx/ |
H A D | MPIController.cxx | 38 int myRank = controller->GetLocalProcessId(); in CheckNoBlockSends() local 41 data = myRank; in CheckNoBlockSends() 42 if(myRank != numRanks - 1) in CheckNoBlockSends() 44 if(controller->NoBlockSend(&data, 1, myRank+1, mpiTag, sendRequest) == 0) in CheckNoBlockSends() 57 int myRank = controller->GetLocalProcessId(); in CheckNoBlockRecvs() local 59 if(myRank) in CheckNoBlockRecvs() 86 if(actualSource != myRank-1) in CheckNoBlockRecvs() 105 if(recvData != myRank - 1) in CheckNoBlockRecvs() 132 int myRank = controller->GetLocalProcessId(); in ExerciseNoBlockCommunications() local 133 retVal = retVal | CheckNoBlockRecvs(controller, myRank - 1, 1, "case 2"); in ExerciseNoBlockCommunications()
|
/dports/math/vtk9/VTK-9.1.0/Parallel/MPI/Testing/Cxx/ |
H A D | MPIController.cxx | 35 int myRank = controller->GetLocalProcessId(); in CheckNoBlockSends() local 38 data = myRank; in CheckNoBlockSends() 39 if (myRank != numRanks - 1) in CheckNoBlockSends() 41 if (controller->NoBlockSend(&data, 1, myRank + 1, mpiTag, sendRequest) == 0) in CheckNoBlockSends() 54 int myRank = controller->GetLocalProcessId(); in CheckNoBlockRecvs() local 56 if (myRank) in CheckNoBlockRecvs() 82 if (actualSource != myRank - 1) in CheckNoBlockRecvs() 101 if (recvData != myRank - 1) in CheckNoBlockRecvs() 127 int myRank = controller->GetLocalProcessId(); in ExerciseNoBlockCommunications() local 128 retVal = retVal | CheckNoBlockRecvs(controller, myRank - 1, 1, "case 2"); in ExerciseNoBlockCommunications()
|
/dports/math/vtk6/VTK-6.2.0/Parallel/MPI/Testing/Cxx/ |
H A D | MPIController.cxx | 38 int myRank = controller->GetLocalProcessId(); in CheckNoBlockSends() local 41 data = myRank; in CheckNoBlockSends() 42 if(myRank != numRanks - 1) in CheckNoBlockSends() 44 if(controller->NoBlockSend(&data, 1, myRank+1, mpiTag, sendRequest) == 0) in CheckNoBlockSends() 57 int myRank = controller->GetLocalProcessId(); in CheckNoBlockRecvs() local 59 if(myRank) in CheckNoBlockRecvs() 86 if(actualSource != myRank-1) in CheckNoBlockRecvs() 105 if(recvData != myRank - 1) in CheckNoBlockRecvs() 132 int myRank = controller->GetLocalProcessId(); in ExerciseNoBlockCommunications() local 133 retVal = retVal | CheckNoBlockRecvs(controller, myRank - 1, 1, "case 2"); in ExerciseNoBlockCommunications()
|