#176: Test parameter files without running them -------------------------+-------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Keywords: | -------------------------+-------------------------------------------------- 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).
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: assigned Priority: minor | Milestone: ET_2011_05 Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* owner: => sbrandt * status: new => assigned * milestone: => ET_2011_05
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: assigned Priority: minor | Milestone: ET_2011_11 Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* milestone: ET_2011_05 => ET_2011_11
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: assigned Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by hinder):
* milestone: ET_2011_10 =>
Comment:
This won't be implemented before the release. Removing milestone.
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: review Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by sbrandt):
* status: assigned => review
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: review Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
Is the CCTK_Exit(NULL,0); within CactusInitialiseGH intentional? Doesn't this always abort the run?
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: review Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
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.
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: review Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by sbrandt):
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.
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: review Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
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.
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by eschnett):
* status: review => reviewed_ok
Comment:
Please apply.
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by rhaas):
Steve: do you want to apply this or are there more outstanding issues?
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by rhaas):
Looks ok (just in case there is need for a second ok).
#176: Test parameter files without running them --------------------------+------------------------------------------------- Reporter: hinder | Owner: sbrandt Type: enhancement | Status: closed Priority: minor | Milestone: Component: Cactus | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by diener):
* status: reviewed_ok => closed * resolution: => fixed
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.
trac@lists.einsteintoolkit.org