Hello KonstantinosI followed http://www.nsnam.org/wiki/index.php/Installation for installation of prerequisites. as for the tutorial I read the ns-3-tutorial.pdf and got to run the "hello simulator program"actually have installed ns-3.15.
as for LTE Module, I got to write and "run" (i guess) the basic simulation program example there.
tho it said "successful", I dont quite know, tried to put a "NS_LOG_UNCOND ("message")" after "Simulation::Run();" to see if i get the "message" in terminal, but it didnt.
thanks for your prompt response Konstantinos,I will do as suggested and re-read the tutorial!regarding scratch folder and programs, I followed LTE tutorial basic simulation program; question is, after I write and save as *.cc file, I put it in scratch and run it?since I didnt know, I save it to /ns-3-lena-dev/build/[myfoldername] and put lte-bsp.cc there, then from /ns-3-lena-dev$ I execute ./waf -d debug -o build/[myfoldername] configure and then it runsbtw, I did put NS_LOG_UNCOND ("message") befor Simulation::Run (), and NS_LOG_COMPONENT_DEFINE ("something") at the beginning, and still no message.
so, am getting this error, checked with lte tutorial and script seems to be fine...
ubuntuvm@ubuntuvm:~/repos/ns-3-allinone/ns-3.15$ ./waf
Waf: Entering directory `/home/ubuntuvm/repos/ns-3-allinone/ns-3.15/build'
[ 698/1485] cxx: scratch/subdir/scratch-simulator-subdir.cc -> build/scratch/subdir/scratch-simulator-subdir.cc.3.o
[1363/1485] cxx: scratch/LTE-bsp-scratch.cc -> build/scratch/LTE-bsp-scratch.cc.1.o
[1364/1485] cxx: scratch/scratch-simulator.cc -> build/scratch/scratch-simulator.cc.2.o
../scratch/LTE-bsp-scratch.cc: In function ‘int main(int, char**)’:
../scratch/LTE-bsp-scratch.cc:89:45: error: no matching function for call to ‘ns3::LteHelper::ActivateEpsBearer(ns3::NetDeviceContainer&, ns3::EpsBearer&)’
../scratch/LTE-bsp-scratch.cc:89:45: note: candidates are:
./ns3/lte-helper.h:211:8: note: void ns3::LteHelper::ActivateEpsBearer(ns3::NetDeviceContainer, ns3::EpsBearer, ns3::Ptr<ns3::EpcTft>)
./ns3/lte-helper.h:211:8: note: candidate expects 3 arguments, 2 provided
./ns3/lte-helper.h:220:8: note: void ns3::LteHelper::ActivateEpsBearer(ns3::Ptr<ns3::NetDevice>, ns3::EpsBearer, ns3::Ptr<ns3::EpcTft>)
./ns3/lte-helper.h:220:8: note: candidate expects 3 arguments, 2 provided
sudo apt-get install g++-3.4 gcc-3.4and
sudo apt-get install openmpi*
./waf: Entering directory `/home/bojjaprithvi/repos/ns-3-allinone/ns-3-dev/build'
[ 713/1831] cxx: scratch/done.cc -> build/scratch/done.cc.1.o
../scratch/done.cc: In function ‘int main(int, char**)’:
../scratch/done.cc:43:45: error: no matching function for call to ‘ns3::LteHelper::ActivateEpsBearer(ns3::NetDeviceContainer&, ns3::EpsBearer&)’
../scratch/done.cc:43:45: note: candidates are:
./ns3/lte-helper.h:211:8: note: void ns3::LteHelper::ActivateEpsBearer(ns3::NetDeviceContainer, ns3::EpsBearer, ns3::Ptr<ns3::EpcTft>)
./ns3/lte-helper.h:211:8: note: candidate expects 3 arguments, 2 provided
./ns3/lte-helper.h:220:8: note: void ns3::LteHelper::ActivateEpsBearer(ns3::Ptr<ns3::NetDevice>, ns3::EpsBearer, ns3::Ptr<ns3::EpcTft>)
./ns3/lte-helper.h:220:8: note: candidate expects 3 arguments, 2 provided
Waf: Leaving directory `/home/bojjaprithvi/repos/ns-3-allinone/ns-3-dev/build'
Build failed
Hello All.
Which one would you recommend to use Mercurial or Tarballs?
Which one works perfectly with ubuntu-12.04 LTS?
Please suggest..
Thank you.
On Friday, October 26, 2012 9:55:01 AM UTC-7, JM Koo wrote:
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/d3xQ9CNxYikJ.--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
hi,
Hi ,I think it's better that you install g++ newer version or default version as well as python stable version. Or reinstall everything. I prefer new version ns-3.21.
Hi,
NS-3.15 has the LENA code integrated under the LTE module.
If you install NS-3,15 then you have also LENA, so there is no need to look for other codes like you mention below.
First of all, since you are a beginner, you have to go through the NS-3 tutorial, step by step, and then start working with LTE.
Here is a step-by-step installation guide for NS-3 http://www.nsnam.org/wiki/index.php/Installation
Here is the tutorial http://www.nsnam.org/docs/tutorial/html/index.html
After you have read and understood that, you can go and read the LTE module (http://www.nsnam.org/docs/models/html/lte.html) so that you can build your scenario.
On Monday, 8 October 2012 23:45:17 UTC+1, JM Koo wrote:
helloam trying to simulate an lte network for my master thesis. unfortunately am a begginer to linux, c++, python and such.already installed ns-3-dev and ns-3.15"installed" lena lte (hg clone http://lena.cttc.es/hg/lena/)but i cant seem to run any example tests, get loads of errorplus i cant find any step by step tutorial on internet...
can somebody help me and point me into the right direction?
pleasethxJK
Hi
On Tuesday, 9 October 2012 17:01:29 UTC+1, JM Koo wrote:
Hello KonstantinosI followed http://www.nsnam.org/wiki/index.php/Installation for installation of prerequisites. as for the tutorial I read the ns-3-tutorial.pdf and got to run the "hello simulator program"actually have installed ns-3.15.
That's ok.
as for LTE Module, I got to write and "run" (i guess) the basic simulation program example there.
No. All the simulation scenarios should be written in the scratch folder. That's your working folder. Anything inside the /src folder is like the "library". If you want to develop a new model, or if you want to change something in existiing models, then you go inside the /src. Otherwise, you just create simulation scripts in scratch. You can go inside /src/lte/examples and copy from these the files in your scratch folder (better to rename them also).
tho it said "successful", I dont quite know, tried to put a "NS_LOG_UNCOND ("message")" after "Simulation::Run();" to see if i get the "message" in terminal, but it didnt.
I guess you haven't read the tutorial well. Try putting is before the Run()...
On Tuesday, 9 October 2012 04:59:07 UTC-5, Konstantinos wrote:
--
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 on the web visit https://groups.google.com/d/msgid/ns-3-users/c1a6a2b6-b4dd-426c-943a-03b014e764bdn%40googlegroups.com.