Regarding DCE Download

107 views
Skip to first unread message

なえ

unread,
Jul 6, 2025, 3:57:20 AMJul 6
to ns-3-users

件名: Regarding DCE Download

Hi,

I apologize for this basic question, but I'm having trouble figuring out which directory I should download DCE from. I've been working in workspace/ns-allinone-3.34/, but I'm encountering a build error.

Could you please advise on the correct directory? Also, if there are any reference materials or post-NS3 download steps I should be aware of, I would greatly appreciate it if you could share them.

Thank you for your time.

Tom Henderson

unread,
Jul 13, 2025, 5:05:24 PMJul 13
to ns-3-...@googlegroups.com, なえ

DCE has not been actively maintained for some time, and in particular, it is limited to the use of some older versions of glibc  (Note: if anyone wants to work on this, let me know).

Parth Pratim Chatterjee worked on this in 2022, and made some progress, but I believe there is still some work to do to make it stable and to update to current systems.  See: https://www.nsnam.org/workshops/wns3-2022/08-chatterjee-slides.pdf

To directly answer your question, the 'bake' build tool is typically used to download DCE.  ns-3 has to be built using bake, and then ns-3-dce needs to be built and linked to the ns-3 libraries that have been installed in the bake build directory.  DCE's documentation about this (not updated recently) is here:  https://ns-3-dce.readthedocs.io/en/latest/getting-started.html

I was helping someone last year getting it to run in a Docker container based on a Ubuntu 16.04 image, and only works on ARM systems, and I think that this is probably the easiest way to get it up and running with recent ns-3 versions.  Please see this issue discussion: https://github.com/direct-code-execution/ns-3-dce/issues/143

This is for ns-3.34 release (the most recent release that I tried).  We start to get into compiler incompatibilities if we push it beyond ns-3.34.

Hope this helps,

Tom

--
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 visit https://groups.google.com/d/msgid/ns-3-users/ef135a45-60a0-479e-a9aa-8934df3edbc4n%40googlegroups.com.
Message has been deleted

なえ

unread,
Jul 18, 2025, 5:09:12 PMJul 18
to ns-3-users

Hi Tom,

Thanks again for all the helpful info on DCE!

Just a quick follow-up: You mentioned that the recommended setup for ns-3.34 is a Docker container with Ubuntu 16.04. I was wondering, would it be more stable or even feasible to try running ns-3.34 with dce-1.12 on Ubuntu 20.04 directly? Or do you think that would likely introduce more compatibility headaches compared to the Ubuntu 16.04 Docker approach you suggested?

Any insights you have on this would be greatly appreciated.

Thanks,
Nae

2025年7月14日月曜日 6:05:24 UTC+9 Tom Henderson:

Tom Henderson

unread,
Jul 18, 2025, 6:03:50 PMJul 18
to ns-3-...@googlegroups.com, なえ

Ubuntu 20.04 uses a glibc version (2.31) that is incompatible.  See the slides I cited below; there was a Google Summer of Code project in 2022 to update this so that we could run on Ubuntu 20.04 by building a separate custom glibc to link against.

It kind of works but it is not stable.  That is, certain simulation configurations will run but others will crash.  It is not yet suitable for release until fully debugged and we haven't had the time to go back to it.

- Tom

Reply all
Reply to author
Forward
0 new messages