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

Add suggested memory settings when using Docker #388

Closed
ritcheym opened this issue Feb 18, 2017 · 3 comments
Closed

Add suggested memory settings when using Docker #388

ritcheym opened this issue Feb 18, 2017 · 3 comments
Assignees

Comments

@ritcheym
Copy link

Hi, thanks for your work on this app- it looks terrific and I'm looking forward to using it. I tried to run it through Docker on a small set of demo data, and the process has been killed each of the 3 times I've tried. I've attached the full set of terminal output. I'm running it locally on an iMac with 16GB RAM.

It appears to generate a crash file on antsApplyTransforms:

Running: antsApplyTransforms --default-value 0 --dimensionality 3 --input /usr/local/miniconda/lib/python2.7/site-packages/niworkflows/data/templates/mni_icbm152_nlin_asym_09c/1mm_headmask.nii.gz --interpolation NearestNeighbor --output 1mm_headmask_trans.nii.gz --reference-image /scratch/work/workflow_enumerator/anatMRIQC/AFNISkullStripWorkflow/_in_file_..data..sub-s03..anat..sub-s03_T1w.nii/binarize/sub-s03_T1w_conformed_corrected_calc_thresh.nii.gz --transform [ /scratch/work/workflow_enumerator/anatMRIQC/_in_file_..data..sub-s03..anat..sub-s03_T1w.nii/SpatialNormalization/ants_t1_to_mni0GenericAffine.mat, 1 ]
170217-03:01:02,925 interface INFO:
	 stdout 2017-02-17T03:01:02.925178:Using double precision for computations.
170217-03:01:02,925 interface INFO:
	 stdout 2017-02-17T03:01:02.925178:Input scalar image: /usr/local/miniconda/lib/python2.7/site-packages/niworkflows/data/templates/mni_icbm152_nlin_asym_09c/1mm_headmask.nii.gz
170217-03:01:06,335 workflow ERROR:
	 [u'Node invert_xfm.a2 failed to run on host e255a528dc8e.']
170217-03:01:06,559 workflow INFO:
	 Saving crash info to /scratch/out/logs/crash-20170217-030106-root-invert_xfm.a2-77282183-ba20-4960-90af-751e458f65d2.pklz

And then it just stops running after about 5 hours. Nothing is saved to the out directory except the crash files in the logs folder.

Executing node compute_tsnr.a05 in dir: /scratch/work/workflow_enumerator/funcMRIQC/_in_file_..data..sub-s01..func..sub-s01_task-TASK_run-5_bold.nii.gz/compute_tsnr
170217-04:03:43,152 workflow INFO:
	 Executing node SpikesFinderFFT.a02 in dir: /scratch/work/workflow_enumerator/funcMRIQC/ComputeIQMs/_in_file_..data..sub-s01..func..sub-s01_task-TASK_run-2_bold.nii.gz/SpikesFinderFFT
/usr/bin/run_mriqc: line 5:    17 Killed                  mriqc $@

Let me know if any other information would be helpful.
mriqc_output.txt

@chrisgorgo
Copy link
Collaborator

chrisgorgo commented Feb 19, 2017 via email

@ritcheym
Copy link
Author

Oh hey, that was an easy fix! It appears that 2GB is the default memory setting on a fresh installation of Docker. Once I adjusted that in the settings, everything ran as expected. Thanks! It might be helpful to add that suggestion to the docs for other new Docker users.

@chrisgorgo chrisgorgo changed the title Error on antsApplyTransforms; process eventually killed Add suggested memory settings when using Docker Feb 20, 2017
@chrisgorgo chrisgorgo reopened this Feb 20, 2017
@oesteban
Copy link
Member

Will add this issue to the Docker user guide soon! Thanks :)

@oesteban oesteban self-assigned this Feb 21, 2017
@oesteban oesteban added this to the MRIQC 1.0.0 milestone Feb 21, 2017
@oesteban oesteban modified the milestones: MRIQC 1.0.0, MRIQC 1.0.1 Mar 22, 2017
oesteban added a commit to oesteban/mriqc that referenced this issue Mar 23, 2017
A step towards some recommendations for nipreps#387 and nipreps#388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants