-
Notifications
You must be signed in to change notification settings - Fork 315
Update PDC_KTH config for strict syntax #913
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
Conversation
Great, thanks. Will need to look closer, but one immediate thing:
|
I'm not sure what you mean. Do you mean if they inadvertantly load Although I just realised that the |
Yes, And environment from submit node might propagate to jobs. Partly. One should not rely on that. And we need |
(So it doesn't matter what, if anything they have done before starting nextflow, we should still load the module in the job.) |
e40e793
to
013a597
Compare
Looks good. The ignores seems to need an overhaul again but that's probably
an issue for another day.
Den tors 12 juni 2025 11:15Mahesh Binzer-Panchal ***@***.***>
skrev:
… *mahesh-panchal* left a comment (nf-core/configs#913)
<#913 (comment)>
* I think `beforeScript` is still needed because we need to have (a good) `apptainer` accessible in the job for calling. (I haven't checked how dardel is set up now, but I consider relying on environment inheritance from the submitting node for jobs is evil)
I'm not sure what you mean. Do you mean if they inadvertantly load ml PDC
singularity instead?.
When pulling a container apptainer needs to be loaded already since it's
performed before beforeScript gets called.
Although I just realised that the module environment propagates to the
slurm environment. The beforeScript is run on the slurm node, while the apptainer
pull is performed on the login node.
—
Reply to this email directly, view it on GitHub
<#913 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAEBWHQAFQUJVCAUV4TXL3DFAL5AVCNFSM6AAAAAB7EU57XSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNRVG44DSOJYGY>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Added update to nf-schema validation too. |
Feel free to merge whenever. |
name: pdc_kth
about: Update
pdc_kth
in preparation for strict syntax.switch
swapped toif
because of strict syntax.RemovesbeforeScript
because it's not called before images need to be pulled (i.e. user must domodule load PDC apptainer
themselves anyway).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 directoryprofile:
scope in.github/workflows/main.yml
.github/CODEOWNERS
(**/<custom-profile>** @<github-username>
)