Error: No castalia input files found in this directory

瀏覽次數:187 次
跳到第一則未讀訊息

Atto

未讀,
2014年9月20日 上午9:23:392014/9/20
收件者:castalia-...@googlegroups.com
Hi All,

I am recently facing this problem when simulating my old simulation scenarios. I just got this when trying to rebaplicate my results which I have done 2-3 months ago. So I just make copy and past the whole Castalia folder which was saved in my archive and trying  to simulate and get the same results again to make some improvments and do more simulation.  But I am facing the error indecated in the subject of this message. If any one has faced this problem it will be appreciated if he or she could help me out please.

Muhsin

Abudalkhalek Hussien

未讀,
2014年9月20日 上午10:07:032014/9/20
收件者:castalia-...@googlegroups.com
hi atto!
i think  the terminal is not recognizing bin/Castalia ( i'm not sure)
try to check the path environment variable for export PATH=$PATH:~/Castalia/bin
or try to use: 
../../bin/Castalia -c General

Muhsin Atto

未讀,
2014年9月20日 上午10:08:432014/9/20
收件者:castalia-...@googlegroups.com
Hi Hussein 
Thanks for the reply. I have tried these but still getting the same.  
Muhsin 
--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/8876e3d5-1974-44a9-a66e-26134147ba98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maryam Farahani

未讀,
2014年9月20日 上午11:57:142014/9/20
收件者:castalia-...@googlegroups.com

hi,
please help me to calculate end-to-end delay in castalia

Muhsin Atto

未讀,
2014年9月20日 中午12:15:122014/9/20
收件者:castalia-...@googlegroups.com
Hi

These  4 lines of codes can be used for calculating delay for end to end packet at the destination node in msec.  Assuming that the received packet at the application layer at the destination node is (msg).

ApplicationPacket *rcvPacket = check_and_cast <ApplicationPacket*>(msg);
AppNetInfoExchange_type info = rcvPacket->getAppNetInfoExchange();
int sequence = rcvPacket->getSequence();
double delay = 1000 * SIMTIME_DBL(simTime() - info.timestamp) ;

trace()<<" delay for packet # "<<sequence<<" is  "<<delay<<endl;

Hope these help you and please when you ask question do not use my personal email.



--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.

Muhsin Atto

未讀,
2014年9月20日 下午1:46:592014/9/20
收件者:castalia-...@googlegroups.com
Hi All,

Problem has been solved. Thanks.

Muhsin

--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.

Maryam Farahani

未讀,
2014年9月21日 凌晨2:39:532014/9/21
收件者:castalia-...@googlegroups.com
hi,
thanks for helping, exceuse me for mistake in type question here, but
this code shoud be place in .cc file?

On 9/20/14, Muhsin Atto <dare...@gmail.com> wrote:
> Hi
>
> These 4 lines of codes can be used for calculating delay for end to end
> packet at the destination node in msec. Assuming that the received packet
> at the application layer at the destination node is (msg).
>
> ApplicationPacket *rcvPacket = check_and_cast <ApplicationPacket*>(msg);
> AppNetInfoExchange_type info = rcvPacket->getAppNetInfoExchange();
> int sequence = rcvPacket->getSequence();
> double delay = 1000 * SIMTIME_DBL(simTime() - info.timestamp) ;
>
> trace()<<" delay for packet # "<<sequence<<" is "<<delay<<endl;
>
> Hope these help you and please when you ask question do not use my personal
> email.
>
>
>
> On Sat, Sep 20, 2014 at 4:57 PM, Maryam Farahani <mfara...@gmail.com>
> wrote:
>
>>
>> hi,
>> please help me to calculate end-to-end delay in castalia
>> On Saturday, September 20, 2014 9:23:39 AM UTC-4, Atto wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Hi All, I am recently facing this problem when simulating my old
>>> simulation scenarios. I just got this when trying to rebaplicate my
>>> results
>>> which I have done 2-3 months ago. So I just make copy and past the whole
>>> Castalia folder which was saved in my archive and trying to simulate
>>> and
>>> get the same results again to make some improvments and do more
>>> simulation. But I am facing the error indecated in the subject of this
>>> message. If any one has faced this problem it will be appreciated if he
>>> or
>>> she could help me out please. Muhsin *
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Castalia Simulator" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to castalia-simula...@googlegroups.com.
>> To post to this group, send email to castalia-...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/castalia-simulator/d5dd97f8-2a4a-4722-b438-ef739026381c%40googlegroups.com
>> <https://groups.google.com/d/msgid/castalia-simulator/d5dd97f8-2a4a-4722-b438-ef739026381c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Castalia Simulator" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/castalia-simulator/C1obfOam8Zg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> castalia-simula...@googlegroups.com.
> To post to this group, send email to castalia-...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/castalia-simulator/CAGKEhyHzkRWuPMkUW3CyUs-hYfsaA-jXrx21eU2h-XWH%3DrpvWw%40mail.gmail.com.

lubna hashlamoun

未讀,
2022年8月12日 凌晨4:19:462022/8/12
收件者:Castalia Simulator
hi
i use this 4 line for calculating delay but i get error 
src/node/application/VirtualApplication.cc:94:30: error: 'class ApplicationPacket' has no member named 'getSequence'     int sequence = rcvPacket->getSequence();
回覆所有人
回覆作者
轉寄
0 則新訊息