Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix the terminate error - std::logic_error issue on some OS environme… #312

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yoonkt200
Copy link

Check the issue #311
some error cases when installed by pip in latest ubuntu(or CentOS). because of c compiler version issue, the init_log()'s parameter is empty. maybe specify the parameter is needed.

@binayakpokhrel
Copy link

xlearn c++ code uses multi-threading, so while accessing the hardware it need the user variable in the environment. And because if c compiler version issue the init_log() parameter is empty. So we have to initialize it by ourself.
So basically write USER = 'Test' before command.
I solved it in python using os.environ['USER'] = 'test'

@ankane
Copy link

ankane commented Feb 10, 2020

Thanks @yoonkt200, this PR fixed the issue for me. I came across it when building xLearn with -march=nehalem on Ubuntu:

https://github.com/ankane/ml-builds/blob/51001ef53c982221780206dd633b82d3eb1ba7be/.github/workflows/xlearn-linux.yml

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.

3 participants