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

ICR Alma #845

Merged
merged 4 commits into from
Feb 21, 2025
Merged

ICR Alma #845

merged 4 commits into from
Feb 21, 2025

Conversation

rachelicr
Copy link
Contributor

@rachelicr rachelicr commented Feb 19, 2025


name: New Config
about: A new cluster config

Please follow these steps before submitting your PR:

  • If your PR is a work in progress, include [WIP] in its title
  • Your PR targets the master branch
  • You've included links to relevant issues, if any

Steps for adding a new config profile:

  • Add your custom config file to the conf/ directory
  • Add your documentation file to the docs/ directory
  • Add your custom profile to the nfcore_custom.config file in the top-level directory
  • Add your custom profile to the README.md file in the top-level directory
  • Add your profile name to the profile: scope in .github/workflows/main.yml
  • OPTIONAL: Add your custom profile path and GitHub user name to .github/CODEOWNERS (**/<custom-profile>** @<github-username>)

Copy link
Member

@jfy133 jfy133 left a 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


process {
queue="compute"
executor = "SLURM"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
executor = "SLURM"
executor = "slurm"

Comment on lines 18 to 20
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' }
Copy link
Member

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.
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nextflow run nf-core/sarek -profile singularity,test -profile icr_alma
nextflow run nf-core/sarek -profile icr_alma,test --outdir ./results

maxErrors = '-1'
clusterOptions = '--mem-per-cpu=8000'

max_memory = '256.GB'
Copy link
Member

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

Copy link
Member

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!

maxErrors = '-1'
clusterOptions = '--mem-per-cpu=8000'

max_memory = '256.GB'
Copy link
Member

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!

@jfy133
Copy link
Member

jfy133 commented Feb 21, 2025

See my older comment you did not resolve previously in regards to the position of the max params

rachelicr and others added 2 commits February 21, 2025 08:40
accepting review suggestion - thanks.

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
@rachelicr rachelicr merged commit f420f16 into nf-core:master Feb 21, 2025
142 checks passed
@jfy133
Copy link
Member

jfy133 commented Feb 21, 2025

Lgtm!

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.

3 participants