results from kdevelop is different from terminal
Mahmood Naderan
mahmood.nt at gmail.com
Mon Oct 10 19:10:06 BST 2011
>Or the fact that you once start from
>a terminal (and hence have proper readable stdin among other things).
Can you please explain?
The program is a simulator. As I pasted in the previous email, the
last compilation date is shown at the beginning of the run.
On 10/1/11, Milian Wolff <mail at milianw.de> wrote:
> Mahmood Naderan, 29.09.2011:
>> Dear developers,
>> I don't know what is wrong that the output of kdevelop running a
>> program is different from terminal... See the details:
>>
>> In the terminal, I run the following command
>>
>> ../../src/m2s -bpred:btb 8:2 -debug:syscall syscall.txt -cacheconfig
>> 4core.cache -report:cache black.cache -report:pipeline black.pipe
>> -fastfwd 40000000 -max_cycles 4000000 -ctxconfig black.arg -cores 4
>> -threads 1
>>
>> Hopefully the program print the last compile time and at the end,
>> print the results:
>>
>> Last compilation: Sep 28 2011 23:20:09
>> ....
>> sim.inst 16090421 # Total committed instructions
>> sim.ipc 4.023 # Global IPC
>> sim.predacc 0.9185 # Branch prediction accuracy
>>
>> In Kdevelop, I have created a launch for the above command. The output
>> of .kdev4/$project.kdev4 contains:
>>
>> [Launch][Launch Configuration 1][Data]
>> Arguments=-bpred:btb 8:2 -debug:syscall syscall.txt -cacheconfig
>> 4core.cache -report:cache black.cache -report:pipeline black.pipe
>> -fastfwd 40000000 -max_cycles 4000000 -ctxconfig black.arg -cores 4
>> -threads 1
>> Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00)
>> Dependency Action=Nothing
>> EnvironmentGroup=default
>> Executable=file:///home/mahmood/multi2sim-3.0.3/src/m2s
>> External Terminal=konsole --noclose --workdir %workdir -e %exe
>> Project Target=
>> Use External Terminal=false
>> Working Directory=file:///home/mahmood/multi2sim-3.0.3/parsec/blackscholes
>> isExecutable=true
>>
>>
>> When I press "execute launch", the output is:
>>
>> Last compilation: Sep 28 2011 23:20:09
>> ...
>> sim.inst 16118445 # Total committed instructions
>> sim.ipc 4.03 # Global IPC
>> sim.predacc 0.9184 # Branch prediction accuracy
>>
>>
>> As you can see the output values are different however the input
>> parameters are the same and the build date has hot been changed.
>>
>> What is wrong then?
>> Please share any suggestion
>
> Without knowing what your app does, this is completely impossible to answer.
> My guess: Environment vars are different. Or the fact that you once start
> from
> a terminal (and hence have proper readable stdin among other things).
>
> bye
> --
> Milian Wolff
> mail at milianw.de
> http://milianw.de
>
--
--
// Naderan *Mahmood;
More information about the KDevelop
mailing list