Skip to content

Commit ce032a0

Browse files
author
John Major
committed
0.0.6
1 parent ff9aedc commit ce032a0

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

ISSUES.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
1. Change job names to be meaningful.
5-
2. Make `--comment` easy to pass through from config.
5+
2. Make `--comment` easy to pass through from config, ie with --default-resources comment='my-comment'
66
3. Make random `slurm` flags easier to pass through from config, esp for globals.
7-
4. re-review the core plugin code, consider what can be added to make use of the novel aspects of pcluster which are not in the vanilla slurm plugin.
7+
4. re-review the core plugin code, consider what can be added to make use of the novel aspects of pcluster which are not in the vanilla slurm plugin.
8+
5. This is optimized to minimally run, this has not been heavily tuned for heavy and large compute environments. It might be OK, but this is not known to be the case.

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Snakemake executor plugin: pcluster-slurm v_0.0.4_
1+
# Snakemake executor plugin: pcluster-slurm v_0.0.6_
22

33
# Snakemake Executor Plugins (generally)
44
[Snakemake plugin catalog docs](https://snakemake.github.io/snakemake-plugin-catalog/plugins/executor).
@@ -22,5 +22,12 @@ _from an environment with snakemake and pip installed_
2222
pip install snakemake-executor-plugin-pcluster-slurm
2323
```
2424

25+
# Example Usage [daylily cluster headnode](https://github.com/Daylily-Informatics/daylily)
26+
```bash
27+
mkdir -p /fsx/resources/environments/containers/ubuntu/cache/
28+
export SNAKEMAKE_OUTPUT_CACHE=/fsx/resources/environments/containers/ubuntu/cache/
29+
snakemake --use-conda --use-singularity -j 10 --singularity-prefix /fsx/resources/environments/containers/ubuntu/ip-10-0-0-240/ --singularity-args " -B /tmp:/tmp -B /fsx:/fsx -B /home/$USER:/home/$USER -B $PWD/:$PWD" --conda-prefix /fsx/resources/environments/containers/ubuntu/ip-10-0-0-240/ --executor pcluster-slurm --default-resources slurm_partition='i64,i128,i192' --cache --verbose
30+
```
31+
2532
# More Documentation Pending For:
2633
## How slurm uses `--comment` to tag resources created by the autoscaling cluster to tracke and mnage budgets.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "snakemake-executor-plugin-pcluster-slurm"
3-
version = "0.0.4"
3+
version = "0.0.6"
44
description = "A Snakemake executor plugin for submitting jobs to an AWS Parallel Cluster (pcluster) SLURM cluster."
55
authors = [
66
"John Major <[email protected]>",

0 commit comments

Comments
 (0)