grins icon indicating copy to clipboard operation
grins copied to clipboard

Why the valgrind complaint for Antioch/ReactingLowMach?

Open pbauman opened this issue 10 years ago • 0 comments

Dumped the trace below. valgrind complaining about conditional depending on uninitialised value, but I don't see how either is uninitialized. Opened this issue to poke at in the future (because we want valgrind to run clean). ==14245== Conditional jump or move depends on uninitialised value(s) ==14245== at 0x532B9FF: GRINS::AntiochEvaluatorAntioch::StatMechThermodynamics::check_and_reset_temp_cache(double const&) (antioch_evaluator.C:78) ==14245== by 0x532B95E: GRINS::AntiochEvaluatorAntioch::StatMechThermodynamics::omega_dot(GRINS::CachedValues const&, unsigned int, std::debug::vector<double, std::allocator >&) (antioch_evaluator.C:68) ==14245== by 0x52B136A: GRINS::ReactingLowMachNavierStokesGRINS::AntiochWilkeTransportMixture<Antioch::StatMechThermodynamics<double, Antioch::MixtureViscosityAntioch::BlottnerViscosity<double, double>, Antioch::EuckenThermalConductivityAntioch::StatMechThermodynamics, Antioch::ConstantLewisDiffusivity >, GRINS::AntiochWilkeTransportEvaluatorAntioch::StatMechThermodynamics<double, Antioch::MixtureViscosityAntioch::BlottnerViscosity<double, double>, Antioch::EuckenThermalConductivityAntioch::StatMechThermodynamics, Antioch::ConstantLewisDiffusivity > >::compute_element_time_derivative_cache(GRINS::AssemblyContext const&, GRINS::CachedValues&) (reacting_low_mach_navier_stokes.C:656) ==14245== by 0x5232D8C: GRINS::MultiphysicsSystem::general_residual(bool, libMesh::DiffContext&, void (GRINS::Physics::)(bool, GRINS::AssemblyContext&, GRINS::CachedValues&), void (GRINS::Physics::)(GRINS::AssemblyContext const&, GRINS::CachedValues&)) (multiphysics_sys.C:190) ==14245== by 0x52330AD: GRINS::MultiphysicsSystem::element_time_derivative(bool, libMesh::DiffContext&) (multiphysics_sys.C:218) ==14245== by 0x6E112C5: libMesh::SteadySolver::general_residual(bool, libMesh::DiffContext&, bool (libMesh::DifferentiablePhysics::)(bool, libMesh::DiffContext&), bool (libMesh::DifferentiablePhysics::)(bool, libMesh::DiffContext&)) (steady_solver.C:81) ==14245== by 0x6E110DF: libMesh::SteadySolver::element_residual(bool, libMesh::DiffContext&) (steady_solver.C:40) ==14245== by 0x6E4DD6C: (anonymous namespace)::assemble_unconstrained_element_system(libMesh::FEMSystem const&, bool, libMesh::FEMContext&) (fem_system.C:55) ==14245== by 0x6E4EF95: (anonymous namespace)::AssemblyContributions::operator()(libMesh::StoredRange<libMesh::MeshBase::const_element_iterator, libMesh::Elem const*> const&) const (fem_system.C:296) ==14245== by 0x6E558DE: void* libMesh::Threads::run_body<libMesh::StoredRange<libMesh::MeshBase::const_element_iterator, libMesh::Elem const*>, (anonymous namespace)::AssemblyContributions>(void) (threads.h:465) ==14245== by 0x6E5833A: void libMesh::Threads::parallel_for<libMesh::StoredRange<libMesh::MeshBase::const_element_iterator, libMesh::Elem const>, (anonymous namespace)::AssemblyContributions>(libMesh::StoredRange<libMesh::MeshBase::const_element_iterator, libMesh::Elem const*> const&, (anonymous namespace)::AssemblyContributions const&) clone ._omp_fn.0 ==14245== by 0x6E54524: void libMesh::Threads::parallel_for<libMesh::StoredRange<libMesh::MeshBase::const_element_iterator, libMesh::Elem const*>, (anonymous namespace)::AssemblyContributions>(libMesh::StoredRange<libMesh::MeshBase::const_element_iterator, libMesh::Elem const*> const&, (anonymous namespace)::AssemblyContributions const&) (threads.h:542) ==14245==

pbauman avatar Oct 01 '14 21:10 pbauman