swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drone is making me really mad


From: Paul Johnson
Subject: Drone is making me really mad
Date: Tue, 29 Jun 1999 17:28:53 -0500

I have a program that runs using the Swarm command line features of
Argument protocol. It can respond to -n33, say, to set the number of
agents to 33.

I have drone, it works on their examples, but I can't figure how to make
drone run my simulation.

I don't want to run in batch mode, so my Observer swarm is setup to
start itself running, take screenshots, and quit after 50 time steps.  I
can comment out the Drone misc options -batchmode line to stop that
option from taking place.

There is some discussion/debate/puzzlement over drone in the email
archive. I can't find any definitive statement on how to just pass in
one or two simple little arguments to a Swarm program.

Sven T posted some examples that propose changing the set  

param setParamOption = -D

to

param setParamOption =" -D"

but these settings will note even parse with Redhat6, drone 1.03:

ReadControlFile: Error parsing control file line: param setParamOption
=" -D"

Plus Sven's treatment is tied up an entity which might be called "the
parameter file from hell" in some monster application he is working on.
I don't want to have the monster app, I just want to pass in, say, one
or two parameters.  

In the program I'm currently working on , and it works from the command
line with

./protest -n33

or

./protest --numppl=33


Drone seems to want to pass all program parameters with -D in front of
them, as in -Dn=33.  

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]