- Make sure you are define path well
  - recomplie the ns-2 or make new instalation
  =============================
  I use this script to generate secenario file
            Bash script for generate scenarios
    make-scenario.sh

   
  #!/bin/bash
   
  dest_dir="movement"
   
  if [ -d $dest_dir ]
  then
       # Do nothing
       echo "'$dest_dir' is a directory"
  else
       echo "Creating directory $dest_dir";
       mkdir --verbose $dest_dir
  fi
   
  
setdest_loc="/home/ns-allinone-2.28q/ns-2.28/indep-utils/cmu-scen-gen/setdest/setdest";
   
  if [ -x $setdest_loc ]
  then
       # Do nothing
       echo "$setdest_loc is executable"
  else
       echo "$setdest_loc does not exist or is not executable";
       exit;
  fi
   
  # Create the scenarios
   
  for i in 900
  do
       for j in 1 2 3 4 5
       do
             $setdest_loc -v 1 -n 50 -p $i -M 20 -t 900 -x 1500 -y 300 > 
$dest_dir/scen-50-$i-$j
       done
  done
   
  echo ""
  echo "Created the following files"
  echo ""
  ls -la $dest_dir/scen-50*
   
   
    Mohammed AbuHajar
   
   
  

Saleemsheikh <[EMAIL PROTECTED]> wrote:

  

hi, 

i got this error when i genrate any of wireless sceneario uder
~ns2.29/indep-utils/cmu-scene-gen/setdest 


$ ./setdest -n 100 -p 50.0 -s 2.0 -t 100.0 -x 500 -y 500 > scene-100-test 
assertion "speed != 0.0" failed: file "setdest.cc", line 595 
Aborted (core dumped) 


Can any one know this & would like to help me in this regard. 


Regards, 
Saleem
-- 
View this message in context: 
http://www.nabble.com/CMU-Mobility-trace-error-tf4206099.html#a11964404
Sent from the ns-users mailing list archive at Nabble.com.



       
---------------------------------
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

Reply via email to