-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running ns3-ai when using cmake to build ns3 #77
Comments
Hi, Flunzmas, Thanks for pointing out point 2. For 3, where did you run the a_plus_b example? If you copy the scripts to the |
I am running the scripts as indicated in your readme, e.g. copying EDIT: I have implemented a small hotfix for my local fork that deals with these changes executable paths, see here. That commit is probably breaking the functionality for other use cases, though, so not yet ready for a pull request. EDIT 2: This issue is related to #66 (which is closed already) |
We've made some new commits on the cmake branch. Please try to reinstall the python_interface as well. |
I am using ns3.36.1 (mind: I'm new to ns3 and ns3-ai), and had to tweak this repo's code in a few ways before I could get the a_plus_b example to work:
waf
tocmake
(see here, thens3
command replaces thewaf
command), meaning that contrib modules have to be shipped withCMakeLists.txt
files. I noticed that the cmake branch took care of just that, although with the new ns3 run command introduced in their commits so far I could not solve the issue introduced below in point 3.build_ns3
(link) is invalid since that line is not printed (anymore?). Is it a good idea to simply dook = proc.returncode == 0
?/bin/sh: ./a_plus_b: No such file or directory
. Changing line 59 ofa_plus_b/run.py
toexp = Experiment(mempool_key, mem_size, 'a_plus_b/ns3.36.1-sim-debug', '../../')
(i.e. appending the/ns3.36.1-sim-debug
to the path makes it work (EDIT: also applies to the rl-tcp example). Is this a bug or a result of changes in the ns3 code?The text was updated successfully, but these errors were encountered: