-
Notifications
You must be signed in to change notification settings - Fork 6
updates for CWL CUDA, Resources, NetworkAccess requirements #506
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 all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7bec9c8
update documentation for CUDA, Resources, NetworkAccess CWL requireme…
fmigneault 492e656
fix builtin app missing requirement until setup
fmigneault 024c8b8
remove 'trailing' whitepaces
fmigneault eac05b6
Merge branch 'master' into secure-packages
fmigneault 4619a8d
Merge branch 'secure-packages' of https://github.com/crim-ca/weaver i…
fmigneault 6229f7f
fix another trailing whitespace
fmigneault 5325bb0
add test for new GPU compatibility handling function
fmigneault 1c70feb
ignore pylint false-positive about indented checks
fmigneault 6b60e95
fix typos and ignore checks
fmigneault 486a750
adjust tests to consider new app-pkg validations
fmigneault 5eab423
avoid failing workflow with app-specific requirements check
fmigneault 4d3ad62
fix test cases with undefined CWL class
fmigneault eaa129b
add ResourceRequirements tests [partial] (relates to https://github.c…
fmigneault ce429b0
fix inverted test status
fmigneault 7236f26
update docs with remote process/package definition
fmigneault 4e15cc6
fix invalid min MiB expected as output
fmigneault 96c49c0
fix typos flagged by PR review
fmigneault 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
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,3 +1,4 @@ | ||
| #!/usr/bin/env cwl-runner | ||
| cwlVersion: v1.0 | ||
| class: CommandLineTool | ||
| baseCommand: | ||
|
|
||
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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #!/usr/bin/env cwl-runner | ||
| cwlVersion: v1.2 | ||
| class: CommandLineTool | ||
| baseCommand: nvidia-smi | ||
| requirements: | ||
| cwltool:CUDARequirement: | ||
| cudaVersionMin: "11.2" | ||
| cudaComputeCapability: "7.5" | ||
| cudaDeviceCountMin: 1 | ||
| cudaDeviceCountMax: 4 | ||
| $namespaces: | ||
| cwltool: "http://commonwl.org/cwltool#" | ||
| inputs: {} | ||
| outputs: | ||
| output: | ||
| type: File | ||
| outputBinding: | ||
| glob: output.txt | ||
| stdout: output.txt |
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 |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| #!/usr/bin/env cwl-runner | ||
| cwlVersion: v1.2 | ||
| class: CommandLineTool | ||
| baseCommand: curl | ||
| requirements: | ||
| NetworkAccess: | ||
| networkAccess: true | ||
| inputs: | ||
| url: | ||
| type: string | ||
| outputs: | ||
| output: | ||
| type: File | ||
| outputBinding: | ||
| glob: "output.txt" | ||
| stdout: "output.txt" | ||
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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #!/usr/bin/env cwl-runner | ||
| cwlVersion: v1.2 | ||
| class: CommandLineTool | ||
| baseCommand: "<high-compute-algorithm>" | ||
| requirements: | ||
| ResourceRequirement: | ||
| coresMin: 8 | ||
| coresMax: 16 | ||
| ramMin: 1024 | ||
| ramMax: 2048 | ||
| tmpdirMin: 128 | ||
| tmpdirMax: 1024 | ||
| outdirMin: 1024 | ||
| outdirMax: 2048 | ||
| inputs: {} | ||
| outputs: | ||
| output: | ||
| type: File | ||
| outputBinding: | ||
| glob: output.txt | ||
| stdout: output.txt |
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
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
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.