mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
Startup message with MPI
This commit is contained in:
parent
402731ea7d
commit
a330ad3019
@ -110,21 +110,7 @@ int main(int argc, char ** argv)
|
|||||||
|
|
||||||
|
|
||||||
#ifdef PARALLEL
|
#ifdef PARALLEL
|
||||||
if (netgen::ntasks == 1)
|
cout << "Including MPI version " << MPI_VERSION << '.' << MPI_SUBVERSION << endl;
|
||||||
{
|
|
||||||
cout << "Run parallel Netgen with 'mpirun -np xy netgen'" << endl;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
cout << "Running MPI - parallel using "
|
|
||||||
<< netgen::ntasks << " processor"
|
|
||||||
<< ((netgen::ntasks > 1) ? "s " : " ") << endl;
|
|
||||||
|
|
||||||
cout << "MPI-version = " << MPI_VERSION << '.' << MPI_SUBVERSION << endl;
|
|
||||||
|
|
||||||
if (mpi_provided == MPI_THREAD_MULTIPLE)
|
|
||||||
cout << "multithreaded MPI is supported" << endl;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user