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
HPX fails to build with enabled hdf5 examples #2748
Comments
@arturas-venskus-flf: Would you mind posting your cmake output and build logs, please? |
Error occurred during linking stage. From CMakeError.log: /usr/bin/ld cannot find -lpthreads Sorry cannot post output and logs due to company's policy |
@arturas-venskus-flf: We do not add What version of cmake do you use. We've had issues with certain cmake versions before... Also, what target failed to link for you? |
@hkaiser: CMake version is 3.5.1. Failures in CMakeError:
|
@arturas-venskus-flf from what I can see, this error message you're seeing is produced by one of the feature tests automatically generated by cmake. This should have no impact on building HPX at all as this test is invoked to figure out what library is exporting the pthread symbols on the current platform (some platforms have Is this error in the cmake log the only 'indication' that something is 'wrong'? |
@hkaiser I was able to reproduce issue in my laptop. Please find error, output and cout dump files attached: |
@arturas-venskus-flf Thanks. Could you please provide the following additional information:
Also, from what I can see from those logs, the |
Ok, I saw now, that you're using gcc 6.2. Are those logs still generated by cmake 3.5.1? |
gcc 6.2 CMakeError.txt list problem related to lpthreads I've succeeded to compile hpx core, tests, examples, examples with tbb, openmp. Only the problem appears when -DHPX_WITH_EXAMPLES_HDF5=On is passed to cmake, otherwise compilation is ok. |
@arturas-venskus-flf Ok, thanks for this information. I think we can close this issue at this point as the HDF5 examples are massively broken in V1.0.0 anyways (I just fixed them here: #2749, if you really need them, the fixed examples should compile fine against V1.0.0 - although I have not tried it). I'd suggest you don't use Thanks for reporting this issue! I have started start a list of known issues with V1.0.0 for others to avoid running into those problems: https://github.com/STEllAR-GROUP/hpx/wiki/Known-issues-in-HPX-V1.0.0. Please feel free to reopen this issue if needed. |
Hi,
HPX fails to build when flag -DHPX_WITH_EXAMPLES_HDF5=On is passed to cmake.
HDF5 library is present in system and reported by cmake as found.
Best,
Arturas
The text was updated successfully, but these errors were encountered: