45 views
Skip to first unread message

sara Chafi

unread,
Apr 7, 2023, 12:20:16 AM4/7/23
to ns-3-...@googlegroups.com
Hello i'm using ns3 3.35 mmwave i try to simulate scenario but i get this error can any one help me plz 
terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --gdb").
Also the vizualiser and building python are not enable 
received_3404805899775619.jpeg

DEMETRIOS LAMBROPOULOS

unread,
Apr 7, 2023, 1:27:12 AM4/7/23
to ns-3-users
Hello Sara,

I am assuming, based on you mentioning ns3 3.35, that you are using release v5.0 of ns3-mmwave. The error you received says "Could not set default value for ns3::MmWavePhyMacCommon::ResourceBlockNum".

That attribute was removed I believe in release v3.0.

I am assuming you tried to set its value, i.e.
Config::SetDefault ("ns3::MmWavePhyMacCommon::ResourceBlockNum", value);

You should update your script to account for the removal of this attribute.

sara Chafi

unread,
Apr 8, 2023, 7:30:44 AM4/8/23
to ns-3-...@googlegroups.com
Hy thank u but how can i update my script !? 
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/6ff715c2-69c3-47a5-a23b-ba96171e8facn%40googlegroups.com.

Tommaso Pecorella

unread,
Apr 8, 2023, 9:26:03 AM4/8/23
to ns-3-users
I'd suggest to remove the offending line, especially if you have no clue of what it was used for, or why it was there.

If you know what that line was used for (and why it was important in the first place) you could dig through the code and find out an alternative way to accomplish the same.

My best guess is that you're just trying to execute an old script on a new version, and you don't want / are not able to find an updated script.

Just remember that blindly executing a script without understanding it is exactly as typing to use a magic artefact: you have no clue why or how it works, and you're simply doing "something" hoping to get a result that is pleasant for you. This might payout in some cases, but it won't advance your knowledge, or your experience. And the results will be useless, because without understanding how you did it, they could be as well purely random.

Hence... don't take the short path - find out why the attribute isn't anymore there, and how that value is set now. It took me 5 minutes to find out a 95% right explanation, so it won't take more than 1h to you. And no, I won't tell you because that will make you lazy.

Sara Sanaa

unread,
Apr 8, 2023, 4:34:59 PM4/8/23
to ns-3-...@googlegroups.com
Thank you i will try to fix the code or find the erreur in it .. what about python how can i enable it when i try ./waf configure python not enable i also try to add pybindgen from ns3 but doesn't work 

Reply all
Reply to author
Forward
0 new messages