SOFIE Inference in C++

Hi experts,
I am trying to do a SOFIE Inference in c++ from Classification TMVA Keras Model. All work correctly but I introduce the line:
std::vector y = s->infer(NN_data.data());
And compile I see this error:

/cvmfs/sft.cern.ch/lcg/releases/binutils/2.37-355ed/x86_64-centos7/bin/ld: /tmp/luismon8/ccYb7g42.o: undefined reference to symbol 'sgemm_'

/cvmfs/sft.cern.ch/lcg/releases/binutils/2.37-355ed/x86_64-centos7/bin/ld: /cvmfs/sft.cern.ch/lcg/releases/LCG_104/blas/0.3.20.openblas/x86_64-centos7-gcc12-opt/lib/libopenblas.so.0: error adding symbols: DSO missing from command line

Have you got any idea to resolve it?

Thanks.

Maybe @moneta can help

Hi,

Sorry for the late reply. It is linking problem of the code, maybe the order where you specify libopenblas, the only external dependency of SOFIE. Can you please let me know how do you compile and link the code ?

Lorenzo