Skip to content
Snippets Groups Projects
Commit 8cccdc41 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'issue/fix-communicationtest' into 'master'

Add missing config.h include in communicationtest.cc

See merge request !954
parents b0aa12e6 a51e5f68
Branches
Tags
1 merge request!954Add missing config.h include in communicationtest.cc
Pipeline #35160 passed
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <dune/common/parallel/mpihelper.hh>
int main(int argc, char** argv)
{
......@@ -28,14 +32,14 @@ int main(int argc, char** argv)
Dune::MPIHelper::MPICommunicator comm = Dune::MPIHelper::getCommunication();
#if HAVE_MPI
if (MPI_COMM_SELF != Dune::MPIHelper::getLocalCommunication())
if (MPI_COMM_SELF != Dune::MPIHelper::getLocalCommunicator())
{
std::cerr<<"Dune::MPIHelper::getLocalCommunication() gives wrong result"<<std::endl;
std::cerr<<"Dune::MPIHelper::getLocalCommunicator() gives wrong result"<<std::endl;
++ret;
}
if (MPI_COMM_WORLD != Dune::MPIHelper::getCommunication())
if (MPI_COMM_WORLD != Dune::MPIHelper::getCommunicator())
{
std::cerr<<"Dune::MPIHelper::getCommunication() gives wrong result"<<std::endl;
std::cerr<<"Dune::MPIHelper::getCommunicator() gives wrong result"<<std::endl;
++ret;
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment