← Back to team overview

yade-dev team mailing list archive

Re: float, double, the DOUBLE_PRECISION flag

 

Ok, I just reinstalled vallgrind. Now I can profile something like Kate, 
but valgrind still return the same error when I try with Yade :
 ./yade: /usr/lib/debug/libstdc++.so.6: version `GLIBCXX_3.4.5' not 
found (_required by ./yade_)

What I see below is not specifically related to the triaxial test.
However it's still possible that the triaxial test uses  
PhysicalActionContainer (or PhysicalActionInitializer) the wrong way...

Bruno


Vaclav SMILAUER a écrit :

>Bruno, valgrind works here. Valgring even catches some stuff going on 
>with PhysicalActionVectorVectorIterator::increment() - see below. Do you 
>fiddle with that somehow or is it not realted to triaxial test?
>
>...
>Computing 20000 iterations
>Using timestep: 0.1
>Saving snapshot every 4000 iterations,
>to filename: traixial_[0-9]
>StiffnessMatrixTimeStepper, newDt is:1.79769e+308
>new timestep chosen is:0.0003
>==1228==
>==1228== Conditional jump or move depends on uninitialised value(s)
>==1228==    at 0x5D472A3: 
>PhysicalActionVectorVectorIterator::increment() 
>(PhysicalActionVectorVectorIterator.cpp:41)
>==1228==    by 0x5FDCED4: 
>PhysicalActionContainerIteratorPointer::operator++() 
>(PhysicalActionContainerIteratorPointer.hpp:46)
>==1228==    by 0x628AFFE: PhysicalActionDamper::action(Body*) 
>(PhysicalActionDamper.cpp:20)
>==1228==    by 0x80E5FF8: MetaBody::moveToNextTimeStep() (MetaBody.cpp:65)
>==1228==    by 0x80FD114: NullGUI::loop() (NullGUI.cpp:152)
>==1228==    by 0x80FDFCB: NullGUI::run(int, char**) (NullGUI.cpp:109)
>==1228==    by 0x812A88D: main (yade.cpp:182)
>==1228==
>==1228== Conditional jump or move depends on uninitialised value(s)
>==1228==    at 0x5D472A3: 
>PhysicalActionVectorVectorIterator::increment() 
>(PhysicalActionVectorVectorIterator.cpp:41)
>==1228==    by 0x5FDCED4: 
>PhysicalActionContainerIteratorPointer::operator++() 
>(PhysicalActionContainerIteratorPointer.hpp:46)
>==1228==    by 0x5FD910A: PhysicalActionApplier::action(Body*) 
>(PhysicalActionApplier.cpp:19)
>==1228==    by 0x80E5FF8: MetaBody::moveToNextTimeStep() (MetaBody.cpp:65)
>==1228==    by 0x80FD114: NullGUI::loop() (NullGUI.cpp:152)
>==1228==    by 0x80FDFCB: NullGUI::run(int, char**) (NullGUI.cpp:109)
>==1228==    by 0x812A88D: main (yade.cpp:182)
>UnbalancedForce=nan
>StiffnessMatrixTimeStepper, newDt is:1.79769e+308
>new timestep chosen is:0.0003
>UnbalancedForce=nan
>UnbalancedForce=nan
>UnbalancedForce=1
>UnbalancedForce=0.5
>UnbalancedForce=0.56172
>UnbalancedForce=0.588065
>UnbalancedForce=0.520844
>UnbalancedForce=0.501675
>_______________________________________________
>yade-dev mailing list
>yade-dev@xxxxxxxxxxxxxxxx
>https://lists.berlios.de/mailman/listinfo/yade-dev
>
>  
>


-- 
_______________
Chareyre Bruno
Maître de conférence

Institut National Polytechnique de Grenoble
Laboratoire 3S (Soils Solids Structures) - bureau I08
BP 53 - 38041, Grenoble cedex 9 - France     
Tél : 04.56.52.86.21
________________

_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References