-
Notifications
You must be signed in to change notification settings - Fork 288
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
ICR Alma #845
ICR Alma #845
Conversation
15f10cb
to
bc87297
Compare
bc87297
to
e9b7912
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good @rachelicr ! Some recommendations/suggestions below
conf/icr_alma.config
Outdated
|
||
process { | ||
queue="compute" | ||
executor = "SLURM" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
executor = "SLURM" | |
executor = "slurm" |
conf/icr_alma.config
Outdated
shell = ['/bin/bash', '-euo', 'pipefail'] | ||
// memory errors which should be retried. otherwise error out | ||
errorStrategy = { task.exitStatus in [143,137,104,134,139,140,247] ? 'retry' : 'finish' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need to define this here, both are already predefined in each pipeline. Particularly the error strategy one some pipelines may have extended this list, and you don't want to override those
docs/icr_alma.md
Outdated
|
||
Singularity is installed on the compute nodes of Alma, but not the login nodes. There is no module for Singularity. | ||
|
||
All of the intermediate files required to run the pipeline will be stored in the `work/` directory. It is recommended to delete this directory after the pipeline has finished successfully because it can get quite large. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want this to be cleaned up automatically on a successful run, you can specify cleanup = true
. If a pipeline fails, the cleanup doesn't occur even if this is set to true to allow you to debug the run
docs/icr_alma.md
Outdated
#SBATCH --time=1:00:00 | ||
#SBATCH --mem-per-cpu=4000 | ||
|
||
nextflow run nf-core/sarek -profile singularity,test -profile icr_alma |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nextflow run nf-core/sarek -profile singularity,test -profile icr_alma | |
nextflow run nf-core/sarek -profile icr_alma,test --outdir ./results |
conf/icr_alma.config
Outdated
maxErrors = '-1' | ||
clusterOptions = '--mem-per-cpu=8000' | ||
|
||
max_memory = '256.GB' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nax_menory seems to be duplicated now, and I just released the max_ parameters are in the wrong place - they should be in params
Resourcelimits are fine where they are though @rachelicr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still isn't resolved!
6301c3c
to
d0e2ad4
Compare
conf/icr_alma.config
Outdated
maxErrors = '-1' | ||
clusterOptions = '--mem-per-cpu=8000' | ||
|
||
max_memory = '256.GB' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still isn't resolved!
See my older comment you did not resolve previously in regards to the position of the |
accepting review suggestion - thanks. Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
Lgtm! |
name: New Config
about: A new cluster config
Please follow these steps before submitting your PR:
[WIP]
in its titlemaster
branchSteps for adding a new config profile:
conf/
directorydocs/
directorynfcore_custom.config
file in the top-level directoryREADME.md
file in the top-level directoryprofile:
scope in.github/workflows/main.yml
.github/CODEOWNERS
(**/<custom-profile>** @<github-username>
)