-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
MPI error while compiling #269
Comments
How did you install MPI? As we suggest (from sources) of from a Debian package? If the latter - that's the reason. What is offered there is old and misses some libraries. |
Oh, and I noticed you have CUDA 7.5. I'm afraid this will be the next thing, that fails. Today we're on CUDA 7.0 (see setup section) |
Here the steps I followed to install MPI from the sources:
Exactly like in the setup section. About CUDA, I have both version installed and I wanted to try first with the latest, if not working, then switch the symlink location to 7.0. |
I see you used (Clear about CUDA) |
My user have the write permissions on /usr/local/ and all its subfolders. But I gonna try, we never know. |
Unfortunately, this does not changes anything :( |
Then please start configure from scratch, do Thank you, |
Sorry, you want I attach the |
Ok, in the doubt, you can find in attachment the configure and the make output of both compilation. |
Hi jplu! |
@amos0531 nop! The function MPI_Iallreduce is correctly provided by OpenMPI. |
It looks like you're trying to build CNTK with 1Bit SGD support. Do you have 1bit SGD code in Source/1BitSGD? If no, please get it as described here or rerun CNTK |
I did clone the repo with this command already:
And I do have the |
Sorry for maybe a childish question, but do you have the code inside |
It is a legitimate question :) And yes those two files are in the folder:
|
Julien, please do the following for me : |
Here the output:
|
Got it! Your code for 1bit SGD is too old. Do:
You should get commit |
Unfortunately no:
|
The error is different now (see your previous output posted). Are you on the latest master? The latest commit should be |
Oh, indeed not the same. My current log is:
I did a pull in same time than for the |
New enough. Let us do some internal brainstorming |
Perfect, do not hesitate to ask if you want I do some other commands to help in your brainstorming. |
This is the idea, proposed by one of our team members: The In other words, are you sure you don't have some other installation of MPI on your system? Say by a Debian package installed by some other package as a dependency? (This may be checked by |
This is a very good catch Alexey:
Before to uninstall it, I gonna check if there is not some packages that use it. It is a desktop provided by my lab then I don't really now what is already installed. |
Good news! When I change the default version with symlinks that points to the correct OpenMPI version, it compiles like a charm. I gonna try to modify the configure in order to let the user provide the proper path where MPI is, as for the other libs. And then doing a PR. |
@jplu Can you please explain which symlinks you changed to get the build working? I think I am also stuck on these issues |
Hello,
I'm facing an issue while I compile CNTK with MPI on a Ubuntu 14.04 machine. Here the steps I did:
The error during the make is the following:
My
$LD_LIBRARY_PATH
variable looks like this:The path where MPI is, is the same than the one proposed here
Thanks for any help you can provide.
The text was updated successfully, but these errors were encountered: