[Swift-devel] TC File Generator

Mihael Hategan hategan at mcs.anl.gov
Wed Jun 9 21:24:44 CDT 2010


There's also a lesser known secret that might work if tc.data info was
to somehow be specifiable in sites.xml: sites.xml is a karajan script,
so things like foreach could theoretically be used in it (if you said
"<import file="sys.xml"/>" somewhere in the beginning of the file).

On Wed, 2010-06-09 at 21:23 -0500, Arjun Comar wrote:
> Hey all,
> I'm starting to play with swift across the OSG, and ran into the
> problem of needing to add every site to my tc.data file. So I wrote a
> python script that takes a sites.xml file and generates a tc.data file
> to accompany it. If the input file is named sites-filename.xml then
> the output file is named sites-filename.tc.data. The script is
> attached. It does basically everything I need, but I don't think it's
> general purpose enough to work as a maintainer script for a tc.data
> file (i.e. applications are hard-coded, and there's no way short of
> modifying the source to add new apps). At some point I'll modify it to
> actually be able to add apps to an existing tc.data file if David's
> perl config script doesn't beat me to it. Let me know what you think
> and if you find it useful.
>        
> 
> Arjun Comar, Rose-Hulman '12
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel





More information about the Swift-devel mailing list