Use NDNx with DCE

164 views
Skip to first unread message

Moreno Ambrosin

unread,
Feb 5, 2014, 10:28:10 AM2/5/14
to ns-3-...@googlegroups.com
Hi,

I'm new to DCE and ns-3. I need to run NDNx (fork of the CCNx project) on DCE, but I'm not able to add it to DCE environment. Could you please help me?
 I tried to add the path of the executable files to DCE_PATH variable, but it still don't work.
I get the following error message:

assert failed. cond="exeFullPath.length () > 0", msg="Executable 'ndnd' not found !  Please check your DCE_PATH and DCE_ROOT environment variables.", file=../model/dce-manager.cc

Thanks in advance, 

Regards,
 Moreno

Emilio Mancini

unread,
Feb 5, 2014, 11:07:51 AM2/5/14
to ns-3-...@googlegroups.com
Hi,
I'm going to make some test, in the meanwhile could you try the following commands to manually install ndnx? (change INSTALL_BASE with your installation directory, mine is ~/dce_dev/build)

export INSTALL_BASE=~/dce_dev/build
export MORE_LDLIBS=-pie
./configure
make
make install

E




--
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 post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.

Moreno Ambrosin

unread,
Feb 5, 2014, 11:15:03 AM2/5/14
to ns-3-...@googlegroups.com
It worked!

Thanks a lot!

M


2014-02-05 Emilio Mancini <epma...@gmail.com>:

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/xZ8q_vx0pLc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.



--
Moreno Ambrosin

Moreno Ambrosin

unread,
Feb 10, 2014, 9:09:15 AM2/10/14
to ns-3-...@googlegroups.com
Hi, 

I have another question about DCE module. Is there a maximum number of applications that can be installed on the nodes of the simulation?

Running ndnd and ndndc on ~400 nodes (200 connected to a node, and other 200 to another node), I have the following error:

                      msg="Could not open "/var"", file=../model/dce-manager.cc, line=149 
                      terminate called without an active exception

With a smaller number of nodes (100 and 100) I have

                      assert failed. cond="((int)m_connectionQueue.size ()) < m_backlog", file=../model/unix-stream-socket-fd.cc, line=419


Any idea of what could be the problem?


--
Moreno Ambrosin

alina

unread,
Apr 8, 2014, 7:25:12 AM4/8/14
to ns-3-...@googlegroups.com
Hi,

Just got the same error when running a DCE simulation with over 200 nodes in a Fedora machine. This error is due to a "Too many open files" system error. You can work around this by increasing the open files per application limit (In Fedora you can change this limit by editing the /etc/security/limits.conf file)

Best,

Alina

Hajime Tazaki

unread,
Apr 26, 2014, 2:21:51 AM4/26/14
to ns-3-...@googlegroups.com

hi,

as alina pointed out, usually the Linux system has a limit
of the number of opened file descriptors, default by 1024 (I
guess?). the following old bugzilla entry may help if it
would be implemented.

https://www.nsnam.org/bugzilla/show_bug.cgi?id=1715

-- Hajime

At Tue, 8 Apr 2014 04:25:12 -0700 (PDT),
alina wrote:
>
> [1 <text/plain; UTF-8 (7bit)>]
> Hi,
>
> Just got the same error when running a DCE simulation with over 200 nodes
> in a Fedora machine. This error is due to a "Too many open files" system
> error. You can work around this by increasing the open files per
> application limit (In Fedora you can change this limit by editing the
> /etc/security/limits.conf file)
>
> Best,
>
> Alina
>
> On Monday, February 10, 2014 3:09:15 PM UTC+1, Moreno Ambrosin wrote:
> >
> > Hi,
> >
> > I have another question about DCE module. Is there a maximum number of
> > applications that can be installed on the nodes of the simulation?
> >
> > Running ndnd and ndndc on ~400 nodes (200 connected to a node, and other
> > 200 to another node), I have the following error:
> >
> > msg="Could not open "/var"",
> > file=../model/dce-manager.cc, line=149
> > terminate called without an active exception
> >
> > With a smaller number of nodes (100 and 100) I have
> >
> > assert failed. cond="((int)m_connectionQueue.size
> > ()) < m_backlog", file=../model/unix-stream-socket-fd.cc, line=419
> >
> >
> > Any idea of what could be the problem?
> >
> >
> >
> >
> > 2014-02-05 17:15 GMT+01:00 Moreno Ambrosin <mora...@gmail.com<javascript:>
> > >:
> >
> >> It worked!
> >>
> >> Thanks a lot!
> >>
> >> M
> >>
> >>
> >> 2014-02-05 Emilio Mancini <epma...@gmail.com <javascript:>>:
> >>
> >> Hi,
> >>> I'm going to make some test, in the meanwhile could you try the
> >>> following commands to manually install ndnx? (change INSTALL_BASE with your
> >>> installation directory, mine is ~/dce_dev/build)
> >>>
> >>> export INSTALL_BASE=~/dce_dev/build
> >>> export MORE_LDLIBS=-pie
> >>> ./configure
> >>> make
> >>> make install
> >>>
> >>> E
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Feb 5, 2014 at 4:28 PM, Moreno Ambrosin <mora...@gmail.com<javascript:>
> >>> > wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I'm new to DCE and ns-3. I need to run NDNx (fork of the CCNx project)
> >>>> on DCE, but I'm not able to add it to DCE environment. Could you please
> >>>> help me?
> >>>> I tried to add the path of the executable files to DCE_PATH variable,
> >>>> but it still don't work.
> >>>> I get the following error message:
> >>>>
> >>>> assert failed. cond="exeFullPath.length () > 0", msg="Executable 'ndnd'
> >>>> not found ! Please check your DCE_PATH and DCE_ROOT environment
> >>>> variables.", file=../model/dce-manager.cc
> >>>>
> >>>> Thanks in advance,
> >>>>
> >>>> Regards,
> >>>> Moreno
> >>>>
> >>>> --
> >>>> 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 <javascript:>.
> >>>>
> >>>> To post to this group, send email to ns-3-...@googlegroups.com<javascript:>
> >>>> .
> >>>> Visit this group at http://groups.google.com/group/ns-3-users.
> >>>> For more options, visit https://groups.google.com/groups/opt_out.
> >>>>
> >>>
> >>> --
> >>> You received this message because you are subscribed to a topic in the
> >>> Google Groups "ns-3-users" group.
> >>> To unsubscribe from this topic, visit
> >>> https://groups.google.com/d/topic/ns-3-users/xZ8q_vx0pLc/unsubscribe.
> >>> To unsubscribe from this group and all its topics, send an email to
> >>> ns-3-users+...@googlegroups.com <javascript:>.
> >>> To post to this group, send email to ns-3-...@googlegroups.com<javascript:>
> >>> .
> >>> Visit this group at http://groups.google.com/group/ns-3-users.
> >>> For more options, visit https://groups.google.com/groups/opt_out.
> >>>
> >>
> >>
> >>
> >> --
> >> Moreno Ambrosin
> >>
> >
> >
> >
> > --
> > Moreno Ambrosin
> >
>
> --
> 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 post to this group, send email to ns-3-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/ns-3-users.
> For more options, visit https://groups.google.com/d/optout.
> [2 <text/html; UTF-8 (quoted-printable)>]
>
Reply all
Reply to author
Forward
0 new messages