-
Notifications
You must be signed in to change notification settings - Fork 179
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
cns_canu using more memory than requested in slurm #1750
Comments
Canu does retry after increasing the memory over the initial request. However, it won't increase it 10-fold and it would be quite strange for the memory to be off by that much. What's the actual request Canu is using for these jobs to the grid (in the consensus.jobSubmit-01.sh script)? |
This was the values generated by canu running - seems like it would have been enough, so I'm not sure.
I added I've run earlier canu versions, on this same dataset in fact, and it never had the mem issue. I know I logged into a machine running a job and it was sitting on 7-8gb request before it was killed. So not sure what should be tweaked to avoid this blanket large memory request. |
If it was asking for 800mb and 8 cores that would put it around 7-8gb so perhaps it was just under-requesting the memory. There is a retry which increases the memory in case the first request fails. You can specify the |
Fixed a possible cause of this problem. |
My unitig consensus jobs are using more memory than requested in the slurm job so the jobs are getting killed. How can I specify a larger mem size to thse cns_canu jobs running utgcns?
The jobs are getting allocated with ~800m-1gb but I think they need 10x that to run properly.
Command line:
canu -d canu2_6FC.loredac_corrected -p canu2_6FC.loredac genomeSize=900m useGrid=true gridOptions="-p batch" minReadLength=750 -corrected -nanopore 6FC.corrected_loredac.fasta.gz
Version:
Canu 2.0
Linux, Linux version 3.10.0-957.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat
4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC 2018`CentOS
From logfile in:
unitigging/5-consensus
The text was updated successfully, but these errors were encountered: