-------------------------------------------------------------------------------------------------------------------------
PreciceInterface.c:(.text+0x2337): undefined reference to `precicec_createParticipant'
/usr/bin/ld: PreciceInterface.c:(.text+0x2374): undefined reference to `precicec_getMeshDimensions'
/usr/bin/ld: PreciceInterface.c:(.text+0x2380): undefined reference to `precicec_getMeshDimensions'
/usr/bin/ld: PreciceInterface.c:(.text+0x24f5): undefined reference to `precicec_setMeshTriangles'
/usr/bin/ld: PreciceInterface.c:(.text+0x2565): undefined reference to `precicec_getMeshDimensions'
/usr/bin/ld: PreciceInterface.c:(.text+0x2581): undefined reference to `precicec_getMeshDimensions'
/usr/bin/ld: PreciceInterface.c:(.text+0x2644): undefined reference to `precicec_requiresInitialData'
/usr/bin/ld: PreciceInterface.c:(.text+0x264f): undefined reference to `precicec_initialize'
/usr/bin/ld: bin/ccx_2.20.a(PreciceInterface.o): in function `Precice_Advance':
PreciceInterface.c:(.text+0x1aa): undefined reference to `precicec_advance'
/usr/bin/ld: bin/ccx_2.20.a(PreciceInterface.o): in function `sendFaceCentersVertices':
PreciceInterface.c:(.text+0x10de): undefined reference to `precicec_setMeshVertices'
/usr/bin/ld: bin/ccx_2.20.a(PreciceInterface.o): in function `Precice_FreeData':
PreciceInterface.c:(.text+0x29b3): undefined reference to `precicec_finalize'
collect2: error: ld returned 1 exit status
make: *** [Makefile:107: bin/ccx_preCICE] Error 1
------------------------------------------------------------------------------------------------------------
I’m completely new to preCICE and I was planning to simulate a FSI problem using openFOAM and Calculix. Do kindly share any fixes.
This is your CalculiX version.
What is probably happening here is that you have preCICE v2 installed, while the CalculiX adapter tries to link to preCICE v3. You need to uninstall v2 and install v3.
Hi, I’m having some trouble as well, despite having the same version of Calculix and adapter (2.20) and having all the files,
This shows up.
Long story short, I tried compiling the adapter, but the bin file was missing, but I had another machine with the same bin file so I copied and pasted into this one. However many time I try ccx_preCICE just would not be available at all.
This comes up, which is the same problem someone has already made a thread about however, their persion of precice was 2.(something), hence they had the problem. Any advice? I did build preCICE using the guidelines from the site instead of hashing it. Also, what is the bin file in the preCICE folder so that I can set up an path to its location and hope that more problems to come can be solved?
@LastSolidBender it is typically not straight-forward to copy an executable from one system to the other and make it work, because each depends on some dependencies (that also need to be installed) and because binaries depend on the specific platform (often also on the specific versions of dependencies available).
In the first picture, it seems like you are dealing with a symbolic (i.e., relative) link (in Windows terminology: a shortcut). Not sure what is going on there, maybe you can add more details.
In the second picture, what the package manager tells you is that it cannot find libprecice3. This is not available in the Ubuntu repositories: You need to get it from our releases on GitHub, instead: Releases · precice/precice · GitHub