Not tested yet. The compilation of both libraries separated works fine with
the Intel MPI toolkit, but the combination does not.
Should I test that (i.e. recompile all libraries using OpenMPI), or are
there other possible fixes?
Am Samstag, 8. Juli 2017 22:33:24 UTC+2 schrieb Bruno Turcksin:
>
> Hi,
>
> do you have the same problem with openmpi or mpich? If I remember
> correctly, we had problems in the past with Intel MPI
>
> Best,
>
> Bruno
>
>
> On Saturday, July 8, 2017 at 1:55:46 PM UTC-4, Maxi Miller wrote:
>>
>> When compiling deal.II without Trilinos, the compilation works. When
>> including Trilinos, I get a lot of errors, beginning with:
>>
>> In file included from /usr/local/include/ml_epetra_utils.h:42:0,
>>> from
>>> /usr/local/include/ml_MultiLevelPreconditioner.h:86,
>>> from
>>> ~/Downloads/dealii/source/lac/trilinos_precondition_ml.cc:33:
>>> /usr/local/include/mpi.h:157:16: error: redefinition of ‘struct
>>> MPI_Status’
>>> typedef struct MPI_Status {
>>> ^~~~~~~~~~
>>> In file included from
>>> ~/Downloads/dealii/build/include/deal.II/base/config.h:328:0,
>>> from
>>> ~/Downloads/dealii/include/deal.II/lac/trilinos_index_access.h:19,
>>> from
>>> ~/Downloads/dealii/source/lac/trilinos_precondition_ml.cc:16:
>>> /opt/intel/compilers_and_libraries/linux/mpi/include64/mpi.h:679:16:
>>> note: previous definition of ‘struct MPI_Status’
>>> typedef struct MPI_Status {
>>> ^~~~~~~~~~
>>> In file included from /usr/local/include/ml_epetra_utils.h:42:0,
>>> from
>>> /usr/local/include/ml_MultiLevelPreconditioner.h:86,
>>> from
>>> ~/Downloads/dealii/source/lac/trilinos_precondition_ml.cc:33:
>>> /usr/local/include/mpi.h:162:3: error: conflicting declaration ‘typedef
>>> int MPI_Status’
>>> } MPI_Status;
>>>
>>
>> Compilation is done using mpicc/mpicxx from the Intel MPI package.
>> Configuration and project generation using cmake works without any errors.
>> How can I fix that? Did I forgot anything?
>>
>>
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.