gubbins icon indicating copy to clipboard operation
gubbins copied to clipboard

Running raxML without -AVX2 options

Open slmiles opened this issue 2 years ago • 8 comments

Hi,

I keep getting the error below when running gubbins

Illegal instruction (core dumped) Command 'raxmlHPC-PTHREADS-AVX2 -T 4 -safe -m GTRGAMMA -s core.full.aln.snp_sites.aln -n core.full.iteration_1_reconstruction -t /home/ubuntu/slm/gubbins/tmp382_i35u/core.full.iteration_1.tre.rooted -f e -w /home/ubuntu/slm/gubbins/tmp382_i35u' returned non-zero exit status 132.

I understand that it might be because my server doesn't support AVX2. I have installed the standard version of raxML but it is still calling the AVX2 version. Is there a way to change this?

Thank you!

slmiles avatar May 10 '22 09:05 slmiles

What version of Gubbins are you using?

nickjcroucher avatar May 10 '22 09:05 nickjcroucher

It's version 3.2.0.

slmiles avatar May 10 '22 09:05 slmiles

Thanks - what operating system?

nickjcroucher avatar May 10 '22 09:05 nickjcroucher

An Ubuntu server. Thank you!

slmiles avatar May 10 '22 09:05 slmiles

The function is here: https://github.com/nickjcroucher/gubbins/blob/a9d5dcddc2907c87f695eae86805d12959090f12/python/gubbins/utils.py#L97 Is AVX2 listed in the output of grep flags /proc/cpuinfo?

nickjcroucher avatar May 10 '22 09:05 nickjcroucher

AVX2 isn't listed but AVX is.

Thank you for your help.

slmiles avatar May 10 '22 09:05 slmiles

Thanks - I see the bug, I'll try to fix ASAP - in the mean time, if you can delete raxmlHPC-PTHREADS-AVX2 and leave raxmlHPC-PTHREADS-AVX, that should work - else IQTREE2 will give similar results.

nickjcroucher avatar May 10 '22 09:05 nickjcroucher

Great, thank you!

slmiles avatar May 10 '22 10:05 slmiles