OpenFOAM adapter is not able to compile on distributed system

I am trying to build the openFOAM adapter on a distributed system or cluster. The precice build and installation is all successful. But when I try to build the adapter, I think it has some linking problems. Could it be confirmed?. The ldd.log file show that OpenFOAM libraries are not found. For example: => not found => not found => not found => not found......
   ......... => not found => not found => not found => not found

How can I tell the compiler to find these .so files location?. Should I change something in Make/options file?

Thanks for any help!

Hi @suyashverma9,

it looks like the adapter is not linked to OpenFOAM at runtime. I understand that it does find OpenFOAM at compile time, i.e., you do get a binary for the adapter.

I think it’s the first time I see an error where the adapter cannot find OpenFOAM (usual issue is that it cannot find preCICE). I would actually try if running the Quickstart works, independently of this issue:

I assume that this is an issue related to different environments in the login and the job nodes. We first need to know if OpenFOAM itself starts. If it starts, but it cannot find the adapter, that would be interesting. In that case, maybe the $FOAM_USER_LIBBIN directory is not accessible.