-
Notifications
You must be signed in to change notification settings - Fork 487
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
install error:error: An ERROR occured while running the Makefile for the ps-lite library. Exit code: 2 #4
Comments
Do you mind to share a little bit more of the error log? And also your environment setup, e.g. OS version, compiler verison, CUDA, etc. |
CUDA Version 9.0.176
|
@SCismycat Could you provide the commands that you use? Besides, if you do the following:
Does it report the same error? |
My cmd as follow:
I do the make command,message as follow:
|
You could try yum install devtoolset-7. |
Yes, this is gcc version problem. BytePS right now requires gcc 4.9 or above. You can try the suggestion from @byronyi , or use our dockerfile. |
Marking this as "enhancement". Perhaps we could check gcc version explicitly during installation, until we support gcc 4.8. |
@byronyi @bobzhuyb @changlan I meet a problem. I don't have sudo right for the server, so I have to use anaconda vitual env. I install the following gcc7 envs in anaconda. conda install -n torch1.1 -c omgarcia isl
conda install -n torch1.1 -c quantstack gcc-7 But still meets exact the same error message. So any solution for non-root user with anaconda3? |
@luzhilin19951120 When you say exact the same error message, do you mean this line ?
If so, can you try again with latest master branch? Make sure the 3rdparty/ps-lite is updated as well. We recently removed the dependency on c++14. |
@bobzhuyb Sorry, but may you make it clearer about how to I tried to pull again. With latest master, the following error message occurred. make: *** [/home/luzhilin/software/byteps/3rdparty/ps-lite/deps/include/google/protobuf/message.h] 错误 2
**error: An ERROR occured while running the Makefile for the ps-lite library. Exit code: 2** |
To make sure your pslite is the latest, cd into your byteps/3rdparty/ps-lite and then type If not, then you are not using the latest ps-lite. |
@ymjiang well then I am on the latest commit of ps-lite But still meet the aforementioned error when making ps-lite library... |
@luzhilin19951120 Can you please show more about the error log? The information is kind of limited. Besides, would you mind try using gcc-4.9? |
@luzhilin19951120 Then I would suggest using gcc-4.9 for compile, as we have suggested in README. |
@luzhilin19951120 I don't see error in your make.log..... Am I missing something? Can you also redirect stderr to the file? I suggest you do a refresh clone if you don't know how to start over
Also, your problem is that you can't build protobuf. It's different from the first post, and I am not sure whether this is really BytePS's own problem. |
@ymjiang @bobzhuyb And when reinstall the BytePS with the following command I still got the following error message (redirected, including std and err out) Yeap, the problem seems to be the protobuf. But that is a dependency of BytePS and there should be a reason that the building failed~ |
tensorflow/tensorflow#5017 (comment) If you search the error message in your make.log, you can see a lot of related issues.
|
@bobzhuyb Yes, it turns out to be gcc library problem. The dynamic lib of gcc is not updated since I merely installed gcc4.9 in anaconda. I managed to deploy a gcc5.4 environment and the protofuf bug is gone. |
@bobzhuyb However another problem exist when buildind PyTorch plugin. And I failed to locate the bug, which seems to be inside The detailed log is as follows. p.s. I installed pytorch1.1.0 using conda install pytorch torchvision cudatoolkit=9.0 -c pytorch |
Install libnuma-dev Read your own log, check the error message, and install libraries based on the error message... |
@bobzhuyb Sorry for your troublesome, I am not quite familiar with C++ based package/library. The environment setting seems to be a little bit inconvinient for non-root user. I may try to use docker later on. I think it would be better if you can release PIPY library version like horovod😄. |
@luzhilin19951120 We already release some pip libraries. See https://github.com/bytedance/byteps/blob/master/docs/pip-list.md |
I believe we have addressed all the issues here, including fallback to c++11 from c++14, and providing pip packages. Closing this. Feel free to reopen. |
* initial support for server profiling * simulate the customer * add optional profile granularity * output to json file * improve format
when I use:python setup.py install.
report error: An ERROR occured while running the Makefile for the ps-lite library. Exit code: 2
The text was updated successfully, but these errors were encountered: