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
t2smap OOM #3125
Comments
I realized that I get that warning in the logs
I cannot imagine which operation would require that amount of memory for 5min runs of 2mm iso fMRI. Looking at the code, the likely case is that nodes set with However t2smap is likely not the largest mem_gb req set in that workflow. |
Here's what we calculate: fmriprep/fmriprep/workflows/bold/base.py Lines 261 to 269 in 61a7d98
fmriprep/fmriprep/workflows/bold/base.py Lines 1273 to 1285 in 61a7d98
I don't really remember the logic for the largemem one. But you should be able to see the estimates in your logs. |
Let's go ahead and link ME-ICA/tedana#856. |
What happened?
Processing session with 6 runs of multi-echo, the jobs get killed by SLURM, despite setting memory reqs of SLURM with a larger buffer to memory given to fmriprep.
tedana t2smap is the one crashing so nipype-set reqs seems not to properly estimate the memory reqs for the nodes.
I know that this problem has been reported before, but it seems to still be present in 23.1.4.
Each echo file nii.gz is approximately .4Gb
Current heuristics is
mem_gb=2.5 * mem_gb * len(echo_times)
.So it estimates memory reqs at ~3Gb, but core dumps when OOM occurs are 8Gb, and that what basic top gives me as well.
I will try to run memory profiling of t2smap alone on our data to figure out a better heuristic.
What command did you use?
What version of fMRIPrep are you running?
23.1.4
How are you running fMRIPrep?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
Anatomical derivatives
Please copy and paste any relevant log output.
No response
Additional information / screenshots
No response
The text was updated successfully, but these errors were encountered: