noxim
noxim copied to clipboard
Assertion Error
Hi, I am trying to simulate this file
porposed_config.docx
everything ok with other traffic but when i simulated with TRAFFIC_BIT_REVERSAL, TRAFFIC_SHUFFLE, TRAFFIC_BUTTERFLY, I get this error
What's the problem?
Have you tried different mesh sizes ?(e.g., 8x8). I dont remember exactly, but it seems that those kind of traffics have some assumptions about the "shape" of the mesh, like being a power of 2 or something like that..
Thanks for responding dear professor,
Yes I Try 10x10, and the problem is from "Utils.h" file this part:
How can I fix this problem? Which part of the Noxim must be changed?
what don't you just put some print messages to debug the values...
I didn't understand the point. What are print messages?
@taadaal You can use cout
to print messages. That'll help you to see the transition of states. From the error you have pasted, it looks like your modification has caused it to exceed mesh_dim_y
. Meaning if the max value of y dimension is 10, your changes have just gone above 10 and the assertion has failed.