##### run-setup
#
# this file determines (almost) all the input paramaters for 
# doing a set of runs on this machine.
# 
# The defaults assume
#  - ROOT is set to the directory ns-src, which contains cmu/scripts
#    scen/, and logs/
#  - run.csh <srcs> <pt> <runs> is invovked from ns-src/
#  - totals.csh and post-totals.csh are invoked from logs/

set PT = ( 0 30 60 120 300 600 900 )
set NUM_SRCS = (10 20 30)
set RUNS = (1 2 3 4 5 6 7 8 9 10)
 
#
# Globals
#
setenv	NODES	50
setenv	TIME	900                                     # seconds
setenv	XSIZE	1500                                    # X Grid Size
setenv	YSIZE	300                                     # Y Grid Siz
setenv  RATE    4                                       # packets/second
setenv  SPEED   20                                      # meters/second
setenv	PKTSIZE	64					# bytes

setenv NS_PROTO		DSR
setenv NS_PROTO_SCRIPT  cmu/dsr/dsr.tcl

#NOTE: just changing traftype doesn't change the traffic type everywhere
setenv TRAFTYPE cbr					# traffic type

########################
# General options

setenv SKIP 1
setenv CONT 1

# Remote logging allows the output trace to be copied to/from a remote
# host when making or totaling a trace.
setenv NS_REMOTE_LOGS no
setenv DEST_HOST farm2.monarch.cs.cmu.edu
setenv DEST_DIR /bigdisk/mobicom98/tora20/logs

set GZIP_OPTS = -f			# overwrite existing logs
set path = ($path $ROOT $ROOT/cmu/scripts)


###########################################################################
# for cmu/scripts/run.csh


# NOTE:  run.csh defaults to requiring NUM_SRCS, PT and RUNS to be
# on the command line so you can just do a few runs, or redo some
# runs that died on the main pass.

# To have run.csh use the above variables for the main run, start it
# as:
# run.csh -auto

set SCEN_DIR = scen
set LOG_DIR = logs

###########################################################################
# for cmu/scripts/totals.csh

setenv OUTDIR	.		# where out-* trace files come from
setenv TOTDIR	.		# where totals-* files go


###########################################################################
# for cmu/scripts/post-totals.csh

setenv POST_TOTALS              dsr-post-totals.pl
setenv POSTTOTALS_OUTDIR	.
