Segmentation violation after new ParallelNetManager
Posted: Fri Jul 31, 2009 4:02 pm
I am trying to change the network topology with each run in a loop of simulations. With each run, I want to create a ParallelNetManager, create the cells, and perform the assignments. After my first configuration (whether I actually run or not), if I clear all my cells and lists and attempt a new configuration, shortly after calling pnm=new ParallelNetManager(), I get a segmentation violation. (I don't get the segmentation violation with a new ParallelNetManager, but some subsequent call will have the segmentation violation, which is variable, because I can move subsequent statements around and get the violation on various functions).
I assume that something is not quite being cleared or initialized correctly. Any hints? Is there a way to unregister GIDs and cells, or does new ParallelNetManager() do that?
Thanks,
Tom
I assume that something is not quite being cleared or initialized correctly. Any hints? Is there a way to unregister GIDs and cells, or does new ParallelNetManager() do that?
Thanks,
Tom