Test parameter files without running them

Create issue
Issue #176 closed
Ian Hinder created an issue

It would be useful to be able to check that the parameters of a run are OK before running it. Since there can be long queue times on supercomputers, it would be good to do this on a local machine which might not have as much memory as is required for the full run. Currently, running the job would cause memory exhaustion on the smaller machine.

One solution would be an additional command-line argument to Cactus --exit-after-paramcheck which stops the run cleanly after the PARAMCHECK Cactus bin. This is preferable to a new Cactus parameter, as it would not require the parameter file to be modified. One could imagine this also being potentially used by simfactory automatically when submitting a job (though this would only work if you could run MPI executables on the head node).

Keyword:

Comments (13)

  1. Ian Hinder reporter
    • removed milestone
    • removed comment

    This won't be implemented before the release. Removing milestone.

  2. Frank Löffler
    • removed comment

    Is the CCTK_Exit(NULL,0); within CactusInitialiseGH intentional? Doesn't this always abort the run?

  3. Erik Schnetter
    • removed comment

    The message just before exiting Cactus should be longer and explains what happens, and e.g. point to the command line option that was used.

  4. Steven R. Brandt
    • removed comment

    Sorry, the changes to "src/main/CactusDefaultInitialise.c" should be removed from the patch. In my tests, I could not get this routine to actually be called. I'd intended to remove that call. The one in WarnLevel.c is the one that actually aborts the run.

  5. Erik Schnetter
    • removed comment

    CactusDefaultInitialise is called if the driver does not provide an initalisation routine. Carpet does, I don't recall whether PUGH does as well. Try running with an empty parameter file (no thorns active) to have this routine called.

  6. Peter Diener
    • changed status to resolved
    • removed comment

    A couple of things where fixed in order to get the parameter to show up in the parameter listing and make the short version (-P) work.

  7. Log in to comment