← Back to team overview

yade-users team mailing list archive

Re: [deprecated list] 2 equal starts - 2 different results

 

So, I need to compile YADE with -g option and then start valgrind again?

I should use -g with scons?
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/7/1 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>

> You should see in valgrind output where the uninitialised values are
> instanciated/used (provided you compiled with -g).
> I guess -O0 avoids optimizations, so that valgrind gives accurate results
> (optimisation can reorganise loops and such), I didn't know it was a
> prerequisite here, but it is probably not a bad thing.
>
> Bruno
>
> Anton Gladky a écrit :
>
>> It is not compiled with this option.
>> What is it for?
>> ______________________________
>> [ENG] Best Regards
>> [GER] Mit freundlichen Grüßen
>> [RUS] С наилучшими пожеланиями
>> [UKR] З найкращими побажаннями
>>
>> Anton Gladkyy
>>
>>
>> On Wed, Jul 1, 2009 at 5:03 PM, Vincent Richefeu <richefeu@xxxxxxxxx<mailto:
>> richefeu@xxxxxxxxx>> wrote:
>>
>>
>>    Le 1 juil. 09 à 16:51, Anton Gladky a écrit :
>>
>>
>>        Thank you, Bruno.
>>        It returns a lot of results, some of them are:
>>
>>        ==15154== Use of uninitialised value of size 8
>>        ==15154== Conditional jump or move depends on uninitialised
>>        value(s)
>>
>>        etc.
>>
>>
>>
>>    Just one point before you continue: check that yade is compiled
>>    with -O0 option...
>>
>>    _______________________________________________
>>    Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>>    <https://launchpad.net/%7Eyade-users>
>>    Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>>    <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
>>    Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>>    <https://launchpad.net/%7Eyade-users>
>>    More help   : https://help.launchpad.net/ListHelp
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> _______________
> Chareyre Bruno
> Maitre de conference
>
> Grenoble INP
> Laboratoire 3SR - bureau E145
> BP 53 - 38041, Grenoble cedex 9 - France
> Tél : 33 4 56 52 86 21
> Fax : 33 4 76 82 70 43
> ________________
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>

References