Skip to content

Commit 2753b27

Browse files
committed
reformat ShmSize documentation, add to CWL v1.0 & v1.1
1 parent 043da28 commit 2753b27

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

cwltool/extensions-v1.1.yml

+18
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,21 @@ $graph:
120120
doc: |
121121
Maximum number of GPU devices to request. If not specified,
122122
same as `cudaDeviceCountMin`.
123+
- name: ShmSize
124+
type: record
125+
extends: cwl:ProcessRequirement
126+
inVocab: false
127+
fields:
128+
class:
129+
type: string
130+
doc: 'cwltool:ShmSize'
131+
jsonldPredicate:
132+
"_id": "@type"
133+
"_type": "@vocab"
134+
shmSize:
135+
type: string
136+
doc: |
137+
Size of /dev/shm. The format is `<number><unit>`. <number> must be greater
138+
than 0. Unit is optional and can be `b` (bytes), `k` (kilobytes), `m`
139+
(megabytes), or `g` (gigabytes). If you omit the unit, the default is
140+
bytes. If you omit the size entirely, the value is `64m`."

cwltool/extensions-v1.2.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -253,5 +253,8 @@ $graph:
253253
"_type": "@vocab"
254254
shmSize:
255255
type: string
256-
doc: "Size of /dev/shm. The format is <number><unit>. number must be greater than 0. Unit is optional and can be b (bytes), k (kilobytes), m (megabytes), or g (gigabytes). If you omit the unit, the system uses bytes. If you omit the size entirely, the system uses 64m."
257-
256+
doc: |
257+
Size of /dev/shm. The format is `<number><unit>`. <number> must be greater
258+
than 0. Unit is optional and can be `b` (bytes), `k` (kilobytes), `m`
259+
(megabytes), or `g` (gigabytes). If you omit the unit, the default is
260+
bytes. If you omit the size entirely, the value is `64m`."

cwltool/extensions.yml

+19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
$base: http://commonwl.org/cwltool#
22
$namespaces:
33
cwl: "https://w3id.org/cwl/cwl#"
4+
cwltool: "http://commonwl.org/cwltool#"
45
$graph:
56
- $import: https://w3id.org/cwl/CommonWorkflowLanguage.yml
67

@@ -229,3 +230,21 @@ $graph:
229230
doc: |
230231
Maximum number of GPU devices to request. If not specified,
231232
same as `cudaDeviceCountMin`.
233+
- name: ShmSize
234+
type: record
235+
extends: cwl:ProcessRequirement
236+
inVocab: false
237+
fields:
238+
class:
239+
type: string
240+
doc: 'cwltool:ShmSize'
241+
jsonldPredicate:
242+
"_id": "@type"
243+
"_type": "@vocab"
244+
shmSize:
245+
type: string
246+
doc: |
247+
Size of /dev/shm. The format is `<number><unit>`. <number> must be greater
248+
than 0. Unit is optional and can be `b` (bytes), `k` (kilobytes), `m`
249+
(megabytes), or `g` (gigabytes). If you omit the unit, the default is
250+
bytes. If you omit the size entirely, the value is `64m`."

0 commit comments

Comments
 (0)