CliMA / ClimaCalibrate.jl

Calibration pipeline for ClimaAtmos.jl
Apache License 2.0
4 stars 1 forks source link

Add CLI for slurm configuration #70

Closed nefrathenrici closed 7 months ago

nefrathenrici commented 7 months ago

This PR adds a command line interface for setting the slurm configuration of the pipeline.

This has the following help message:

Usage:
    ./pipeline.sh [options] experiment_id

Options:
    -t, --time=HH:MM:SS: Set max wallclock time (default: 2:00:00).
    -n, --ntasks:        Set number of tasks to launch (default: 1).
    -c, --cpus_per_task: Set CPU cores per task (mutually exclusive with -g, default: 8).
    -g, --gpus_per_task: Set GPUs per task (mutually exclusive with -c, default: 0).
    -h, --help:          Display this help message.

Arguments:
    experiment_id:   A unique identifier for your experiment (required).

Other content

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.95%. Comparing base (f4b476a) to head (c941577).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #70 +/- ## ======================================= Coverage 63.95% 63.95% ======================================= Files 4 4 Lines 86 86 ======================================= Hits 55 55 Misses 31 31 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.