mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fix building without MPI
This commit is contained in:
parent
05c01ee884
commit
2072f70f7f
@ -498,7 +498,6 @@ namespace ngcore
|
||||
#ifdef PARALLEL
|
||||
if(MPI_Loaded())
|
||||
comm = NgMPI_Comm(NG_MPI_COMM_WORLD);
|
||||
#endif
|
||||
if(comm.Size()>1)
|
||||
{
|
||||
auto comm = NgMPI_Comm(NG_MPI_COMM_WORLD);
|
||||
@ -528,6 +527,7 @@ namespace ngcore
|
||||
}
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
container_nodes.reserve(num_nodes);
|
||||
for(int i=0; i<num_nodes; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user