-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Installation Issues with dce-linux-dev #106
Comments
you should enable MPI in your ns3-installation most likely (e.g., add it to the list of modules to compile, see ns-3 doc). |
Are you saying to build dce using waf? I tried to modify bakeconf.xml to add the Note that my use case doesn't require mpi. |
@realanda I have the same problem. |
I am saying you should build ns3 with mpi support since DCE cna't find the library (or build DCE without the library). |
Hi, I'm still struggling with this issue. I was unable to set up MPI via bake, but then I tried manually with the |
Hi. This is probably not the best way to do it (i.e. disable MPI in DCE), but it is easy to do it. Just remove the directory myscripts/dce-mpi-udp from the DCE distribution. Or rename it to mysqcripts/.dce-mpi-udp - it works just the same. And then I was able to build the DCE using waf (although initially I used "bake" for downloading everything and building everything, but it got stuck in building DCE because of the MPI error you mention above). The waf configure command I used is the one used by bake, namely: After fixing the MPI error, I still had to add this where "cmpfunc" is defined in bindings/python/ns3_module_dce.cpp in order to avoid the compilation error "error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive]": I have approximately the same OS/library configuration as yours: Ubuntu 16.04.2 LTS, python3.5, gcc/g++ 5.4.0, used ns-3-dev, ns-3-dce. |
DCE version (git log|head -n1):
commit 40c877996e416e271251061d881113a80548b04e
Operating system/version (lsb_release -a):
Libc version (ldd -v):
ldd (Ubuntu GLIBC 2.23-0ubuntu11) 2.23
compiler version (gcc -v/g++ -v/clang -v/clang++ -v):
Description of the problem & Steps to reproduce
I am new to DCE. I am trying the following the steps in the Quick Start guide in order to build DCE (with Linux Kernel).
all steps before the last command succeed with OK messages (i.e. check, show, download are successful). However, when I run the last command (i.e. python3 bake.py build -vvv)
I get the following messages:
It appears there is some issue with libns3-dev-mpi-debug.
Further, when I grep in the bake folder for libns3-dev-mpi-debug, I see the following output, which may be useful:
Note: I guess there are duplicate log messages because I attempted this installation multiple times.
=======================================
I would be grateful for any solution or advice regarding this issue.
The text was updated successfully, but these errors were encountered: