-
Notifications
You must be signed in to change notification settings - Fork 704
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
Installation Problems on Ubuntu 16.04.1 LTS #298
Comments
It looks like @pmichel31415 also complained of segfaults in the upstream issue, so maybe this is the same problem? If so, it would be very nice to get this resolved. |
Is this the same problem as upstream having two versions of boost installed? |
Sorry for the late response. I don't think this is the same problem, because I couldn't have find libboost in the paths you mentioned. I just followed the installation guide and installed libboost via apt. My libboost version is 1.58.0. |
@ilkerkesen OK, could you please remove the
If you can send the |
Here is the new make log. Thanks a lot for your concern. |
Hmm, I still strongly suspect that you have two different versions of boost installed on your machine. Does DyNet compile without any of the Boost flags? Try removing |
I've just updated the gist. Still I've a compilation error. |
I think I've solved the issue, this is the output of train_xor: https://gist.github.com/ilkerkesen/1105d1fa319cbd9d2ec9f5f9487a7e99 What I did is, I just compared my compilation process with Travis CI building. Ubuntu versions differ. So do the library versions. I've set CC/CXX variables to gcc-5/g++-5 (in Travis configuration, both of them same, 4.8). I've also tried to run train_rnnlm example and now I am able to run it with no problem. |
Glad to hear it was resolved! |
Hi all,
I am trying to install DyNet on Ubuntu 16.04.1 LTS by following instructions on the official documentation. However, I am facing with some problems. Thanks to this issue, I was able to setup DyNet on my server. However, when I try to run the example mentioned in the docs, I get a Segmentation Fault (core dumped) error. I'm using the current master branch.
There it is, how I created Makefile:
CC=gcc-4.9 CXX=g++-5 cmake .. -DEIGEN3_INCLUDE_DIR=/usr/local/include/eigen3 -DBACKEND=cuda -DBOOST_ROOT:PATHNAME=/usr/include/boost -DBoost_LIBRARY_DIRS:FILEPATH=/usr/lib/x86_64-linux-gnu -DBoost_NO_BOOST_CMAKE=TRUE -DBoost_NO_SYSTEM_PATHS=TRUE -DPYTHON=
which python`This gist includes make.log file and train_xor example output:
https://gist.github.com/ilkerkesen/f3a13def6c9088ba9338cbd105d1bc7e
I checked the other examples and they all ended up with a segmentation fault. Thanks in advance.
The text was updated successfully, but these errors were encountered: