Skip to content
Snippets Groups Projects
Commit ecb1e297 authored by Felix Gruber's avatar Felix Gruber Committed by Markus Blatt
Browse files

[bugfix] fix build without MPI

When MPI is not found, UG_ENABLE_PARALLEL is not defined in
CMakeLists.txt and thus, the preprocessor variable ModelP is
not defined. This in turn means that the message_buffer and
message_buffer_size member variables will not be defined which leads
to compilation errors in the accessor methods that use these member
variables.

To prevent these compilation errors when not using MPI, I moved the
accessor methods into #ifdef ModelP blocks.

(cherry picked from commit 3bced266)
parent 85468a1c
No related branches found
No related tags found
1 merge request!64[backport] Allow transferring element data during loadbalance for 2.5
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment