-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #802 from jscgh/add-unsw_katana
Add unsw katana
- Loading branch information
Showing
8 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains 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 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 |
---|---|---|
|
@@ -100,6 +100,7 @@ jobs: | |
- "janelia" | ||
- "jax" | ||
- "jex" | ||
- "unsw_katana" | ||
- "ku_sund_danhead" | ||
- "leicester" | ||
- "lugh" | ||
|
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
profiles { | ||
unsw_katana { | ||
params { | ||
config_profile_contact = '@jscgh' | ||
config_profile_description = 'nf-core/proteinfold UNSW Katana profile provided by nf-core/configs' | ||
} | ||
process { | ||
executor = 'pbspro' | ||
queue = 'submission' | ||
|
||
withLabel:gpu_compute { | ||
accelerator = 1 | ||
clusterOptions = { "-l host=k095 -l ngpus=1 -l ncpus=${task.cpus} -l mem=${task.memory.toMega()}mb" } | ||
} | ||
|
||
withName: 'RUN_HELIXFOLD3' { | ||
containerOptions = "--bind \${TMPDIR}:/tmp,\${PWD} --env CUDA_VISIBLE_DEVICES=0" | ||
} | ||
} | ||
} | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// UNSW Katana nf-core configuration profile | ||
|
||
|
||
params { | ||
config_profile_description = 'UNSW Katana HPC profile provided by nf-core/configs.' | ||
config_profile_contact = '@jscgh' | ||
config_profile_url = 'https://docs.restech.unsw.edu.au/' | ||
} | ||
|
||
process { | ||
executor = 'pbspro' | ||
queue = 'submission' | ||
|
||
resourceLimits = [ | ||
memory: 248.GB, | ||
cpus: 24, | ||
time: 100.h | ||
] | ||
|
||
withLabel:process_single { | ||
cpus = { 1 } | ||
memory = { 4.GB * task.attempt } | ||
time = { 2.h * task.attempt } | ||
} | ||
withLabel:process_low { | ||
cpus = { 2 * task.attempt } | ||
memory = { 12.GB * task.attempt } | ||
time = { 2.h * task.attempt } | ||
} | ||
withLabel:process_medium { | ||
cpus = { 8 * task.attempt } | ||
memory = { 62.GB * task.attempt } | ||
time = { 12.h * task.attempt } | ||
} | ||
withLabel:process_high { | ||
cpus = { 12 * task.attempt } | ||
memory = { 124.GB * task.attempt } | ||
time = { 48.h * task.attempt } | ||
} | ||
withLabel:process_long { | ||
time = { 100.h * task.attempt } | ||
} | ||
withLabel:process_high_memory { | ||
memory = { 248.GB * task.attempt } | ||
} | ||
withLabel:error_ignore { | ||
errorStrategy = 'ignore' | ||
} | ||
withLabel:error_retry { | ||
errorStrategy = 'retry' | ||
maxRetries = 1 | ||
} | ||
} |
This file contains 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# nf-core/configs: USNW Katana HPC Configuration | ||
|
||
nf-core pipelines have been successfully configured for use on the [UNSW Katana](https://docs.restech.unsw.edu.au/) at the University of New South Wales, Sydney, Australia. | ||
|
||
To run an nf-core pipeline at UNSW Katana, run the pipeline with `-profile singularity,unsw_katana`. This will download and launch the [`unsw_katana.config`](../conf/unsw_katana.config) which has been pre-configured with a setup suitable for the unsw katana HPC cluster. Using this profile, a Singularity image image containing all of the required software will be used for the pipeline. | ||
|
||
## Launch an nf-core pipeline on Katana | ||
|
||
### Prerequisites | ||
|
||
Before running the pipeline you will need to load Nextflow and Java, both of which are globally installed modules on Katana. You can do this by running the commands below: | ||
|
||
```bash | ||
module purge | ||
module load nextflow java | ||
``` | ||
|
||
### Execution command | ||
|
||
```bash | ||
module load nextflow | ||
module load java | ||
|
||
nextflow run <nf-core_pipeline>/main.nf \ | ||
-profile singularity,unsw_katana \ | ||
<additional flags> | ||
``` | ||
|
||
### Queue limits | ||
|
||
This config is defined in line with the [UNSW Katana queue limits](https://docs.restech.unsw.edu.au/using_katana/running_jobs/#job-queue-limits-summary). |
This file contains 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 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