Skip to content

script: rewrite the launch.py script in a more complete form : scripts/bench.py#30

Open
svalat wants to merge 1 commit into
idefix-code:mainfrom
svalat:feature/rewrite-of-launch-py-into-bench-py
Open

script: rewrite the launch.py script in a more complete form : scripts/bench.py#30
svalat wants to merge 1 commit into
idefix-code:mainfrom
svalat:feature/rewrite-of-launch-py-into-bench-py

Conversation

@svalat

@svalat svalat commented Jun 17, 2026

Copy link
Copy Markdown

Waiting merge

Note: Maybe wait it has been validated on another cluster before merging.

Scripts

Write a single script to :

  • clone and build idefix
  • generate the jobs
  • submit them
  • extract the performance

All is currently in the new ./scripts/bench.py which was started by reshaping ./scripts/launch.py and extending it with what ./scripts/run-bench was doing.

This patch currently let the original scripts in place.

Schedulers

The ./scripts/bench.py now supports :

  • slurm
  • oar
  • sh (local)

The choice depends on the extension name for the script.* file in the cluster definition (begin script.slurm, script.oar or script.sh.

Clusters

It also adds two clusters :

  • kraken (cpu/mpi & gpu/h1OO)
  • localhost (cpu / openmp) => to help validating the script.

.gitignore

Mask the default idefix and runs directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant