mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use process instead of processor for MPI.
This commit is contained in:
parent
b4ec2f0611
commit
5c34b843f1
@ -237,7 +237,7 @@ namespace Opm
|
|||||||
MPI_Comm_size(MPI_COMM_WORLD, &mpiSize);
|
MPI_Comm_size(MPI_COMM_WORLD, &mpiSize);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
std::cout << "Using "<< mpiSize << " MPI processors with "<< threads <<" OMP threads on each \n\n";
|
std::cout << "Using "<< mpiSize << " MPI processes with "<< threads <<" OMP threads on each \n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This is the main function of Flow. It runs a complete simulation with the
|
/// This is the main function of Flow. It runs a complete simulation with the
|
||||||
@ -489,13 +489,13 @@ namespace Opm
|
|||||||
if (output_cout) {
|
if (output_cout) {
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
ss << "\n\n================ End of simulation ===============\n\n";
|
ss << "\n\n================ End of simulation ===============\n\n";
|
||||||
ss << "Number of MPI processors: " << std::setw(6) << mpi_size_ << "\n";
|
ss << "Number of MPI processes: " << std::setw(6) << mpi_size_ << "\n";
|
||||||
#if _OPENMP
|
#if _OPENMP
|
||||||
int threads = omp_get_max_threads();
|
int threads = omp_get_max_threads();
|
||||||
#else
|
#else
|
||||||
int threads = 1;
|
int threads = 1;
|
||||||
#endif
|
#endif
|
||||||
ss << "Threads per MPI processor: " << std::setw(4) << threads << "\n";
|
ss << "Threads per MPI process: " << std::setw(5) << threads << "\n";
|
||||||
successReport.reportFullyImplicit(ss, &failureReport);
|
successReport.reportFullyImplicit(ss, &failureReport);
|
||||||
OpmLog::info(ss.str());
|
OpmLog::info(ss.str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user