OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000456OMNeT++runtime / Cmdenvpublic2011-11-23 20:422011-12-09 20:46
ReporterRRTyagi 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version4.2 
Target VersionFixed in Version 
Summary0000456: Akaroa 2.7.9 does not work for aloha example
DescriptionI have Akaroa 2.7.9 installed on two x86/64 GNU/Linux Ubuntu 11.10 machines (one with an AMD Phenom II 4-core processor and other with Intel core2duo 2-core processor).

After installing OMNeT++ v4.2, I tried to run the command as described in akaroa.ini file for the aloha sample after starting akmaster and akslave, i.e.

akrun -n 3 -c 0.90 -- ./aloha -u Cmdenv -c PureAloha1 akaroa.ini

The program runs and shows 3 processes and their pid, but 'akstat -G' shows no parameters. Eventually, a 'connection lost' error message is displayed.

I have compiled and ran the simulation on both machines with the same results.
Additional InformationInclusion of akaroa header file and explicitly calling akaroa functions solves the problem.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000642)
amcassidy (reporter)
2011-12-09 20:46

I've confirmed this on my system with Akaroa 2.7.9 and OMNet++ v4.2 on x86_64 OpenSuse 12.1. It doesn't seem to be a problem with OMNet++ itself. In the file, akoutvectormgr.cc from OMNet source code, calling (assuming more than 5 parameters registered) :
AkObservation(1, value);
AkObservation(5, value);
directly, Akaroa will treat those observation but not with AkObservation(vp->ak_id, value); in the original code. I can't figure out why this is the case. A problem with the linking or Akaroa itself? Anyone can help?

- Issue History
Date Modified Username Field Change
2011-11-23 20:42 RRTyagi New Issue
2011-12-09 20:46 amcassidy Note Added: 0000642


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker