I am struggling to find a way to compile HDF5 using the AOCC compilers. I have tried HDF5-1.8.20 and 1.8.20. The error message I get is:
clang-8: error: unknown argument: '-soname' clang-8: error: no such file or directory: 'libhdf5_fortran.so.10'
I tried making the following change to the configure script:
sed -i ‘s/$wl-soname/$wl-install_name/g’ …/configure
Now I get a different error:
ld.lld: error: unknown argument: -install_name ld.lld: error: cannot open libhdf5.so.10: No such file or directory clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
I am completely stuck and would appreciate any suggestions.