Git repository of the campaign, kept by canoP studio: each launch of a run makes a commit in it.
Versioned:
physics/: the physics of the campaign, all the Python files compiled by pykokkos when the runs are launched. Copied from the canoP sources when the campaign was made: the physics of the campaign is changed here, not in the canoP sources.workspace/<id>/: the ini of each run, its view (canoP_view.py,canoP_fields.py), its signac state point and job document (signac_statepoint.json,signac_job_document.json).analysis.py(Analysis tab), the signac-flow project (project.py,templates/),.signac/configandsignac_project_document.json(base ini, sweep, settings of the last submission).
Not versioned: the outputs and logs of the runs, workspace/<id>/canoP_physics/.
- If
physics/changed since the previous launch, a commit "physics: ...". - At the top of the ini of the run,
# [canoP studio]lines: the commit of canoP (that of the build of the executable) and the commit of the physics (in this repository). - The physics of that commit is copied into
workspace/<id>/canoP_physics/; the job reads it through the variableCANOP_PHYSICS_DIR. Changingphysics/afterwards does not change a run already launched. - A commit "launch: ...": the inis, views and documents.
The signac document of each run (signac_job_document.json) also keeps both commits (canop,
physics).
-
canoP at the commit written in the ini of the run, built by the studio:
git clone <canoP repository> canoP git -C canoP checkout <canoP commit> git -C canoP submodule update --init --recursive -
This repository in the campaigns of that canoP (the directory
_campaignsnext to the build directory,_buildby default):git clone <this repository> canoP/_campaigns/scaling_mi300For the physics of an older launch:
git checkout <commit>, then a branch (git switch -c reproduction). The studio does not launch from a detached commit. -
In the studio, campaign scaling_mi300: "Prepare again" sets the submitted runs that have no files (those of the clone) back to prepared, then "Launch the prepared runs". A single run: Run tab, "Run".