Skip to content

cannot find -ladios2f #3422

Answered by martin-g
martin-g asked this question in Q&A
Dec 23, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

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:

CXXFLAGS="-DADIOS2_USE_MPI -I${ADIOS2_INC} ${CXXFLAGS}"
FCFLAGS="-DADIOS2_USE_MPI -I${ADIOS2_INC}/adios2/fortran ${FCFLAGS}"
LDFLAGS="-L${HDF5_LIB} -L${ADIOS2_LIB}"
LIBS="-ladios2_cxx11 -ladios2_cxx11_mpi -ladios2_fortran -ladios2_fortran_mpi -lm -lhdf5"

and the test execution prints the actual values:

CXX compiler.................... : /opt/ohpc/pub/mpi/openmpi4-gnu12/4.1.4/bin/mpic++
CXX compiler …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@eisenhauer
Comment options

@martin-g
Comment options

Answer selected by martin-g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants