[aspect-devel] Not all processors agree whether the last operation on this vector was an addition or a set operation.

Wolfgang Bangerth bangerth at colostate.edu
Fri Nov 24 21:30:53 PST 2017


On 11/24/2017 04:50 PM, Elbridge Gerry Puckett wrote:
> I'm running a benchmark an 2D annulus and after 2223 time steps I get this 
> error and a whole string of errors one after the other like this one, without 
> taking another time step.
> 
> Any ideas,  suggestions?
> 
> Thanks!
> 
> - Gerry
> 
>         Postprocessing:
>           Errors u_L1, p_L1, u_L2, p_L2, rho_L1, rho_L2, rho_Linf:
>     4.436822e+02, 2.420235e+03, 1.243902e+02, 9.358409e+02, 5.442952e+03,
>     2.203707e+03, 1.364592e+03
>           Number of advected particles: 3072
> 
>     *** Timestep 2223:  t=0.940216 seconds
>         Skipping temperature solve because RHS is zero.
> 
>     --------------------------------------------------------
>     An error occurred in line <223> of file
>     </home/egpuckett/deal.ii-candi/tmp/unpack/deal.II-v8.5.1/source/lac/trilinos_vector_base.cc>
>     in function
>          void
>     dealii::TrilinosWrappers::VectorBase::compress(dealii::VectorOperation::values)
>     The violated condition was:
>          result.max-result.min<1e-5
>     Additional information:
>          Not all processors agree whether the last operation on this vector
>     was an addition or a set operation. This will prevent the compress()
>     operation from succeeding.

Oh, no :-( I know what the error means (it's likely a bug in deal.II), but 
it's impossible to say why this happens without seeing a backtrace. Do you 
have a a backtrace at hand? Is the error reproducible?


This is a complete aside that does not make this problem go away, of course, 
but why are you running such long-running jobs in debug mode? You could save 
yourself a factor of 4 or more in run time by going to release/optimized mode. 
(But we'd still love to see what causes this error.)

Best
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bangerth at colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/



More information about the Aspect-devel mailing list