[Swift-user] sites file question

Jonathan Monette jon.monette at gmail.com
Wed Mar 23 18:18:44 CDT 2011


I have this line in my sites.xml file.
<profile key="slots" namespace="globus">10</profile>

I want to do something like this
<profile key="slots" namespace="globus">${MONTAGE_WORKERS}</profile>

Is this possible or another way for this?  The reason is depending on the
data set i want a different number of workers.  Some sets are large and I
need to request 100 workers and others are small that 5 will suffice.  So I
would like to be able to set an environment variable in my run script
detailing how many workers to set here.  I am using automatic coasters(not
passive or persistent).  I would like to avoid manual coasters as automatic
coasters is working fine for my jobs.  I would like to do this so I can only
keep one sites file and not a sites file for small, medium, and large data
sets.
-- 
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
- Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20110323/1ed729c9/attachment.html>


More information about the Swift-user mailing list