From: Diego Virasoro Date: 2009-11-24T23:45:08+09:00 Subject: Re: ideas for a "parameter sweep" program? On 24 Nov, 13:11, Brian Candler wrote: > Diego Virasoro wrote: > > I would like a generic solution that works with any language for any > > program (including Fortran that doesn't allow to pass arguments form > > the command line). > > So how do you pass parameters to your Fortran program - in a config file > perhaps? If so, then just generate that file then run the program. It's > up to you to code what you want. Yes, it would generally read a file. Don't get me wrong: I know how to do it. Currently I've got a bash script that does it for one particular executable by using sed and make. I just wanted to generalise it and given I hate bash Ruby seemed like the best alternative. However I would also like to make it a lot more generic and flexible, as maybe other people in my group may be interested in using it too. Which lead to the question: what would be the best way? A rake file, a yaml input file, some internal DSL? Diego