LTE problem installtion ..Please knudlf.
Dear knudlf,
I followed your instructions in post #11... 1- I am started from point C L because I'm already installed NS-2.34 on ubuntu Time to update the build instructions / making the build easier : a) $ tar xvf ns-allinone-2.33.tar.gz b) $ cd ns-allinone-2.33/ started from here: c) $ tar xvf lte-ns233-patching-2.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing d) $ export CC=gcc41 CXX=g++41 && ./install e) $ cd ns-2.33/ f) $ cp ns ns-lte && sudo cp ns-lte /usr/local/bin/ .... And you can do $ ns-lte eyana.tcl from lte-examples-0213.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing I got the following below ... [root@localhost lte-ex]# ns-lte eyana.tcl invalid command name "Queue/LTEQueue/ULAirQueue" while executing "Queue/LTEQueue/ULAirQueue create _o101 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Queue/$qtype" ("default" arm line 3) invoked from within "switch -exact $qtype { ErrorModule { if { [llength $args] > 0 } { set q [eval new $qtype $args] } else { set q [new $qtype Fid] } } intserv { set qtyp..." (procedure "_o3" line 14) (Simulator simplex-link line 14) invoked from within "$ns simplex-link $UE($i) $eNB 500Mb 2ms LTEQueue/ULAirQueue" ("for" body line 2) invoked from within "for { set i 0} {$i < $number} {incr i} { $ns simplex-link $UE($i) $eNB 500Mb 2ms LTEQueue/ULAirQueue $ns simplex-link $eNB $UE($i) 1Gb 2ms LTEQueue/DL..." (file "eyana.tcl" line 24) 2- then I've extracted lte-ns-2.33-ubuntu10_i386.deb and repeat the steps d) $ export CC=gcc41 CXX=g++41 && ./install e) $ cd ns-2.33/ f) $ cp ns ns-lte && sudo cp ns-lte /usr/local/bin/ I have got the following cd lte-model-read-only/ [root@localhost lte-model-read-only]# ./test Deleting the old log files ... rm: cannot remove `*.log': No such file or directory rm: cannot remove `*.txt': No such file or directory rm: cannot remove `out.*': No such file or directory Done start testing, please wait ... invalid command name "Queue/LTEQueue" while executing "Queue/LTEQueue set qos_ true " (file "lte.tcl" line 17) Done The testing results(throughput, delay, jitter) are: --------------------------------------------------- 0 1 2 3 total(Mbyte) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 awk: delay.awk:33: fatal: division by zero attempted 0 1 2 3 total 0 0 0 0 0 check the out.txt out.tr out.nam for detailed information |
Post # 16 , @engihab : Welcome to LQ.
Quote:
Click / or double click, and install with "Package Installer", or use $ dpkg : ? Have you forgotten that you installed gcc41 / g++41 with : $ sudo dpkg -i <package>.deb <package>.deb ... You can do the same with "lte-ns" → $ sudo dpkg -i lte-ns-2.33-ubuntu10_i386.deb Quote:
And definitely never with an ns2 command. The "$" is the user command prompt. So $ ns-lte eyana.tcl .. means that you are "not using root". The only "adminstrative command" you can do in ns-2.33 is : $ sudo make install Quote:
- |
LTE in ns233 problem installtion ..Please knudlf.
Dear Knudfl,
I am used ubuntu 10.04.3 LTS i686, I've been installed ns2.33 with the gcc-4.3. Now 1- I am confused install "lte-ns-2.33-ubuntu10_i386.deb" Or " lte-ns233-patching-2.tar.gz". 2- I am installed NS2.33 already am I should execute again a) $ tar xvf ns-allinone-2.33.tar.gz ? b) $ cd ns-allinone-2.33/? 3- am I should remove gcc-4.3 and install gcc41 or what?? Thank you indeed regarding your help . |
# 18 .
1. "lte-ns-2.33-ubuntu10_i386.deb" is a complete simulator ns2+LTE, that you can use independently of the ns2 that you may build yourself. 1. "lte-ns233-patching-2.tar.gz" is for building you own ns2+LTE. Quote:
a) $ tar xvf ns-allinone-2.33.tar.gz b) cd ns-allinone-2.33/ c) tar xvf lte-ns233-patching-2.tar.gz d) ./install : May work .... if you are lucky. .. But gcc-4.3 / g++-4.3 haven't worked well with ns2 for 3 years. .. The current "10.04 way" is : $ export CC=gcc-4.1 CXX=g++-4.1 && ./install .. when you have done $ sudo apt-get install g++-4.1 3. ""should I remove gcc-4.3 and install gcc41 or what??"" * No. You can have as many versions of gcc/g++ as you want, at the same time. * Think Ubuntu 12.04 : You have gcc41, gcc-4.4, -4.5, -4.6 at the same time. - |
LTE installation problem in ns2
Dear Knudfl,
I've followed your instructions Quote:
ihab@ihab-laptop:~/ns-allinone-2.33/ns-2.33/lte-ex$ ns-lte eyana.tcl Code:
warning: no class variable Session/RTP::debug_ |
# 20 .
Quote:
$ export CC=gcc-4.1 CXX=g++-4.1 && ./install ""$ ns-lte eyana.tcl"" : The warnings can be ignored. "nam" : Install nam-1.14.i586.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing $ cd nam-1.14.i586/ && sudo cp nam /usr/local/bin/ - |
LTE installation problem in ns2
Dear Knudfl,
May you please give me the link for post #19 I can not found it! regarding nam problem I've first install nam package... |
# 22 .
This one is #23 . #19 is four posts back. Is an answer to you : Yesterday. When you get no link reference, the post is in this very thread. |
LTE installation problem in ns2
Dear Knudfl,
I'am already followed your flow : d) ./install : May work .... if you are lucky. .. But gcc-4.3 / g++-4.3 haven't worked well with ns2 for 3 years. .. The current "10.04 way" is : $ export CC=gcc-4.1 CXX=g++-4.1 && ./install .. when you have done $ sudo apt-get install g++-4.1 but I got the same problem as I've been mentioned you in my post. |
LTE installation problem in ns2
Dear Knudfl,
I've installed NAM kindly this is what I've got after execution ihab@ihab-laptop:~/ns-allinone-2.33/ns-2.33/lte-ex$ ns-lte eyana.tcl Code:
warning: no class variable Session/RTP::debug_ |
# 25 .
Please read post #21 : "The warnings can be ignored." And : Please don't show that much text, when it's the same lines that are repeated. And : Error output, etc. must be in code tags : That's the # button in the 'Advanced Editor' . * http://www.linuxquestions.org/questi....php?do=bbcode * http://www.linuxquestions.org/questi...gs-4175464257/ You can also do the 'code tags' this way : Type [/code] at error text end, and [code] at text start. *** Please edit your posts : The 'Edit' button. - |
LTE installation problem in ns2
Dear Knudfl,
I've Followed your instructions: Quote:
TQ. |
# 27 .
Quote:
Please tell which post you refer to. |
LTE installation problem in ns2
Quote:
|
Quote:
|
All times are GMT -5. The time now is 01:18 AM. |