Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A fix to postprocessers which crash with deal.ii 8.5.0-pre. #910

Merged
merged 1 commit into from Jun 10, 2016

Conversation

MFraters
Copy link
Member

@MFraters MFraters commented Jun 8, 2016

Initializing the vectors used for MPI function to the correct size to prevent crashes as described in #909.

I checked most post-processors (basic statistics, boundary densities, boundary pressures, composition statistics, depth average, dynamic topography, heat flux statistics, heating statistics, mass flux statistics, point values, pressure statistics, Stokes residual, temperature statistics, velocity boundary statistics, velocity statistics, viscous dissipation statistics,visualization) by running them. I but I didn't run command, spherical velocity statistics and topography (only checked out the code), because they where incompatible with the model I was testing it with and I assumed that spherical velocity statistics, topography are in the testing package anyway because they are fairly new and command doesn't seem to use a MPI all_reduce (sum, min, max).

@tjhei
Copy link
Member

tjhei commented Jun 8, 2016

thanks! /run-tests

@@ -153,7 +153,7 @@ namespace aspect
local_values.push_back (local_boundary_fluxes[*p]);

// then collect contributions from all processors
std::vector<double> global_values;
std::vector<double> global_values (local_values.size());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please change this to a single space after the variable name?

…ing the vectors used for MPI function to the correct size.
@bangerth bangerth merged commit 59706cd into geodynamics:master Jun 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants