Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

'std::out_of_range' during ML tree search #120

Closed
cErikson opened this issue Apr 29, 2021 · 4 comments
Closed

'std::out_of_range' during ML tree search #120

cErikson opened this issue Apr 29, 2021 · 4 comments

Comments

@cErikson
Copy link

I'm getting the following error. It is related to the number of workers. As when workers is defaulted to 1 it runs.
Version 1.0.2 pulled from bioconda

#Error
Starting ML tree search with 24 distinct starting trees

terminate called after throwing an instance of 'std::out_of_range'
terminate called recursively
  what():  vector::_M_range_check: __n (which is 94608461274880) >= this->size() (which is 6)

# Call
raxml-ng --prefix noalign --all --tree rand{12},pars{12} --log DEBUG --msa asv.fasta --model GTR+G --threads 32 --workers 6
@amkozlov
Copy link
Owner

Hi Christian,

thanks for reporting, could you please post full raxml-ng log and if possible your MSA?

@amkozlov
Copy link
Owner

OK I guess I know what's going on: in your setup, the number of threads (32) is not a multiple of the number of workers (6). So please use e.g. 4 or 8 workers with 32 threads.

I will add a check and print a clear error message in the next version.

@cErikson
Copy link
Author

Whoops, that was it.

@amkozlov
Copy link
Owner

thanks for the confirmation, this should be fixed now!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants