ddarriba / modeltest

Best-fit model selection
GNU General Public License v3.0
73 stars 21 forks source link

Segmentation fault (core dumped) #29

Open Felixseetoo opened 4 years ago

Felixseetoo commented 4 years ago

Hi,

I got error 'Segmentation fault (core dumped)' while running command as below:

./modeltest-ng -d nt -i my_alignment.fasta -o myco_model -p 20 -q modeltest.txt -r 1000000 -t ml -m JC,HKY,TrN,TPM1,TPM2,TPM3,TIM1,TIM2,TIM3,TVM,GTR

May I know what is this error about and how to fix it? Thanks. myco_modeltest.txt concatenated_core_gene_alignments_myco_trimal.fasta.txt

ddarriba commented 4 years ago

Hi Felix,

I can run (or at least start running) your data correctly. However, I found there might be a problem with the static ModelTest-NG version in some systems when trying to run more than one thread. Does it run if you use just 1 single thread (i.e., with "-p 1")?

If that's the case, you can compile the non-static version for your system by downloading the sources distribution and running the cmake scripts (it is explained in the README file how to do it).

Otherwise, I would need to know more details, like for example what is your OS, system details (architecture, memory, ...), and the log files or screen output.

Felixseetoo commented 4 years ago

Hi,

The error was actually appeared after the software analysed until partition 50 something. I have tried twice.

I have also previously run other dataset with more than 1 thread and no error.

Thank you.

ddarriba commented 4 years ago

Could you send me the console output? Does the error also happen if you use a lower number of threads?

Felixseetoo commented 4 years ago

I have tried 1 threads or reduced the threads to 10, the run always stop at partition 60. Thank you. myco_model.log