From: Timo Heister Date: Wed, 18 Sep 2013 15:39:17 +0000 (+0000) Subject: disable checking MPI_init_thread return value because some implementations always... X-Git-Tag: v8.1.0~774 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eac68e5eaf2b2ca5b139ee9116269878d554af5;p=dealii.git disable checking MPI_init_thread return value because some implementations always return _SINGLE. git-svn-id: https://svn.dealii.org/trunk@30799 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/base/mpi.cc b/deal.II/source/base/mpi.cc index 42cb93d88e..4b93f9be56 100644 --- a/deal.II/source/base/mpi.cc +++ b/deal.II/source/base/mpi.cc @@ -361,8 +361,10 @@ namespace Utilities mpi_err = MPI_Init_thread(&argc, &argv, wanted, &provided); AssertThrow (mpi_err == 0, ExcMessage ("MPI could not be initialized.")); - Assert(max_num_threads==1 || provided != MPI_THREAD_SINGLE, - ExcMessage("MPI reports that we are not allowed to use multiple threads.")); + + // disable for now because at least some implementations always return MPI_THREAD_SINGLE. + //Assert(max_num_threads==1 || provided != MPI_THREAD_SINGLE, + // ExcMessage("MPI reports that we are not allowed to use multiple threads.")); #else // make sure the compiler doesn't warn // about these variables