Skip to content
Snippets Groups Projects
Commit 8a697be0 authored by Frits Sweijen's avatar Frits Sweijen
Browse files

Pass max dp3 threads to dp3 issue21

parent f955af92
No related branches found
No related tags found
1 merge request!138Pass max dp3 threads to dp3 issue21
Pipeline #40156 passed
Showing
with 120 additions and 7 deletions
...@@ -4,6 +4,12 @@ id: applybeam ...@@ -4,6 +4,12 @@ id: applybeam
baseCommand: baseCommand:
- DP3 - DP3
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
- id: msin - id: msin
type: Directory type: Directory
inputBinding: inputBinding:
......
...@@ -4,6 +4,13 @@ id: applycal ...@@ -4,6 +4,13 @@ id: applycal
baseCommand: baseCommand:
- DP3 - DP3
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
doc: Number of threads DP3 is allowed to use.
- id: msin - id: msin
type: Directory type: Directory
inputBinding: inputBinding:
......
...@@ -9,6 +9,12 @@ arguments: ...@@ -9,6 +9,12 @@ arguments:
- steps=[ddecal,count] - steps=[ddecal,count]
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
- id: msin - id: msin
type: Directory type: Directory
doc: Input Measurement Set doc: Input Measurement Set
......
...@@ -3,6 +3,8 @@ cwlVersion: v1.2 ...@@ -3,6 +3,8 @@ cwlVersion: v1.2
id: make_parset id: make_parset
label: define_parset label: define_parset
inputs: inputs:
- id: numthreads
type: int?
- id: raw_data - id: raw_data
type: boolean? type: boolean?
default: false default: false
......
...@@ -4,6 +4,12 @@ id: dp3 ...@@ -4,6 +4,12 @@ id: dp3
baseCommand: baseCommand:
- DP3 - DP3
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
- id: parset - id: parset
type: File? type: File?
inputBinding: inputBinding:
...@@ -116,4 +122,4 @@ stderr: DP3_err.log ...@@ -116,4 +122,4 @@ stderr: DP3_err.log
requirements: requirements:
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
- class: ResourceRequirement - class: ResourceRequirement
coresMin: 8 coresMin: 8
\ No newline at end of file
...@@ -4,6 +4,12 @@ id: dp3 ...@@ -4,6 +4,12 @@ id: dp3
baseCommand: baseCommand:
- DP3 - DP3
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
- id: parset - id: parset
type: File? type: File?
inputBinding: inputBinding:
...@@ -172,4 +178,4 @@ stderr: DP3_err.log ...@@ -172,4 +178,4 @@ stderr: DP3_err.log
requirements: requirements:
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
- class: ResourceRequirement - class: ResourceRequirement
coresMin: 4 coresMin: 4
\ No newline at end of file
...@@ -4,6 +4,12 @@ id: predict ...@@ -4,6 +4,12 @@ id: predict
baseCommand: baseCommand:
- DP3 - DP3
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
- id: msin - id: msin
type: Directory type: Directory
inputBinding: inputBinding:
...@@ -128,4 +134,4 @@ hints: ...@@ -128,4 +134,4 @@ hints:
- class: DockerRequirement - class: DockerRequirement
dockerPull: astronrd/linc dockerPull: astronrd/linc
stdout: filter_predict.log stdout: filter_predict.log
stderr: filter_predict_err.log stderr: filter_predict_err.log
\ No newline at end of file
...@@ -6,6 +6,12 @@ id: gaincal ...@@ -6,6 +6,12 @@ id: gaincal
baseCommand: baseCommand:
- DP3 - DP3
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
- id: msin - id: msin
type: Directory type: Directory
inputBinding: inputBinding:
......
...@@ -4,6 +4,12 @@ id: predict ...@@ -4,6 +4,12 @@ id: predict
baseCommand: baseCommand:
- DP3 - DP3
inputs: inputs:
- id: max_dp3_threads
type: int?
inputBinding:
position: 0
prefix: numthreads=
separate: false
- id: msin - id: msin
type: Directory type: Directory
inputBinding: inputBinding:
...@@ -105,4 +111,4 @@ hints: ...@@ -105,4 +111,4 @@ hints:
- class: DockerRequirement - class: DockerRequirement
dockerPull: astronrd/linc dockerPull: astronrd/linc
stdout: predict_cal.log stdout: predict_cal.log
stderr: predict_cal_err.log stderr: predict_cal_err.log
\ No newline at end of file
...@@ -168,6 +168,8 @@ steps: ...@@ -168,6 +168,8 @@ steps:
label: initial_flags_join label: initial_flags_join
- id: prep - id: prep
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: source:
- msin - msin
...@@ -181,8 +183,6 @@ steps: ...@@ -181,8 +183,6 @@ steps:
source: flagunconverged source: flagunconverged
- id: demix - id: demix
source: demix source: demix
- id: max_dp3_threads
source: max_dp3_threads
- id: memoryperc - id: memoryperc
source: memoryperc source: memoryperc
- id: flag_baselines - id: flag_baselines
...@@ -258,6 +258,8 @@ steps: ...@@ -258,6 +258,8 @@ steps:
label: concat_logfiles_RefAnt label: concat_logfiles_RefAnt
- id: pa - id: pa
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: source:
- prep/msout - prep/msout
...@@ -288,6 +290,8 @@ steps: ...@@ -288,6 +290,8 @@ steps:
label: PA label: PA
- id: fr - id: fr
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: source:
- pa/msout - pa/msout
...@@ -318,6 +322,8 @@ steps: ...@@ -318,6 +322,8 @@ steps:
label: FR label: FR
- id: bp - id: bp
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: source:
- fr/msout - fr/msout
......
...@@ -3,6 +3,8 @@ cwlVersion: v1.2 ...@@ -3,6 +3,8 @@ cwlVersion: v1.2
id: apply_calibrate id: apply_calibrate
label: apply_calibrate label: apply_calibrate
inputs: inputs:
- id: max_dp3_threads
type: int?
- id: msin - id: msin
type: Directory type: Directory
- id: do_smooth - id: do_smooth
...@@ -52,6 +54,8 @@ outputs: ...@@ -52,6 +54,8 @@ outputs:
steps: steps:
- id: applyPA - id: applyPA
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: msin source: msin
- id: msin_datacolumn - id: msin_datacolumn
...@@ -73,6 +77,8 @@ steps: ...@@ -73,6 +77,8 @@ steps:
label: applyPA label: applyPA
- id: applyBP - id: applyBP
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: applyPA/msout source: applyPA/msout
- id: msin_datacolumn - id: msin_datacolumn
...@@ -96,6 +102,8 @@ steps: ...@@ -96,6 +102,8 @@ steps:
label: applyBP label: applyBP
- id: applybeam - id: applybeam
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: applyBP/msout source: applyBP/msout
- id: msin_datacolumn - id: msin_datacolumn
...@@ -123,6 +131,8 @@ steps: ...@@ -123,6 +131,8 @@ steps:
label: applybeam label: applybeam
- id: applyFR - id: applyFR
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: applybeam/msout source: applybeam/msout
- id: msin_datacolumn - id: msin_datacolumn
...@@ -157,6 +167,8 @@ steps: ...@@ -157,6 +167,8 @@ steps:
label: BLsmooth label: BLsmooth
- id: calib_cal - id: calib_cal
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: BLsmooth/msout source: BLsmooth/msout
- id: msin_datacolumn - id: msin_datacolumn
......
...@@ -3,6 +3,8 @@ cwlVersion: v1.2 ...@@ -3,6 +3,8 @@ cwlVersion: v1.2
id: apply_calibrate id: apply_calibrate
label: apply_calibrate label: apply_calibrate
inputs: inputs:
- id: max_dp3_threads
type: int?
- id: msin - id: msin
type: Directory type: Directory
- id: do_smooth - id: do_smooth
...@@ -40,6 +42,8 @@ outputs: ...@@ -40,6 +42,8 @@ outputs:
steps: steps:
- id: applyFR - id: applyFR
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: msin source: msin
- id: msin_datacolumn - id: msin_datacolumn
...@@ -74,6 +78,8 @@ steps: ...@@ -74,6 +78,8 @@ steps:
label: BLsmooth label: BLsmooth
- id: calib_cal - id: calib_cal
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: BLsmooth/msout source: BLsmooth/msout
- id: msin_datacolumn - id: msin_datacolumn
......
...@@ -3,6 +3,8 @@ cwlVersion: v1.2 ...@@ -3,6 +3,8 @@ cwlVersion: v1.2
id: apply_calibrate id: apply_calibrate
label: apply_calibrate label: apply_calibrate
inputs: inputs:
- id: max_dp3_threads
type: int?
- id: msin - id: msin
type: Directory type: Directory
- id: do_smooth - id: do_smooth
...@@ -44,6 +46,8 @@ outputs: ...@@ -44,6 +46,8 @@ outputs:
steps: steps:
- id: applyPA - id: applyPA
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: msin source: msin
- id: msin_datacolumn - id: msin_datacolumn
...@@ -65,6 +69,8 @@ steps: ...@@ -65,6 +69,8 @@ steps:
label: applyPA label: applyPA
- id: applybeam - id: applybeam
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin_datacolumn - id: msin_datacolumn
default: CORRECTED_DATA default: CORRECTED_DATA
- id: msout_datacolumn - id: msout_datacolumn
...@@ -105,6 +111,8 @@ steps: ...@@ -105,6 +111,8 @@ steps:
label: BLsmooth label: BLsmooth
- id: calib_cal - id: calib_cal
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: BLsmooth/msout source: BLsmooth/msout
- id: msin_datacolumn - id: msin_datacolumn
......
...@@ -3,6 +3,8 @@ cwlVersion: v1.2 ...@@ -3,6 +3,8 @@ cwlVersion: v1.2
id: bp id: bp
label: BP label: BP
inputs: inputs:
- id: max_dp3_threads
type: int?
- id: max_separation_arcmin - id: max_separation_arcmin
type: float? type: float?
default: 1.0 default: 1.0
...@@ -348,6 +350,8 @@ steps: ...@@ -348,6 +350,8 @@ steps:
label: write_solutions label: write_solutions
- id: apply_calibrate_bp - id: apply_calibrate_bp
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: msin source: msin
- id: do_smooth - id: do_smooth
......
...@@ -3,6 +3,9 @@ cwlVersion: v1.2 ...@@ -3,6 +3,9 @@ cwlVersion: v1.2
id: dp3_prep_cal id: dp3_prep_cal
label: dp3_prep_cal label: dp3_prep_cal
inputs: inputs:
- id: max_dp3_threads
type: int?
default: 10
- id: baselines_to_flag - id: baselines_to_flag
type: string[]? type: string[]?
default: [] default: []
...@@ -118,6 +121,8 @@ steps: ...@@ -118,6 +121,8 @@ steps:
label: make_parset label: make_parset
- id: dp3_execute - id: dp3_execute
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: parset - id: parset
source: define_parset/output source: define_parset/output
- id: msin - id: msin
......
...@@ -3,6 +3,8 @@ cwlVersion: v1.2 ...@@ -3,6 +3,8 @@ cwlVersion: v1.2
id: fr id: fr
label: FR label: FR
inputs: inputs:
- id: max_dp3_threads
type: int?
- id: flagunconverged - id: flagunconverged
type: boolean? type: boolean?
default: false default: false
...@@ -235,6 +237,8 @@ steps: ...@@ -235,6 +237,8 @@ steps:
label: write_solutions label: write_solutions
- id: apply_calibrate_fr - id: apply_calibrate_fr
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: msin source: msin
- id: do_smooth - id: do_smooth
......
...@@ -3,6 +3,8 @@ cwlVersion: v1.2 ...@@ -3,6 +3,8 @@ cwlVersion: v1.2
id: pa id: pa
label: PA label: PA
inputs: inputs:
- id: max_dp3_threads
type: int?
- id: flagunconverged - id: flagunconverged
type: boolean? type: boolean?
default: false default: false
...@@ -313,6 +315,8 @@ steps: ...@@ -313,6 +315,8 @@ steps:
label: write_solutions label: write_solutions
- id: apply_calibrate_pa - id: apply_calibrate_pa
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: msin source: msin
- id: do_smooth - id: do_smooth
......
...@@ -3,6 +3,9 @@ cwlVersion: v1.2 ...@@ -3,6 +3,9 @@ cwlVersion: v1.2
id: predict_calibrate id: predict_calibrate
label: predict_calibrate label: predict_calibrate
inputs: inputs:
- id: max_dp3_threads
type: int?
default: 10
- id: msin - id: msin
type: Directory type: Directory
- id: do_smooth - id: do_smooth
...@@ -57,6 +60,8 @@ steps: ...@@ -57,6 +60,8 @@ steps:
label: BLsmooth label: BLsmooth
- id: predict - id: predict
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: BLsmooth/msout source: BLsmooth/msout
- id: msin_datacolumn - id: msin_datacolumn
...@@ -77,6 +82,8 @@ steps: ...@@ -77,6 +82,8 @@ steps:
run: ../../steps/predict.cwl run: ../../steps/predict.cwl
- id: calib_cal - id: calib_cal
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: predict/msout source: predict/msout
- id: msin_datacolumn - id: msin_datacolumn
......
...@@ -141,6 +141,8 @@ steps: ...@@ -141,6 +141,8 @@ steps:
label: select_only_first label: select_only_first
- id: dp3_prep_cal - id: dp3_prep_cal
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: baselines_to_flag - id: baselines_to_flag
default: [] default: []
source: source:
...@@ -200,6 +202,8 @@ steps: ...@@ -200,6 +202,8 @@ steps:
- msin - msin
- id: predict_calibrate - id: predict_calibrate
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
linkMerge: merge_flattened linkMerge: merge_flattened
source: source:
......
...@@ -286,6 +286,8 @@ steps: ...@@ -286,6 +286,8 @@ steps:
label: prep label: prep
- id: gsmcal - id: gsmcal
in: in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin - id: msin
source: source:
- prep/msout - prep/msout
...@@ -388,4 +390,4 @@ steps: ...@@ -388,4 +390,4 @@ steps:
requirements: requirements:
- class: SubworkflowFeatureRequirement - class: SubworkflowFeatureRequirement
- class: ScatterFeatureRequirement - class: ScatterFeatureRequirement
- class: MultipleInputFeatureRequirement - class: MultipleInputFeatureRequirement
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment