OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000586OMNeT++command line toolspublic2012-08-28 08:342013-04-05 10:11
Reportersebastian 
Assigned Totomi 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
Platformx86OSWindowsOS VersionXP, 2008 Server
Product Version4.2.2 
Target VersionFixed in Version 
Summary0000586: scavetool Error Message: 'Bad file number' when converting more than 314 files to CSV
DescriptionI'd like to use the scavetool in OMNeT++ 4.1 and 4.2.2, respectively. I made a simulation study with a big amount of runs and result files (about 10.000 .sca and .vec files). As I found the scavetool only supports an unsual number of 314
files when converting to CSV. In case I would like to convert more than 314 files in one single shot by using the input file name *.vec, I get the following error message:

Bad file number.

Is this the intended behaviour of scavetool and if, why only 314 files are supported?

Is there any fast and easy opportunity to convert an almost infinite amount (depending on the hardware) of .vec and .sca data to CSV for evaluation in MATLAB?
Additional InformationThis behaviour appears for both OMNeT++ 4.2.2 and 4.1
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000762)
andras (administrator)
2012-08-28 10:51

This is certainly not the intended behavior. Probably an OS limit on the number of open files.

What was the command line you used? (Was that the scalar or the vector files causing the error?)

As a workaround, maybe you could try converting the files in smaller batches.
(0000763)
sebastian (reporter)
2012-08-28 10:58

I used the following command:
scavetool scalar -p "(module(**.node[0].net) AND name(\"Number of used Timeslots\")) OR (module(**.node[1].appl) AND name(\"Number of received bits\"))" -O throughput.csv -F csv *.sca

However, the same happened to the vector files.

I would like to have the scalar output of the values given above within one single file. With this it would be easy to calculate the mean and what ever you want for the data.

Yes, what I did was to write an shell script which convert each(!) .vec and .sca into a .csv. This takes a long time (still running) and I have thousands of files.
(0000798)
sebastian (reporter)
2013-04-05 10:11

Hey folks,

could you please tell me if you are still working on this issue and when to expect a fix for this? I know there are many bugs but I guess a simulation tool without a data export to interpret the results is quite unusable :P

Cheers!
Sebastian

- Issue History
Date Modified Username Field Change
2012-08-28 08:34 sebastian New Issue
2012-08-28 10:51 andras Note Added: 0000762
2012-08-28 10:51 andras Assigned To => tomi
2012-08-28 10:58 sebastian Note Added: 0000763
2013-04-05 10:11 sebastian Note Added: 0000798


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker