swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] How do I use scripts to run swarm?


From: Vegard Hartmann
Subject: [Swarm-Support] How do I use scripts to run swarm?
Date: Sun, 21 Nov 2004 16:29:30 +0100 (MET)

Hi,
I saw a post on the mailing list by Paul Johnson where he briefly mentions that he uses scripting tools to re-start swarm models. As I am new to Linux I do not know much about scripts. However, it would be very useful for me to use a script to run my application as I am having some memory leak problems. I use Fedora Core 2 and java. I read all my simulation parameters from a scm file, and there are two values in this that needs to be changed from one run to the other, these are in the two lines below from my scm file:
#:loadFile "load.generation.hdf5"
#:saveFile "save.generation.hdf5"

My question is therefore how, or if it is possible, to write a script that runs my model several times, and for each time modifies the two lines above in my scm file?

-Vegard


reply via email to

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