ORBIT-USER: OML Logging
chris at orderonenetworks.com
chris at orderonenetworks.com
Mon Aug 14 07:59:38 EDT 2006
It turns out my problem was that I assumed a crash occured because the
correct parameters were not be passed through the command line to
initialize_oml. It turns out the real issue was an extra '&'.
If you look at page
http://www.orbit-lab.org/wiki/Tutorial/CollectMeasurements under
'Application Code Sample', you see the line:
initialize_oml(&argc, &argv, NULL);
it should be (at least the way it solved it for me)
initialize_oml(&argc, argv, NULL);
I spent _hours_ assuming the crash was because the --oml* parameters were
not being passed when I typed in the command line myself to check my code,
but when the nodehandler called my app, it would pass those and all would
be fine. When I logged my command line to disk, the nodehandler never sent
them, so I spent ages trying to figure out why not. Turns out I was
chasing the wrong thing..
Thanks everyone for the help.
Chris
> The -n options does create a database in the OML database?
>
> It shouldn't. Could you please report that in Trac?
>
> Thanks,
>
> -max
>
> On 8/14/06, Daryl Siu <dsbruin at gmail.com> wrote:
>> Are you running the experiment with the -n option? That's what happened
>> to
>> me. Don't use -n and it should work fine.
>>
>> Daryl
>>
>>
>> On 8/13/06, Max Ott < max at semandex.net> wrote:
>> > Chris,
>> >
>> > Please ALWAYS include the experiment ID and the experiment script.
>> > Without that it is pretty hard to figure out what went wrong.
>> >
>> > I did an OML experiment yesterday and saw the arguments being sent.
>> >
>> > Now, I can see that you are using a single node apparently in two
>> > different node sets. While that shouldn't be a problem, there could be
>> > some unexpected interactions. I'm already puzzled why it reports two
>> > nodes.
>> >
>> > Anyway, experiment ID and script would be helpful.
>> >
>> > Thanks,
>> >
>> > -max
>> >
>>
>>
>>
>> --
>> Daryl Siu
>
>
> --
> Dr. Max Ott
> Research Program Leader - Network and Pervasive Computing, NICTA Australia
> Founder & CTO, Semandex Networks
> Research Professor, WINLAB, Rutgers University
>
More information about the orbit-user
mailing list