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

Unable to compile Octotiger using HPX and Intel MPI on SuperMIC #1881

Closed
dmarce1 opened this issue Nov 27, 2015 · 7 comments
Closed

Unable to compile Octotiger using HPX and Intel MPI on SuperMIC #1881

dmarce1 opened this issue Nov 27, 2015 · 7 comments

Comments

@dmarce1
Copy link
Member

dmarce1 commented Nov 27, 2015

I am getting linker errors when attempting to compile OctoTiger on SuperMIC using Intel MPI.

The HPX version is the master as of about an hour ago.
The octotiger version is the latest one, https://github.com/dmarce1/octotiger

I am using Intel15 with Intel MPI.

I get the following errors:
https://gist.github.com/dmarce1/bd78e47b4798f9ecd532

Output of cmake for HPX:
https://gist.github.com/dmarce1/300e23ec3f83dc6995db

CMakeOutput.log for both HPX and octotiger
https://drive.google.com/file/d/0BwEcPGZ9k2kmc1h1N0NkenRGU2s/view

@hkaiser
Copy link
Member

hkaiser commented Nov 27, 2015

@dmarce1: Please give us the cmake logs as well.

@dmarce1
Copy link
Member Author

dmarce1 commented Nov 27, 2015

Added logs to original post.

@K-ballo
Copy link
Member

K-ballo commented Nov 27, 2015

Looks like you pulled from master fairly recently but did not rebuild HPX. Could that be the case?

@dmarce1
Copy link
Member Author

dmarce1 commented Nov 30, 2015

I'm pretty sure it was rebuilt - to verify this, since the last comment I have deleted the HPX installation, cloned from the repository, rebuilt and reinstalled - and gotten the same results.

@K-ballo
Copy link
Member

K-ballo commented Nov 30, 2015

All those linker errors you are getting mention either function or unique_function, which where modified fairly recently. As a consequence of some of those changes, their mangled name is now different than what it used to be. That means that if you were to try to link against an older build or version nothing would be found under the new names, and the errors you would be seeing are exactly the ones you are getting. It could still be just a coincidence, or something else completely unrelated, but are you sure that the linker is using the freshly built binaries? Could it be attempting to link against some older binaries installed in the system instead?

@parsa
Copy link
Contributor

parsa commented Nov 30, 2015

@dmarce1 do a make VERBOSE=1 and you'll probably see this Octotiger build is HPX binaries other than the one you specified. If this was the case then try dmarce1/octotiger#2 and that should take care of the problem.

@dmarce1
Copy link
Member Author

dmarce1 commented Nov 30, 2015

OK, I've got it working now. I was using the 'Release' version on octotiger but the 'Debug' version of HPX.

@dmarce1 dmarce1 closed this as completed Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants