Groups
Sign in
Groups
ns-3-users
Conversations
Labels
About
Send feedback
Help
ns-3-dce mpi
52 views
dce
example
mpi
Skip to first unread message
jian ye ye
unread,
Dec 12, 2019, 3:58:00 AM
12/12/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hi,
I run the ns-3-dce's mpi example ("mpirun -np 2 ./waf --run dce-mpi-udp"), and I got some erros. Sometimes successful, but sometimes failed.
Some version information as bellow:
ubuntu: 12.04.
ns3: 3.24
dce: 3.19
I add "--enable-mpi" in "bakeconf.xml" before I run "bake.py download" and "bake.py build" to use mpi in dce.
I got erros as bellow:
Sometime the error is : 'build' finished successfully. But the job could not stopped unless "ctrl + c".
[344/348] cxxshlib: build/model/libc.cc.84.o build/model/libc-setup.cc.84.o build/model/libc-global-variables.cc.84.o -> build/lib/libc-ns3.so
[345/348] cxxshlib: build/model/libc.cc.85.o build/model/libc-setup.cc.85.o -> build/lib/libpthread-ns3.so
[346/348] cxxshlib: build/model/libc.cc.86.o build/model/libc-setup.cc.86.o -> build/lib/librt-ns3.so
[347/348] cxxshlib: build/model/libc.cc.87.o build/model/libc-setup.cc.87.o -> build/lib/libm-ns3.so
[348/348] cxxshlib: build/model/libc.cc.88.o build/model/libc-setup.cc.88.o -> build/lib/libdl-ns3.so
Waf: Leaving directory `/home/jiao/workspace/dce/source/ns-3-dce/build'
'build' finished successfully (1m8.443s)
Sometime the error is
: OSError: [Errno 2] No such file or directory. The job could not stopped unless "ctrl + c".
Waf: Leaving directory `/home/jiao/workspace/dce/source/ns-3-dce/build'
'build' finished successfully (0.254s)
Waf: Leaving directory `/home/jiao/workspace/dce/source/ns-3-dce/build'
Traceback (most recent call last):
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 97, in waf_entry_point
run_commands()
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 151, in run_commands
run_command(cmd_name)
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 143, in run_command
ctx.execute()
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 345, in execute
return execute_method(self)
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 98, in execute
self.execute_build()
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 107, in execute_build
self.compile()
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 188, in compile
self.store()
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Utils.py", line 310, in f
ret=fun(*k,**kw)
File "/home/jiao/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 175, in store
os.rename(db+'.tmp',db)
OSError: [Errno 2] No such file or directory
In ubuntu 14.04, I got erros as bellow:
Waf: Leaving directory `/home/test/workspace/dce/source/ns-3-dce/build'
'build' finished successfully (0.230s)
Waf: Leaving directory `/home/test/workspace/dce/source/ns-3-dce/build'
'build' finished successfully (0.246s)
test@test-virtual-machine:~/workspace/dce/source/ns-3-dce$ mpirun -np 2 ./waf --run dce-mpi-udp
Waf: Entering directory `/home/test/workspace/dce/source/ns-3-dce/build'
Waf: Entering directory `/home/test/workspace/dce/source/ns-3-dce/build'
[ 11/351] lib/pkgconfig/libns3-dev-netlink-debug.pc: -> build/lib/pkgconfig/libns3-dev-netlink-debug.pc
[ 11/351] lib/pkgconfig/libns3-dev-netlink-debug.pc: -> build/lib/pkgconfig/libns3-dev-netlink-debug.pc
[112/351] lib/pkgconfig/libns3-dev-dce-debug.pc: -> build/lib/pkgconfig/libns3-dev-dce-debug.pc
[112/351] lib/pkgconfig/libns3-dev-dce-debug.pc: -> build/lib/pkgconfig/libns3-dev-dce-debug.pc
[115/351] lib/pkgconfig/libns3-dev-dce-quagga-debug.pc: -> build/myscripts/ns-3-dce-quagga/lib/pkgconfig/libns3-dev-dce-quagga-debug.pc
[115/351] lib/pkgconfig/libns3-dev-dce-quagga-debug.pc: -> build/myscripts/ns-3-dce-quagga/lib/pkgconfig/libns3-dev-dce-quagga-debug.pc
Waf: Leaving directory `/home/test/workspace/dce/source/ns-3-dce/build'
'build' finished successfully (0.230s)
Waf: Leaving directory `/home/test/workspace/dce/source/ns-3-dce/build'
Traceback (most recent call last):
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 97, in waf_entry_point
run_commands()
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 151, in run_commands
run_command(cmd_name)
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 143, in run_command
ctx.execute()
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 345, in execute
return execute_method(self)
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 98, in execute
self.execute_build()
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 107, in execute_build
self.compile()
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 188, in compile
self.store()
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Utils.py", line 310, in f
ret=fun(*k,**kw)
File "/home/test/workspace/dce/source/ns-3-dce/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 175, in store
os.rename(db+'.tmp',db)
OSError: [Errno 2] No such file or directory
--------------------------------------------------------------------------
mpirun has exited due to process rank 1 with PID 4609 on
node test-virtual-machine exiting improperly. There are two reasons this could occur:
1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.
2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"
This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages