-
Notifications
You must be signed in to change notification settings - Fork 580
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
Error compiling trilinos(16.0.0) on linux #13770
Comments
The CMake output for Trilinos says
but then compilation fails with
I don't quite understand how this happened. Is there a way to check artifacts of the build and figure out what the actual link line was? What's also odd is how the install can kick off after the build step just failed. |
I've also done local builds with the same error. This is the recipe I'm following for building dependencies and Trilinos: https://github.com/flathub/au.edu.uq.esys.escript/blob/bbbb/au.edu.uq.esys.escript.json What files do you need? |
Since you have a local build: can you do |
It's very strange, I just added: VERBOSE=1 -j${FLATPAK_BUILDER_N_JOBS} and it also changed the error to:
|
What I understand is:
I don't understand what could cause this. Is something else deleting files at the same time? I am not convinced at the moment that this is a Trilinos problem. Did you try to reproduce this without flatpack? |
True, you are right. I just recompiled hdf5 and I can't find any dynamic or static library with the name hdf5-shared. I compiled with Java support removed. It seems that this is the same error: |
Ah, so the conjecture is that something doesn't work right in @bartlettroscoe Do you understand where the non-existent |
@cgcgcg, @bztd, from looking at the CMake configure output above, it seems that @bztd, to debug how
and then add the CMake argument (See section "Debugging find_...() Calls" in the book "Professional CMake".) |
I'm confused, is hdf5-shared a library (libhdf5-shared.so) or is that parameter passed to the linker by mistake? I compiled with the settings from the other discussion and Trilinos compiled. What I don't understand about the error is why there is no problem in archlinux, I'm practically using the same configurations, the only thing I've removed is the java support in hdf5. |
@bztd, can you post your generated CMakeCache.txt file and the output from |
@bztd Could you also post the terminal output from CMake with |
Is possibly netcdf-c the issue here? See: Unidata/netcdf-c#2869 |
I run grep -ra "hdf5-shared" ./* in the installation folder
|
I guess it's not Trilinos' problem. |
Yeah, seems like a netcdf issue. Maybe try pinning its version to something earlier? |
Thank you very much for the help. |
I'm compiling using the SDK provided by Flatpak using parameters copied from archlinux,
I get the error:
Link to compilation process: https://buildbot.flathub.org/#/builders/6/builds/177328
The text was updated successfully, but these errors were encountered: