Skip to content

Fix "random_device: rdseed failed" error in assignTaxonomy() - #1145

Open
vrbacky wants to merge 1 commit into
benjjneb:masterfrom
vrbacky:master
Open

Fix "random_device: rdseed failed" error in assignTaxonomy()#1145
vrbacky wants to merge 1 commit into
benjjneb:masterfrom
vrbacky:master

Conversation

@vrbacky

@vrbacky vrbacky commented Sep 25, 2020

Copy link
Copy Markdown

assignTaxonomy() raises "random_device: rdseed failed" error when used in multi threaded mode (and single threaded sometimes). It seems to be caused by an error in recent versions of libstdc++ (gcc 9.3.0 and gcc 10.0.1) in Linux (Ubuntu 20.04). Using rdrand as the token value to initialize std::random_device seems to work as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant