#271: python simfactory submit creates only the SubmitScript ----------------------------------------------+----------------------------- Reporter: alexander.beck-ratzka@… | Type: defect Status: new | Priority: major Milestone: | Component: Other Version: | Keywords: simfactory submit ----------------------------------------------+----------------------------- The python version of simfactory submit creates only the submitScript called PreparedSubmitScript. The RunScript is created at the moment of the simfactory run call at the end of the SubmitScript.
So a user has no possibilty to check whether his settings e.g. for mpirun have been correct or not for all the time where the job is only queued. I feel this is not a user friendly solution. The RunScript should be created together with the SubmitScript.
#271: python simfactory submit creates only the SubmitScript -----------------------------------------------+---------------------------- Reporter: alexander.beck-ratzka@… | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Other | Version: Resolution: | Keywords: simfactory submit -----------------------------------------------+----------------------------
Comment (by eschnett):
If you see a PreparedSubmitScript, then you are using an older version of SimFactory 2.
Submitting a simulation interacts with the queuing system, while running a simulation interacts with MPI. These are now separated in SimFactory 2. To debug, I suggest to start the job interactively, which gives you immediate feedback.
Michael, could you briefly describe how to do that? Have you tested this on Damiana?
#271: python simfactory submit creates only the SubmitScript -----------------------------------------------+---------------------------- Reporter: alexander.beck-ratzka@… | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Other | Version: Resolution: | Keywords: simfactory submit -----------------------------------------------+----------------------------
Comment (by anonymous):
I have updated today my python simfactory. I am using the Revision 1191, and I see the SubmitScript, not the PreparedSubmitScript. Thanks for the hint.
#271: python simfactory submit creates only the SubmitScript -----------------------------------------------+---------------------------- Reporter: alexander.beck-ratzka@… | Owner: mthomas Type: defect | Status: new Priority: major | Milestone: Component: SimFactory | Version: Resolution: | Keywords: simfactory submit -----------------------------------------------+---------------------------- Changes (by hinder):
* owner: => mthomas * component: Other => SimFactory
#271: python simfactory submit creates only the SubmitScript -----------------------------------------------+---------------------------- Reporter: alexander.beck-ratzka@… | Owner: mthomas Type: enhancement | Status: new Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: simfactory submit -----------------------------------------------+---------------------------- Changes (by eschnett):
* priority: major => minor * type: defect => enhancement
#271: python simfactory submit creates only the SubmitScript -----------------------------------------------+---------------------------- Reporter: alexander.beck-ratzka@… | Owner: mthomas Type: enhancement | Status: new Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: simfactory submit -----------------------------------------------+----------------------------
Comment (by mthomas):
Erik renamed PreparedSubmitScript to just SubmitScript. When submission happens, you can see the final output (after all the substitutions and variables have been expanded) submission script at <basedir>/<simulationname>/output-<xxx>/SIMFACTORY/SubmitScript
When submitting a simulation with the current revision r1220, you will see debug output similiar to the following:
Info: saving substituted submitscript contents to: /work/mwt/simulations/rr_test/output-0000/SIMFACTORY/SubmitScript
You can then look at that file to see the final contents of the SubmitScript.
#271: python simfactory submit creates only the SubmitScript -----------------------------------------------+---------------------------- Reporter: alexander.beck-ratzka@… | Owner: mthomas Type: enhancement | Status: new Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: simfactory submit -----------------------------------------------+----------------------------
Comment (by hinder):
Alexander, does this fix your problem? Can we close the ticket?
#271: python simfactory submit creates only the SubmitScript -----------------------------------------------+---------------------------- Reporter: alexander.beck-ratzka@… | Owner: mthomas Type: enhancement | Status: closed Priority: minor | Milestone: Component: SimFactory | Version: Resolution: fixed | Keywords: simfactory submit -----------------------------------------------+---------------------------- Changes (by eschnett):
* status: new => closed * resolution: => fixed
Comment:
Closing this ticket.
trac@lists.einsteintoolkit.org