Describe the bug
This problem first occurred when I was testing this change.
After this change the ccs-options preconfig generates 3 different brain masks in the skull-stripping step with the following pre-config setting
anatomical_preproc:
run: On
brain_extraction:
run: On
# using: ['3dSkullStrip', 'BET', 'UNet', 'niworkflows-ants', 'FreeSurfer-ABCD', 'FreeSurfer-BET-Tight', 'FreeSurfer-BET-Loose', 'FreeSurfer-Brainmask']
# this is a fork option
using:
- FreeSurfer-BET-Tight
- FreeSurfer-BET-Loose
- FreeSurfer-Brainmask
When trying to run this ccs-options pre-config, the pipeline build slowed during several stages like co-registration etc. and then freeze or killed eventually even just running test-config mode.
Later, I tested with a few different options for brain masks above. Each options of brain masking runs fine individually and hence it looks like a forking issue.
In general, when two or more options are enabled in the brain_extraction step during anatomical_preproc, then the pipeline building freezes, sometimes killed by SLURM out-of-memory handler.
I didn't test all preconfigs, but tested with 2 or more options in default and ccs-options.
Build did not freeze for anat-only preconfig and it ran fine without issues.
To reproduce
try running ccs-options preconfig after this change.
or,
Edit default preconfig and add 2 or more skull-stripping options, and try to run CPAC.
Preconfig
Custom pipeline configuration
No response
Run command
No response
Expected behavior
'ccs-options` pipeline completes without errors and pipeline should not freeze when using 2 or more skull-stripping options.
Acceptance criteria
A full pipeline including both T1w and bold processing
Screenshots
C-PAC version
No response
Container platform
No response
Docker and/or Singularity version(s)
No response
Additional context
No response
Describe the bug
This problem first occurred when I was testing this change.
After this change the
ccs-optionspreconfig generates 3 different brain masks in the skull-stripping step with the following pre-config settingWhen trying to run this
ccs-optionspre-config, the pipeline build slowed during several stages likeco-registrationetc. and then freeze or killed eventually even just runningtest-configmode.Later, I tested with a few different options for brain masks above. Each options of brain masking runs fine individually and hence it looks like a forking issue.
In general, when two or more options are enabled in the
brain_extractionstep duringanatomical_preproc, then the pipeline building freezes, sometimes killed by SLURM out-of-memory handler.I didn't test all preconfigs, but tested with 2 or more options in
defaultandccs-options.Build did not freeze for
anat-onlypreconfig and it ran fine without issues.To reproduce
try running
ccs-optionspreconfig after this change.or,
Edit
defaultpreconfig and add 2 or more skull-stripping options, and try to run CPAC.Preconfig
Custom pipeline configuration
No response
Run command
No response
Expected behavior
'ccs-options` pipeline completes without errors and pipeline should not freeze when using 2 or more skull-stripping options.
Acceptance criteria
A full pipeline including both
T1wandboldprocessingccs-optionspreconfig completes without errors.Screenshots
C-PAC version
No response
Container platform
No response
Docker and/or Singularity version(s)
No response
Additional context
No response