hope you all will be at quiet ease! 
  Please do me a favour> 
  I have problem in installing OWNS (package for Optical wavelength division 
multiplexing in ns).
  I have done all steps of the instructions given below except 6th instruction.
  Please tell me what to do in this.
  execution with out this step gives error : path enviroment not set for NS-2
  The proceduer i am following is here:
  _________________________________________________________________________
  OOO W W N N SSS
  O O W W NN N S S
  O O W W W N N N SS
  O O W W W W N N N SS
  O O WW WW N NN S S
  OOO W W N N SSS
  _________________________________________________________________________
  _________________________________________________________________________
  Thank you for choosing to use our software. Please feel free to contact 
  us if you experience any problems in using OWns. 
   
  _________________________________________________________________________
  Last Updated : 27 June 2001
  Contact info : [EMAIL PROTECTED]
  DAWN Networking Research Lab
  School of EECS
  Washington State University
  www.eecs.wsu.edu/~dawn
  _________________________________________________________________________
   
   
  This README contains: 
  (i). the installation guide; 
  (ii). the known problems.
   
   
   
  OWns Installation Guide
  _________________________________________________________________________
  Installation package: owns.tar
  This installation guide of OWns is based on ns-allinone-2.1b6,
  and has been tested on RedHat Linux 6.x 7.x. Other
  ns versions and platforms have not been tested.
  Note : The easy installation package which was available earlier has been 
  discontinued.
   
   
  Advanced Installation 
  _________________________________________________________________________
  1. Copy the "owns.tar" file to your "ns-allinone-2.1b6/ns-2" directory.
  2. Untar "owns.tar" which creates the directory "OWNS/" in your ns-2 
directory.
  You will find the following directory structure under OWNS
  ns-2 - This dir holds the C++ source files.
  tcl - This dir holds the tcl files
  modified - This dir contains files which are part of the ns distribution 
  that you need to *modify* individually. The files in this directory have 
  already been modified.Please do *NOT* replace the original files with 
  these files. Replacing the files may result in losing the additions
  to the newer versions of ns. 
  
   
  3. Install sgb2ns tool for WDM network topology generation tools.
  a. Copy the file "OWNS/sgb2comns-wdm.c" to 
  the directory "ns-allinone-2.1b6/gt-itm/sgb2ns/".
  b. Update the "Makefile" in the "gt-itm/sgb2ns" directory accordingly as 
follows.
  Add the following lines into "Makefile":
  COMN_WDM = sgb2comns-wdm.o
  sgb2comns-wdm: $(COMN_WDM)
  $(CC) $(CFLAGS) -o $(BDIR)/sgb2comns-wdm $(COMN_WDM) $(LIBS)
  sgb2comns-wdm.o : $(CH) 
  Note: A copy of the the modified file "Makefile.sgb2ns" is available in 
"OWNS/modified/" 
  
  4. Install C++ files
  a. New files : These files are already present in the "OWNS/ns-2/" dir.
  Please verify that they do exist.
   
  b. Modify "agent.h" and "agent.cc" in "ns-allinone-2.1b6/ns-2.1b6".
  You need to manually add the new code of OWns to these two files.
  Use the key word "OWNS" to search for the OWns code in the corresponding
  files "agent.{cc,h}" in the "OWNS/modified/" directory. 
   
  c. New WDM packet header - C++ side changes
  Insert the following two lines into "ns-allinone-2.1b6/ns-2.1b6/packet.h" 
file.
  PT_PING,
  PT_WDM, <== new line
  name_[PT_PING] = "ping"; 
  name_[PT_WDM] = "wdm"; <== new line
   
  d. Update the makefile "ns-allinone-2.1b6/ns-2.1b6/Makefile.in".
  Add the following objects to "OBJ_CC = \":
  OWNS/ns-2/classifier-addr-lightpath.o \
  OWNS/ns-2/wdm-route.o \
  OWNS/ns-2/session-trafgen.o \
  OWNS/ns-2/cbr_session_traffic.o \
  OWNS/ns-2/expoo_session.o \
  OWNS/ns-2/wdm-wassign.o \
  OWNS/ns-2/fiber-delay.o \
  OWNS/ns-2/session-traf-rcvr.o \
  OWNS/ns-2/wdm-agent.o 
  A copy of the modified "Makefile.in" is available in the "OWNS/modified" 
directory.
  d. Update the "install" file in ns-allinone-2.1b6 directory. 
  Add the following line:
  ......
  ln -s $CUR_PATH/gt-itm/bin/sgb2comns sgb2comns
  ln -s $CUR_PATH/gt-itm/bin/sgb2comns-wdm sgb2comns-wdm <== New line
  ln -s $CUR_PATH/gt-itm/bin/itm itm ......
  The modified "install" file is available in the "OWNS/modified" directory.
  5. Install tcl files
  a. New files : These files are already present in the "OWNS/tcl/" dir.
  Please verify that they do exist.
  b. Modify "ns-lib.tcl" in "ns-allinone-2.1b6/ns-2.1b6/tcl/lib"
  directory.
  You need to manually add the new code as follows.
  ...............................
  source ../emulate/ns-emulate.tcl
  
  #
  # OWns script
  #
  source ../../OWNS/tcl/ns-wdm-link.tcl
  source ../../OWNS/tcl/ns-wdm-node.tcl
  source ../../OWNS/tcl/ns-wdm-route.tcl
  source ../../OWNS/tcl/ns-wdm-wassign.tcl
  source ../../OWNS/tcl/ns-wdm-source.tcl
  source ../../OWNS/tcl/ns-wdm-default.tcl
  #
  # End of OWns script
  #
  
  Simulator instproc init args { 
  ......................
  c. New WDM packet header - OTcl side changes
  Insert the following line into 
"ns-allinone-2.1b6/ns-2.1b6/tcl/lib/ns-packet.tcl" file.
  { Ping off_ping_}
  { WDM off_wdm_} <== new line 
  
  
  6. Rebuild ns using "install", and update environment variables,
  "PATH" and "NS-2". For example, in C shell:
  setenv PATH "ns-allinone-2.1b6/bin:$PATH"
  setenv NS-2 "ns-allinone-2.1b6/ns-2.1.b6"
  setenv LD_LIBRARY_PATH "ns-allinone-2.1b6/otcl-1.0a5" 
  =======================
  Known Problems
  =======================
  1. Bandwidth of link and traffic
  
  DO NOT use the high bandwidth like 1Gb or 1000Mb, please use the
  scaled traffic and single wavelength bandwidth, say 1Mb. 
  2. Number of wavelengths per fiber
  Currently, the maximum number of wavelength per fiber is 64.
  The current implementation of RWA algorithm needs to be
  improved to reduce memory usuage.
   
   
   
   
   
  ************************************************************
  ************************************************************
  **
  ** Please guide me of 6th step 
  **
  **
  **
  ** Thanks in advance 
  **
  **
  ***************************************************************

 Send instant messages to your online friends http://uk.messenger.yahoo.com 
 Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to