mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 05:10:34 +05:00
vampirtrace
This commit is contained in:
parent
e988f3e455
commit
d950e91a73
@ -68,7 +68,11 @@ int main(int argc, char ** argv)
|
|||||||
{
|
{
|
||||||
|
|
||||||
#ifdef PARALLEL
|
#ifdef PARALLEL
|
||||||
int mpi_required = MPI_THREAD_MULTIPLE, mpi_provided;
|
int mpi_required = MPI_THREAD_MULTIPLE;
|
||||||
|
#ifdef VTRACE
|
||||||
|
mpi_required = 0;
|
||||||
|
#endif
|
||||||
|
int mpi_provided;
|
||||||
MPI_Init_thread(&argc, &argv, mpi_required, &mpi_provided);
|
MPI_Init_thread(&argc, &argv, mpi_required, &mpi_provided);
|
||||||
|
|
||||||
MPI_Comm_size(MPI_COMM_WORLD, &netgen::ntasks);
|
MPI_Comm_size(MPI_COMM_WORLD, &netgen::ntasks);
|
||||||
|
Loading…
Reference in New Issue
Block a user