Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI for slurm configuration #70

Merged
merged 6 commits into from
Mar 19, 2024
Merged

Add CLI for slurm configuration #70

merged 6 commits into from
Mar 19, 2024

Conversation

nefrathenrici
Copy link
Member

@nefrathenrici nefrathenrici commented Mar 15, 2024

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

  • Moves all sbatch files into slurm/
  • Moves pipeline.sh and pipeline.jl to the toplevel of the repo
  • Update docs

@nefrathenrici nefrathenrici linked an issue Mar 15, 2024 that may be closed by this pull request
Copy link

codecov bot commented Mar 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nefrathenrici nefrathenrici force-pushed the ne/cli branch 2 times, most recently from 128fa59 to 52fd095 Compare March 18, 2024 21:55
@nefrathenrici nefrathenrici merged commit d855db2 into main Mar 19, 2024
8 checks passed
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.

Allow per-experiment slurm configuration
1 participant