-
Notifications
You must be signed in to change notification settings - Fork 356
Update NCI Gadi config and documentation #1096
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3ac5528
Add persistent session info
georgiesamaha f74b747
Update gadi docs
georgiesamaha 6604a74
Update gadi conf
georgiesamaha 8de4348
Update gadi conf cacheDir
georgiesamaha e09360e
Add gadi CODEOWNER
georgiesamaha 7666d32
Fix cache
georgiesamaha b4babd5
Fix lint issue and typo
georgiesamaha fbacde0
Add updates from #872
georgiesamaha c327c7a
Merge branch 'master' into nci_gadi
georgiesamaha 7366d3b
update gadi config and doc
kisarur f1710d1
Merge branch 'master' into nci_gadi_update2
kisarur b723f61
add comments for Gadi-specific directives
kisarur 907e0e9
ignore Gadi-specific params in validation
kisarur 2fda07e
update CODEOWNERS
kisarur e6db7c0
Update docs/nci_gadi.md
kisarur 4813c4e
rename Gadi-specific params
kisarur 7b1b250
Merge branch 'master' into nci_gadi_update2
kisarur 2bfab19
[automated] Fix code linting
nf-core-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,43 +1,33 @@ | ||
| // NCI Gadi nf-core configuration profile | ||
| params { | ||
| config_profile_description = 'NCI Gadi HPC profile provided by nf-core/configs' | ||
| config_profile_contact = 'Georgie Samaha (@georgiesamaha), Matthew Downton (@mattdton)' | ||
| config_profile_contact = 'Georgie Samaha (@georgiesamaha), Kisaru Liyanage (@kisarur), Matthew Downton (@mattdton)' | ||
| config_profile_url = 'https://opus.nci.org.au/display/Help/Gadi+User+Guide' | ||
| project = System.getenv("PROJECT") | ||
| storage = "gdata/${params.project}+scratch/${params.project}" | ||
|
jfy133 marked this conversation as resolved.
Outdated
kisarur marked this conversation as resolved.
Outdated
|
||
| } | ||
|
|
||
| validation.ignoreParams = ["project", "storage"] | ||
|
|
||
| // Enable use of Singularity to run containers | ||
| singularity { | ||
| enabled = true | ||
| autoMounts = true | ||
| cacheDir = "/scratch/${params.project}/${System.getenv('USER')}/nxf_singularity_cache" | ||
| } | ||
|
|
||
| // Submit up to 300 concurrent jobs (Gadi exec max) | ||
| // pollInterval and queueStatInterval of every 5 minutes | ||
| // submitRateLimit of 20 per minute | ||
| executor { | ||
| queueSize = 300 | ||
| pollInterval = '5 min' | ||
| queueStatInterval = '5 min' | ||
| submitRateLimit = '20 min' | ||
| } | ||
|
|
||
| // Define process resource limits | ||
| process { | ||
| executor = 'pbspro' | ||
| storage = "scratch/${params.project}" | ||
| project = "${params.project}" // The version of Nextflow installed on Gadi has been modified to allow usage of this non standard directive | ||
| storage = "${params.storage}" // The version of Nextflow installed on Gadi has been modified to allow usage of this non standard directive | ||
| module = 'singularity' | ||
| cache = 'lenient' | ||
| stageInMode = 'symlink' | ||
| queue = { task.memory < 128.GB ? 'normalbw' : (task.memory >= 128.GB && task.memory <= 190.GB ? 'normal' : (task.memory > 190.GB && task.memory <= 1020.GB ? 'hugemembw' : '')) } | ||
| beforeScript = 'module load singularity' | ||
| } | ||
|
|
||
| // Write custom trace file with outputs required for SU calculation | ||
| def trace_timestamp = new java.util.Date().format('yyyy-MM-dd_HH-mm-ss') | ||
| trace { | ||
| enabled = true | ||
| overwrite = false | ||
| file = "./gadi-nf-core-trace-${trace_timestamp}.txt" | ||
| fields = 'name,status,exit,duration,realtime,cpus,%cpu,memory,%mem,rss' | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.