[Developers] Patch: New option to print the schedule tree only

Tom Goodale goodale at cct.lsu.edu
Wed Jun 15 09:23:06 CDT 2005


Hi,

it was there originally, but didn't get fully implemented, so I think 
someone removed it at some stage.  However rather than adding in a new 
flag, I'd prefer to re-enable this flag and finish its implementation.

The flag is supposed to run until after paramcheck, and return with an 
exit code indicating whether all the parameters are ok or not, so that you 
can test your parameter files before submitting them to a queue.  It's 
supposed to take an optional argument, which is the number of processors 
you intend to do the run on, so that the driver, although only running on 
one proc, would setup the grid to the appropriate size, and anything, such 
as BAM, which checks grid sizes and number of processors, would have 
enough info to go on in their paramcheck routine.  It was this latter 
functionality which never got implemented.

Cheers,

Tom

On Wed, 15 Jun 2005, Jonathan Thornburg wrote:

> Hi,
>
> On Wed, 15 Jun 2005, Tom Goodale wrote:
>> Is this really necessary with the -x flag which (should) run until after 
>> paramcheck and then stop the code ?
>
> I'm sorry, what is the -x flag?  There's no mention of it in the
> current-CVS Cactus Users' Guide section A3.1 "Command Line Options".
>
> I just tried a random Cactus compile from yesterday, and that binary
> didn't seem to know about a -x flag, either:
>
> % cactus_test-ahfinderdirect -x
> Usage: cactus_test-ahfinderdirect [-h] [-O] [-o paramname] [-L n] [-W n] [-E 
> n] [-r[o|e|oe|eo]] [-T] [-t name] [-parameter-level <level>] [-v] 
> <parameter_file_name>
> % cactus_test-ahfinderdirect --help
> cactus_test-ahfinderdirect, compiled on Jun 14 2005 at 15:29:20
> Usage: cactus_test-ahfinderdirect [-h] [-O] [-o paramname] [-L n] [-W n] [-E 
> n] [-r[o|e|oe|eo]] [-T] [-t name] [-parameter-level <level>] [-v] 
> <parameter_file_name>
>
> Valid options:
> -h, -help                           : gets this help.
> -O[v], -describe-all-parameters     : describes all the parameters.
>                                      v makes this verbose, i.e. it
>                                      gives a verbose description of
>                                      all parameters
> -o, -describe-parameter <paramname> : describe the given parameter.
>                                      pretending to be on nprocs processors,
>                                      or 1 if not given.
> -L, -logging-level <n>              : Sets the logging level to n.
> -W, -warning-level <n>              : Sets the warning level to n.
> -E, -error-level <n>                : Sets the error level to n.
> -r, -redirect [o|e|oe|eo]           : Redirects standard output and/or 
> standard
>                                      error to files.
> -T, -list-thorns                    : Lists the compiled-in thorns.
> -t, -test-thorn-compiled <name>     : Tests for the presence of thorn <name>.
>    -parameter-level <level>        : Sets the amount of parameter checking,
>                                      level can be strict, normal, relaxed.
> -v, -version                        : Prints the version.
> -i, -ignore-next                    : Ignores the next argument.
> %
>
> ciao,
>
>



More information about the Developers mailing list