Failed to establish the connection to preCICE

Hi Uekerman,

Thanks for your advice! I abandoned the unnecessary module I wrote and directly compiled my testing code under your guidance:

gfortran -o solverdummy solverdummy.f90 -lprecice

Now I get some preCICE output for solverdummy solid, but it is stuck at
[precise] Setting up master communication to coupling partner/s.

I’ve read the thread help-the-participants-are-not-finding-each-other. Since I start both solvers from sub-folders Fluid and Solid, I configure:

<m2n:sockets from=“Fluid” to=“Solid” exchange-directory=“…/”/>

Before I ran the two dummies, I deleted the precice-run folder. I also checked the permissions on the exchange directory. I have both read and write permissions. Besides, the network on my pc works well. In my testing code, I didn’t use the functions which were related to the checkpoint since I adopted the serial-explicit coupling method. So, it should be the problem of the sentences which are related to the displacement generation in my testing code rather than those sentences related to preCICE, right?