bichangwei / PMAT

An efficient assembly tool for plant mitochondrial genome
26 stars 7 forks source link

ERROR No available machine configuration can run this task. #11

Open Huangxc01 opened 6 months ago

Huangxc01 commented 6 months ago

hello, I tried to assemble the mitochondrial genome using Pacbio clr data, but I encountered the following problem and don't know how to solve it.

Here's the command I ran: PMAT autoMito -i ./CRR093595.fastq -o autoMito_output -st clr -g 3.3g -cs canu -cp /home/sheeny-star/Biosoft/canu-2.2/bin/canu -cpu 10 -m

There were errors in the thread and memory while running canu:

-- CONFIGURE CANU

-- Detected Java(TM) Runtime Environment '1.8.0_92' (from 'java') with -d64 support. -- Detected gnuplot version '5.4 patchlevel 4 ' (from 'gnuplot') and image format 'svg'.

-- Detected 20 CPUs and 126 gigabytes of memory on the local machine.

-- Local machine mode enabled; grid support not detected or not allowed. -- ERROR -- ERROR Found 1 machine configuration: -- ERROR class0 - 1 machines with 20 cores with 126 GB memory each. -- ERROR -- ERROR Task bat can't run on any available machines. -- ERROR It is requesting: -- ERROR batMemory=128-512 gigabytes -- ERROR batThreads=10 threads -- ERROR -- ERROR No available machine configuration can run this task. -- ERROR -- ERROR Possible solutions: -- ERROR Change maxMemory or maxThreads -- ERROR Change batMemory and/or batThreads -- ERROR

ABORT: ABORT: canu 2.2 ABORT: Don't panic, but a mostly harmless error occurred and Canu stopped. ABORT: Try restarting. If that doesn't work, ask for help. ABORT: ABORT: task bat failed to find a configuration to run on. ABORT:

Reads correct end.

My computer has 20 threads and 126 GB of memory, which theoretically meets the requirements of canu, but why does this error occur? How do I need to modify the parameters or configuration files to fix this?

bichangwei commented 6 months ago

Thank you for using PMAT. I recommend that you first use the "canu -correct" module to correct your CLR data, and then use the corrected data as HiFi data to run PMAT.

Huangxc01 commented 6 months ago

Thanks for your reply. The problem has already been solved.