Skip to content
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

MemoryError raised by ParcThal when run on CircleCI #30

Closed
sebastientourbier opened this issue Mar 18, 2020 · 1 comment
Closed

MemoryError raised by ParcThal when run on CircleCI #30

sebastientourbier opened this issue Mar 18, 2020 · 1 comment
Labels
bug

Comments

@sebastientourbier
Copy link
Member

@sebastientourbier sebastientourbier commented Mar 18, 2020

Continuous integration testing with CIrcleCI failed when parcellating the thalamic nuclei with a Memory error message (see execution log on circleCI page more details). Seems 7.5GB RAM is not enough to handle ind = np.where(Ispams < Thresh). See error message below:
Error

200317-16:44:09,131 nipype.interface INFO:
	 Correcting the volumes after the interpolation 
Save output image to /output_dir/nipype/sub-01/ses-01/anatomical_pipeline/parcellation_stage/parcThal/T1_class-thalamus_dtissue_after_ants.nii.gz
200317-16:45:11,524 nipype.workflow WARNING:
	 [Node] Error on "anatomical_pipeline.parcellation_stage.parcThal" (/output_dir/nipype/sub-01/ses-01/anatomical_pipeline/parcellation_stage/parcThal)
200317-16:45:11,545 nipype.workflow ERROR:
	 Node parcThal failed to run on host 3be4adbaba2e.
200317-16:45:11,690 nipype.workflow ERROR:
	 Saving crash info to /tmp/crash-20200317-164511-root-parcThal-2682b8cb-8991-437c-977c-d15ba5964b8e.txt
Traceback (most recent call last):
  File "/opt/conda/envs/py27cmp-core/lib/python2.7/site-packages/nipype/pipeline/plugins/linear.py", line 48, in run
    node.run(updatehash=updatehash)
  File "/opt/conda/envs/py27cmp-core/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 473, in run
    result = self._run_interface(execute=True)
  File "/opt/conda/envs/py27cmp-core/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 557, in _run_interface
    return self._run_command(execute)
  File "/opt/conda/envs/py27cmp-core/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 637, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/opt/conda/envs/py27cmp-core/lib/python2.7/site-packages/nipype/interfaces/base/core.py", line 369, in run
    runtime = self._run_interface(runtime)
  File "/opt/conda/envs/py27cmp-core/lib/python2.7/site-packages/cmtklib/parcellation.py", line 1364, in _run_interface
    ind = np.where(Ispams < Thresh)
MemoryError

System configuration on CircleCI
Machine Linux Medium
2 CPU / 7.5 GB RAM

@sebastientourbier

This comment has been minimized.

Copy link
Member Author

@sebastientourbier sebastientourbier commented Mar 20, 2020

Fixed by Commit dbae66d in pull request #28

sebastientourbier added a commit that referenced this issue Mar 26, 2020
Beta release 20200320 of CMP3 which includes:

* A major revision of continuous integration testing and deployment with CircleCI which integrates an in-house dataset published and available on Zenodo @ https://doi.org/10.5281/zenodo.3708962.
* Multiple bug fixes and enhancements incl. close #30 , update mrtrix3 to RC3 version, bids-app run command generated by the GUI, location of the configuration and log files to be more BIDS compliant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.