V2X-LTE Output issue

460 views
Skip to first unread message

Alex

unread,
Oct 13, 2017, 2:17:48 AM10/13/17
to ns-3-users
Dear All,

I have started work on V2X-LTE in NS3. I am using NS-3.26 version, After successful configuration of the lena-code for V2X-ltc. I got the below problem 

zahid@ubuntu:~/Desktop/ns-allinone-3.26/ns-3.26$ ./waf --run src/v2x-lte/examples/v2x-lte-cell
Waf: Entering directory `/home/zahid/Desktop/ns-allinone-3.26/ns-3.26/build'
Waf: Leaving directory `/home/zahid/Desktop/ns-allinone-3.26/ns-3.26/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (11.395s)
Simulation: _distance1500_numV2Xs020_speedV2Xs100_numUEs055_speedUEs003_PF_sec005
RemoteHost's Ipv4 Address 1.0.0.2
msg="Unable to open output file:results/animation_distance1500_numV2Xs020_speedV2Xs100_numUEs055_speedUEs003_PF_sec005.xml", file=../src/netanim/model/animation-interface.cc, line=1680
terminate called without an active exception
Command ['/home/zahid/Desktop/ns-allinone-3.26/ns-3.26/build/src/v2x-lte/examples/ns3.26-v2x-lte-cell-debug'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").

Anyone can help me to cope this problem. I am stuck in this problem from last one week. 

Thank you in advance

Regard

Alex

pdbarnes

unread,
Oct 15, 2017, 2:31:14 PM10/15/17
to ns-3-users
Does the output directory "results/" exist?

Peter

Alex

unread,
Oct 16, 2017, 12:02:14 AM10/16/17
to ns-3-users
Dear Peter,

Thank you for your interest. I am getting partial results. I am interesting in throughput, jitters and latency. But the program generates other files as a results, but the one which I want is not available. I am attaching the file, kindly go through it, and let me know whats the problem. 

I am looking forward to your kind response.

Thank you in advance

Regard

Alex
v2x-lte-cell.cc

pdbarnes

unread,
Oct 17, 2017, 1:29:18 PM10/17/17
to ns-3-users
The error message is pretty clear, and probably not related to your script but to your system:

"Unable to open output file:results/animation_..."

Check that the directory exists and you have permissions to write there.

Peter

usman ali

unread,
Oct 20, 2017, 12:15:32 AM10/20/17
to ns-3-users
Hi Alex

I am using the same v2x-lte code and I have placed it under the src directory but when i run ./waf build, i get an error, "could not find the a task generator for the name v2x-lte. Please help me in this regard

Alex

unread,
Oct 20, 2017, 12:56:46 AM10/20/17
to ns-3-users
Dear Peter,

Thank you for your response. Actually the same code with giving full permissions again repeating the same error. Even I tried on Root user, but all my efforts did not get results. If you have any other suggestion, let me know, I will appreciate your cooperation. 


Regard

Alex

Alex

unread,
Oct 20, 2017, 1:22:30 AM10/20/17
to ns-3-users
Dear Usman,

I am still hunting for the output. I hope, we both will get solution. I think you stuck in initial stage. For your suggestion,

1) Use NS-3.25/26 
2) If you are using 32 bit OS, then you need to change 1L to WL in one file. I forgot that file, I myself got through google in one of my initial Error.
3) I am getting partial results, but the one which I am expecting is still in pending.

You can put the attachment below in your scr directory. 

In the giving attachment, Error 2 is already resolved as I mentioned above. 

Sorry the attachment is little bit heavy and against the policy of the group.

Brother let me know, if you reach first to the results.


Regard

Alex 

usman ali

unread,
Oct 20, 2017, 1:52:29 AM10/20/17
to ns-3-users
Dear Alex

I am using ns-3.25 and 32 Bit OS.
I tried many things mentioned in the group, but the error persists. I even tried to create a new module and copy each and every script to new module but still same error. Can you find the file in which you changed 1L to WL. I would highly appreciate that.

Regards
Usman

Alex

unread,
Oct 20, 2017, 2:01:58 AM10/20/17
to ns-3-users
Do you have previous experience in NS-3.

Let me know your email address, I will forward to you


Regard

Alex
Message has been deleted
Message has been deleted

kamel Sino

unread,
Dec 16, 2017, 1:10:48 PM12/16/17
to ns-3-users

Dear Alex,
To solve this issue, you have to change 'v2x-lte-cell.cc' ligne 485 (I guess), instead of this ' std::string outputpath = "results" ; ' you have to put the full path it means like this '  std::string outputpath = "/home/zahid/Desktop/ns-allinone-3.26/ns-3.26/src/v2x-lte/examples/results" ; '

Then run ' sudo ./waf --run src/v2x-lte/examples/v2x-lte-cell ', and it is OK. Good Luck.

Alex

unread,
Dec 18, 2017, 10:29:47 PM12/18/17
to ns-3-users
Dear Kamel,

Thank you for your kind response. I did the same as you mentioned. but I has the below problem now

zahid@ubuntu:~/Desktop/ns-allinone-3.26/ns-3.26$ ./waf --run src/v2x-lte/examples/v2x-lte-cell
Waf: Entering directory `/home/zahid/Desktop/ns-allinone-3.26/ns-3.26/build'
Waf: Leaving directory `/home/zahid/Desktop/ns-allinone-3.26/ns-3.26/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (2.040s)
Simulation: _distance1500_numV2Xs020_speedV2Xs100_numUEs055_speedUEs003_PF_sec005
RemoteHost's Ipv4 Address 1.0.0.2
Start Simulation.
msg="Unaligned PER decoding failed", file=../src/v2x-lte/model/v2x-client.cc, line=576
terminate called without an active exception
Command ['/home/zahid/Desktop/ns-allinone-3.26/ns-3.26/build/src/v2x-lte/examples/ns3.26-v2x-lte-cell-debug'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").

Can You please help me to cope with this issue. 

Thank you in advance. 
Message has been deleted

kamel Sino

unread,
Jan 8, 2018, 9:58:03 AM1/8/18
to ns-3-users
Dear Alex,
Try to have a full control of all your ns3 folders and files by using this command
sudo chown -R zahid ns-allinone-3.27
then run
sudo ./waf --run src/v2x-lte/examples/v2x-lte-cell

Good luck.

imtiaz.ah...@gmail.com

unread,
Feb 10, 2018, 12:14:59 AM2/10/18
to ns-3-users
getting error while building ns3-v2x-lte

Build failed
 -> task in 'ns3-v2x-lte' failed (exit status 1):
    {task 140656262437648: cxx v2x-client.cc -> v2x-client.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-std=c++11', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-pthread', '-I.', '-I..', '-Isrc/v2x-lte/module/gen', '-I../src/v2x-lte/module/gen', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/gio-unix-2.0', '-I/usr/include/cairo', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libxml2', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1', '../src/v2x-lte/model/v2x-client.cc', '-c', '-o', '/home/idahar/Desktop/ns3/ns-3-allinone/ns-3-dev/build/src/v2x-lte/model/v2x-client.cc.1.o']


kindly help me what should i do now

Regards:
Imtiaz Dahar

Konstantinos

unread,
Feb 10, 2018, 11:01:19 AM2/10/18
to ns-3-users
Hi,

The actual error message is before this output you posted.
Please read the posting guidelines when asking questions in the list.
You are missing essential information that is required to help you further.

Regards
K

mariemal...@gmail.com

unread,
Jul 17, 2018, 9:19:04 AM7/17/18
to ns-3-users
Dear All,

I have the same error as Mr Imtiaz Dahar, but i didn't find the solution even in this list.
Could you please give me the link to download the source code of v2x-lte in NS3 (i want to verify if it is the same code or not).

Could you please help me to solve this error, I will be very grateful.

Best Regards,

Mariem ALLOUCH.
Reply all
Reply to author
Forward
0 new messages