Hello!
I've got the following idea: I want to make a mesh network in NS3 that is going to run on an embedded platform. This embedded platform runs just pure C code. In embedded environment it is normal to declare static variables. Lets say each node has to have its own static variable X with its own unique value. Implementing this in the default NS3 setting is not possible since these statics in C would collide.
I've got several options.
1) Use Direct Code Execution. This is possible, but I have problems with installing it. So far the best option. I'm working on MacOs now, I will switch to Ubuntu to see how it goes there.
2) Use some MPI distributed computing setup. However, I have a shared spectrum channel and not a point-to-point interface. It's a wireless sensor network. In the documentation it is made clear that the current implementation is " .. for distributed purposes in ns-3 can only occur across point-to-point links".
3) Write my own sub-process implementation with inter process communication (pipes probably). Cumbersome solution but will probably work.
4) Dont use statics. This means porting and full code testing in ns3 is therefore not possible.
Cheers!