Repository navigation
docs: tutorial of canoP studio (build, a run, a convergence campaign) - #7
Merged
Merged
Conversation
Three pages in docs/tutorial/, with screenshots of the studio in English: - build: the Code and build and Execution panels, their choices, the build log; - run: the blast example outside campaigns: initial condition, run, log, view, its campaign; - campaign: a convergence campaign on uniform meshes of 32² to 512² cells, with a new initial condition in Python (sine wave advected in a periodic domain), the limits of pykokkos checked by compiling variants of it, the launch with sbatch, and an analysis.py that plots the L1 error and the observed order (1.69 to 1.83 with minmod). screenshots.py takes the screenshots with Playwright from a running studio, with neutral paths, user, host and modules. 15 WebP images at twice the resolution, 1.2 MB in all. Closes #3 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tutorial of canoP studio
Three pages in
docs/tutorial/(section "Tutorial" of the documentation), with screenshots of thestudio in English:
build.md): the Code and build and Execution panels, their choices (backend,launcher, build on a compute node), and the build log.
run.md): the blast example outside campaigns: input file and description of thekeys, initial condition, run, log, view, and the run in the campaign
hors-campagne.campaign.md): a new initial condition in Python (a sine waveadvected in a periodic domain), a campaign over
amr.max_refine= 5 to 9 (32² to 512² cells,uniform mesh), its launch with sbatch, and an
analysis.pythat plots the L1 error and theobserved order (1.69 to 1.83 with minmod).
Page 3 also lists what pykokkos accepts in an initial condition, each row checked by compiling a
variant of the file: missing annotation,
max,np.sin, module constants,a if c else band listsare refused;
math.pi,abs,**and/are accepted. It gives the exact error messages.The campaign of page 3 as it ran is in canoPdev/tutorial,
with its results on the wiki.
Screenshots
docs/tutorial/screenshots.pytakes them with Playwright from a running studio(
--clone <clone> --port <port> [build] [run] [campaign]). Paths, user, host and modules are replacedby neutral values in the page before each capture. 15 WebP images at twice the resolution, 1.2 MB in
all. Page 3 submits the 5 runs to Slurm (about 10 minutes on 16 cores).
Checks
-W: no warning except the missing Doxygen on this machine.files/sine.py,files/convergence.ini,files/analysis.py) are those ofthe campaign in canoPdev/tutorial.
Closes #3
🤖 Generated with Claude Code