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

Patch biowulf config #696

Merged
merged 13 commits into from
Oct 22, 2024
Merged

Patch biowulf config #696

merged 13 commits into from
Oct 22, 2024

Conversation

qiyubio
Copy link
Contributor

@qiyubio qiyubio commented May 24, 2024


name: Update the cluster config
about: patches

Please follow these steps before submitting your PR:

  • Your PR targets the master branch
  • You've included links to relevant issues, if any

Qi Yu added 2 commits May 24, 2024 09:24
Add restriction to prevent over-threading.
Modify the cache names for nxf_singularity to separate it from
singularity cache.
Add restriction to prevent user's mis-usage of clusterOption in params.
The executor contents are moved inside of profile, so that it could
run individually without cross-talking.
@qiyubio qiyubio requested a review from edmundmiller May 24, 2024 14:21
}

env {
SINGULARITY_CACHEDIR="/data/$USER/singularity"
SINGULARITY_CACHEDIR="/data/$USER/.singularity"
Copy link
Member

Choose a reason for hiding this comment

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

Just noticed this, shouldn't this be the same as the path above?

so that is is more clear to be able to reuse in profile
Copy link
Contributor

@edmundmiller edmundmiller left a comment

Choose a reason for hiding this comment

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

I have only seen them ever be the same.

So I think, make them match or reveal your secrets 😁

}

env {
SINGULARITY_CACHEDIR="/data/$USER/singularity"
SINGULARITY_CACHEDIR="/data/$USER/.singularity"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
SINGULARITY_CACHEDIR="/data/$USER/.singularity"
SINGULARITY_CACHEDIR="/data/$USER/nxf_singularity_cache"

Qi Yu and others added 3 commits September 23, 2024 16:31
move clusterOptions and scratch out of executor, and move them into
process.
delete spaces
qiyubio and others added 5 commits September 27, 2024 16:28
When solving the conflicts from the recent update on config file from nf-core side, the cachedir is reset to older version. 
Have to modify it to match our cluster setting.
Deleted the out of date one
Remove the out of dated resourcelimits from params to process.
Changed the igenome_base from /fdb/igenomes to /fdb/igenomes_nf.
@qiyubio
Copy link
Contributor Author

qiyubio commented Oct 18, 2024

There is bug in this setting, the time without .h will cause user's slurm job submitted with unlimited time, and the job will never got started since it excessed the wall time of slurm partition. Related commit: 32a6072#diff-96a1aad67f506874b7386e703c477b248b02e69624dbdaaa4ba7478d7b7d0f88

resourceLimits = [ memory: 224, cpus: 32, time: 72 ]
Could my pull request got approved? Which has the newest resourceLimits (resourceLimits = [ cpus: 192, memory: 751.GB, time: 240.h ]), and SINGULARITY_CACHEDIR is removed.

@qiyubio qiyubio dismissed edmundmiller’s stale review October 22, 2024 20:00

SINGULARITY_CACHEDIR in env has been removed, because it does not work as expected.

@qiyubio qiyubio merged commit f9201c6 into nf-core:master Oct 22, 2024
133 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.

3 participants