OMNeT++ 6.0 Preview 11 / INET issue

62 views
Skip to first unread message

Dragos Ilie

unread,
May 17, 2021, 2:23:07 PM5/17/21
to OMNeT++ Users
Hi,

I have a standard installation of OMNeT++ 6.0 Preview 11. The INET library was installed when prompted by the IDE that discovered an empty workspace. Based on the Version file, I have INET version inet-4.2.4-79b2b42752 installed.

When I use the IDE to run the AODV example under the inet4/examples folder I get the following error message: Cannot evaluate parameter 'initialZ': nanToZero(): Attempt to use the value '0m' as a dimensionless number -- in module (inet::StationaryMobility) AODVNetwork.host[0].mobility (id=32), during network setup

This behavior occurs both under native Mac OS (BigSur) and Ubuntu 20.04 VM (both DEBUG and RELEASE versions)

Am I missing some key settings? Does it work for others? Tried examples/manetrouting/DSDV with similar results.

Best regards,
Dragos

Rudolf Hornig

unread,
May 18, 2021, 5:33:27 AM5/18/21
to OMNeT++ Users
Indeed it seems that some changes were not backported to the 4.2 branch that are required by the omnet 6 preview11. I may release a new 4.2.5 version, but if you are fine with INET 4.3.2 that should work too.

Rudolf Hornig

unread,
May 18, 2021, 6:46:16 AM5/18/21
to OMNeT++ Users
Follow up:

I have released INET 4.2.5 which should fix this issue.

Dragos Ilie

unread,
May 18, 2021, 8:17:01 AM5/18/21
to omn...@googlegroups.com
Thanks! I can also confirm that the problem is not present in 4.3.2

Just to make sure I understand correctly: the 4.2 line stays compatible with both OMNeT++ 5 and 6, whereas the 4.3 line works only with OMNeT++ 6 - correct? Any other differences?


Best regards,
Dragos

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/3af3ca08-74f1-4e47-a171-244292e1e104n%40googlegroups.com.

Rudolf Hornig

unread,
May 19, 2021, 7:25:29 AM5/19/21
to OMNeT++ Users

Thanks! I can also confirm that the problem is not present in 4.3.2

Just to make sure I understand correctly: the 4.2 line stays compatible with both OMNeT++ 5 and 6, whereas the 4.3 line works only with OMNeT++ 6 - correct?

Yes. 4.2.x will be the line that compiles with the OMNET 5.x (or you can use 3.7.x if you need 3.x inet version fro some reason). If you are not comfortable using the 6.0 previews, you must stick with the 4.2 branch. 

As we add features in lockstep between OMNET 6 previews and INET 4.3+ we are also backporting changes to the 3.7.x, 4.2.x and 4.3.x and inet master.

So in essence:
OMNET 5.x -> use INET 4.2 or 3.7
OMNET 6 -> use INET 4.3+ (or 3.7 if really necessary)
 
Any other differences?
Obviously, there is a lot of additional functionality in INET 4.3+. compared to INET 4.2. (there is heavy work on TSN networking which will come in INET 4.4)

And to sow a bit more confusion, we *might* release OMNET 5.7 too around the final OMNET 6 release with some minor changes backported to ease the migration people.


Reply all
Reply to author
Forward
Message has been deleted
0 new messages