Leach Simulation Problem

745 views
Skip to first unread message

Vikash

unread,
Dec 24, 2011, 9:06:02 AM12/24/11
to omnetpp
Dear All,

I want to take help regarding the simulation of the omnet project.

I have modified the LEACH routing protocol that I got from omnet
website itself, and now when I execute the simulation, I got the
following error:-

OMNeT++ Discrete Event Simulation (C) 1992-2010 Andras Varga, OpenSim
Ltd.
Version: 4.1, build: 100611-4b63c38, edition: Academic Public License
-- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

<!> Error during startup: Unknown configuration key: verbose-
simlation.

End.

I request you to please suggest me how these errors would be
corrected. I want to use the modified Leach protocol in my one of the
module of PHD work.


Thank You.

Vikash

Vikash

unread,
Dec 24, 2011, 9:14:19 AM12/24/11
to omnetpp
Dear All,

Actually I have copied the leach protocol from the Omnet website. The
protocol was build on omnet 3.3 version and currently I am using omnet
4.1. So, for successful execution of the program, I have migrated both
automatically and manually and also change the name of the folder as
leachDistOld.
Now when I execute the protocol the following error is occurred.

vikash@vikash-desktop:~/omnetpp-4.1/samples/leachDistOld$ ./
leachDistOld
OMNeT++ Discrete Event Simulation (C) 1992-2010 Andras Varga, OpenSim
Ltd.
Version: 4.1, build: 100611-4b63c38, edition: Academic Public License
-- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

<!> Error during startup: Unknown configuration key: verbose-
simlation.

End.


Please suggest me immediately how to solve this problem! For this
reason my PHD work is pending.

Vikash

Aman Zia

unread,
Dec 24, 2011, 9:47:38 AM12/24/11
to omn...@googlegroups.com
kindly guide me
 i want to send the my information in sending packet in the net80211 aodv example of inetmanet 


Vikash

--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp



--
 
 
 
Regards

Riham

unread,
Dec 24, 2011, 11:36:21 AM12/24/11
to omnetpp
Hi Vikash

Unfortunatly, it is not that simple you have to hardcode the program,
the old leach code was written with both omnet 3 and mobility
framework, the new omnet 4.1 doesn't support Mobility
framework,instead it support mixim framework. I tried the migration
before but it didn't work. so after searching i think we have one of
two options:
1- write the code from the begining using mixim
2-there is a group who modified the mobility framework to work with
omnet4.1

i was going to explore option 2 and run the program under it but iam
in the middle of my exams

Also do you know if we should do the clustering in the network layer
or in the Mac layer? because the old code is not clear in that

Thanks

vikash singh

unread,
Dec 25, 2011, 1:13:28 AM12/25/11
to omn...@googlegroups.com
Dear Riham,

Yes, the leach code was written with omnet 3 but I have migrated it manually and correct the lots of errors because there are lots of
methods and data members which are not supported by omnet 4.1 like parentModule() is changed into getParentModule() and so on..
Now there is no any errors that I got. My code is compiled successfully but when I use to run the simulation with ./leachDistOld then the
following errors are coming

OMNeT++ Discrete Event Simulation  (C) 1992-2010 Andras Varga, OpenSim Ltd.
Version: 4.1, build: 100611-4b63c38, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

<!> Error during startup: Unknown configuration key: verbose- simlation.

As you told me your exam is going on so you plz study for the exam but can I contact those group who modified the mobility framework to work with omnet4.1??

Also, Since the omnet basically used in MAC layer so I think the clustering should be done in MAC layer itself..

Thank You...

--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp



--
Regards,
Vikash Kumar Singh
Assistant Professor II , CA
Sikkim Manipal Institute of Technology
Majitar, East Sikkim - 737136
UnivMail ID:vika...@livemail.smu.edu.in
Contact No:+91-9932954599
              


Riham Elhabyan

unread,
Dec 25, 2011, 8:46:54 AM12/25/11
to omn...@googlegroups.com
hi vikash
 
indeed, i tried wat you did and i got the same error.
you can check about mobility framwork for omnet 4.1 in
 
plz, i you found out that it works, let me know.
so you mean that the omnet do the clustering  automatically on omnet or how to control doing it in the mac layer
 
thanks

vikash singh

unread,
Dec 26, 2011, 5:17:04 AM12/26/11
to omn...@googlegroups.com
Dear Riham,

Sorry! I don't know exactly that how clustering would be done in the MAC layer.

One more thing--do you know my leach simulation problem is the "mobility framework problem with omnet 4.1?
I think it may be the problem of mobility but along with that is it not the problem of receiving license from the GNU GPL?
As I concern we have to take the copy of the license from the author....but what is the procedure, I don't know?

If U know plz guide me...and I am also seeing the mobility part also.

Thanks

Riham Elhabyan

unread,
Dec 26, 2011, 9:14:32 AM12/26/11
to omn...@googlegroups.com
hi vikash
 
 
sorry, i don't know how, and i don't think it is a license problem. i think the problem is that mobility framework does not work with omnet 4.1, that is why i was going to try the modified one i told you about
 
good luck

Riham Elhabyan

unread,
Dec 29, 2011, 8:02:07 AM12/29/11
to omn...@googlegroups.com
hi vikash
 
did you found any  luck?

Marjan M

unread,
May 3, 2012, 3:58:26 AM5/3/12
to omn...@googlegroups.com
hi
i need it. if u have any information about it, please help me. i need your help
thanks
best regards

Saeid Pourroostaei Ardakani

unread,
Jul 15, 2013, 7:45:46 AM7/15/13
to omn...@googlegroups.com

Hi Vikash

Could you please let me know if you could convert SolarLEACH to the new version? I really need it for Omnet++4.x, I tried to convert it however got some similar errors!
thanks 
Saeid

Samira Harrabi

unread,
Aug 30, 2014, 6:24:47 PM8/30/14
to omn...@googlegroups.com
Hi Vikash can u send to me the new version of LEACH protocol?

Abdallah Abdelmlik

unread,
Sep 17, 2014, 9:59:12 AM9/17/14
to omn...@googlegroups.com
Hi Vikash can u send to me the source code of LEACH protocol in omnet++ 4.1 ?
Reply all
Reply to author
Forward
0 new messages