-
Hello! I am adding ADIOS2 to OpenHPC and the Fortran tests fail to build for some unknown to me reason. I am trying to build https://github.com/ornladios/ADIOS2/blob/v2.8.3/examples/hello/bpReader/helloBPReaderHeatMap3D.F90 (renamed as scalars_read.F90) and I get the following error at linkage time:
The used compiler options are:
I don't understand where
Any pointers ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I think the question is where the -ladios2f is coming from. That name is no longer used, but rather -ladios2_fortran or -ladios2_fortran_mpi. But really, if you look at the cmake spec in that examples directory, the dependency is on adios2::fortran, which is a symbolic name at the CMake level. That change to be a symbolic name was apparently made in 2020. Maybe there is another older install of adios on your system that is somehow confusing the examples build? It's hard to guess exactly... |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer, @eisenhauer ! To clarify: I am not building the examples but I have copied few of them to OpenHPC/tests/libs/adios2/tests folder to use them as smoke tests and I build them with OpenHPC's autoconf/make setup. I.e. I manually setup the CXXFLAGS/FCFLAGS/LDFLAGS and LIBS:
and the test execution prints the actual values:
ADIOS2 is installed from a .rpm build with this .spec I don't see where |
Beta Was this translation helpful? Give feedback.
Thanks for your answer, @eisenhauer !
To clarify: I am not building the examples but I have copied few of them to OpenHPC/tests/libs/adios2/tests folder to use them as smoke tests and I build them with OpenHPC's autoconf/make setup. I.e. I manually setup the CXXFLAGS/FCFLAGS/LDFLAGS and LIBS:
and the test execution prints the actual values: