Error in the coupled OpenFOAM and FEniCS

I use an OPENFOAM V2206 and FENICS V 2019.1.0 in my research . ihave this error .
in fluid:
Error:

PIMPLE: iteration 5
[0] #0  Foam::error::printStack(Foam::Ostream&)[2] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[0] #1  Foam::sigFpe::sigHandler(int) at ??:?
[2] #1  Foam::sigFpe::sigHandler(int) at ??:?
[0] #2  ? at ??:?
[2] #2  ? in /lib/x86_64-linux-gnu/libpthread.so.0
 in /lib/x86_64-linux-gnu/libpthread.so.0
[0] #3  Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int)[2] #3  Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:?
 at ??:?
[0] #4  Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const[2] #4  Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const at ??:?
 at ??:?
[0] #5  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const[2] #5  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[0] #6  Foam::fvMatrix<Foam::Vector<double> >::solveSegregated(Foam::dictionary const&) at ??:?
[2] #6  Foam::fvMatrix<Foam::Vector<double> >::solveSegregated(Foam::dictionary const&) at ??:?
[0] #7  Foam::fvMatrix<Foam::Vector<double> >::solveSegregatedOrCoupled(Foam::dictionary const&) at ??:?
[2] #7  Foam::fvMatrix<Foam::Vector<double> >::solveSegregatedOrCoupled(Foam::dictionary const&) at ??:?
[0] #8  Foam::fvMesh::solve(Foam::fvMatrix<Foam::Vector<double> >&, Foam::dictionary const&) const at ??:?
[2] #8  Foam::fvMesh::solve(Foam::fvMatrix<Foam::Vector<double> >&, Foam::dictionary const&) const at ??:?
[0] #9   at ??:?
[2] #9  ?? in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[0] #10   in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[2] #10  ?? in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[0] #11  __libc_start_main in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[2] #11  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[0] #12  ? in /lib/x86_64-linux-gnu/libc.so.6
[2] #12  ? in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[kturbulentchbg-2:508707] *** Process received signal ***
[kturbulentchbg-2:508707] Signal: Floating point exception (8)
[kturbulentchbg-2:508707] Signal code:  (-6)
[kturbulentchbg-2:508707] Failing at address: 0x3eb0007c323
[kturbulentchbg-2:508707] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7f8172789140]
[kturbulentchbg-2:508707] [ 1] /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x141)[0x7f8172788fe1]
[kturbulentchbg-2:508707] [ 2] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7f8172789140]
[kturbulentchbg-2:508707] [ 3] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi+0x22d)[0x7f81731f8f3d]
[kturbulentchbg-2:508707] [ 4] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi+0x3b)[0x7f81731f923b]
[kturbulentchbg-2:508707] [ 5] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h+0x62a)[0x7f81731ed88a]
[kturbulentchbg-2:508707] [ 6]  in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[kturbulentchbg-2:508709] *** Process received signal ***
[kturbulentchbg-2:508709] Signal: Floating point exception (8)
[kturbulentchbg-2:508709] Signal code:  (-6)
[kturbulentchbg-2:508709] Failing at address: 0x3eb0007c325
[kturbulentchbg-2:508709] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7fe0a3da7140]
[kturbulentchbg-2:508709] [ 1] /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x141)[0x7fe0a3da6fe1]
[kturbulentchbg-2:508709] [ 2] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7fe0a3da7140]
[kturbulentchbg-2:508709] [ 3] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixINS_6VectorIdEEE15solveSegregatedERKNS_10dictionaryE+0x789)[0x7f817643d3a9]
[kturbulentchbg-2:508707] [ 7] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi+0x22d)[0x7fe0a4816f3d]
[kturbulentchbg-2:508709] [ 4] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixINS_6VectorIdEEE24solveSegregatedOrCoupledERKNS_10dictionaryE+0x4f9)[0x7f8176450479]
[kturbulentchbg-2:508707] [ 8] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi+0x3b)[0x7fe0a481723b]
[kturbulentchbg-2:508709] [ 5] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam6fvMesh5solveERNS_8fvMatrixINS_6VectorIdEEEERKNS_10dictionaryE+0x10)[0x7f81763f4710]
[kturbulentchbg-2:508707] [ 9] pimpleFoam(+0x3f24e)[0x55be0d55724e]
[kturbulentchbg-2:508707] [10] pimpleFoam(+0x2ce8a)[0x55be0d544e8a]
[kturbulentchbg-2:508707] [11] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h+0x62a)[0x7fe0a480b88a]
[kturbulentchbg-2:508709] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f81725c5d0a]
[kturbulentchbg-2:508707] [12] pimpleFoam(+0x2f0aa)[0x55be0d5470aa]
[kturbulentchbg-2:508707] *** End of error message ***
/opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixINS_6VectorIdEEE15solveSegregatedERKNS_10dictionaryE+0x789)[0x7fe0a7a5b3a9]
[kturbulentchbg-2:508709] [ 7] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixINS_6VectorIdEEE24solveSegregatedOrCoupledERKNS_10dictionaryE+0x4f9)[0x7fe0a7a6e479]
[kturbulentchbg-2:508709] [ 8] /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam6fvMesh5solveERNS_8fvMatrixINS_6VectorIdEEEERKNS_10dictionaryE+0x10)[0x7fe0a7a12710]
[kturbulentchbg-2:508709] [ 9] pimpleFoam(+0x3f24e)[0x563e6bcc524e]
[kturbulentchbg-2:508709] [10] pimpleFoam(+0x2ce8a)[0x563e6bcb2e8a]
[kturbulentchbg-2:508709] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fe0a3be3d0a]
[kturbulentchbg-2:508709] [12] pimpleFoam(+0x2f0aa)[0x563e6bcb50aa]
[kturbulentchbg-2:508709] *** End of error message ***
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
[1] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[1] #1  Foam::sigSegv::sigHandler(int) at ??:?
[1] #2  ? in /lib/x86_64-linux-gnu/libpthread.so.0
[1] #3  ? in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libforces.so
[3] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[3] #1  Foam::sigSegv::sigHandler(int) at ??:?
[3] #2  ? in /lib/x86_64-linux-gnu/libpthread.so.0
[3] #3  ? in /opt/openfoam/v2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/lib/libforces.so
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 0 on node kturbulentchbg-2 exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
aiche231@kturbulentchbg-2:~/fluid$ mpirun noticed that process rank 2 with PID 0 on node kturbulentchbg-2 exited on signal 8 (Floating point exception).
 Sending data to another participant (using sockets) failed with a system error: write: Broken pipe. This often means that the other participant exited with an error (look there). Sending data to another participant (using sockets) failed with a system error: write: Broken pipe. This often means that the other participant exited with an error (look there).--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 0 on node kturbulentchbg-2 exited on signal 8 (Floating point exception).
[0] #4  Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const[2] #4  Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const at ??:?
 at ??:?
[0] #5  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const[2] #5  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[0] #6  Foam::fvMatrix<Foam::Vector<double> >::solveSegregated(Foam::dictionary const&) at ??:?
[2] #6  Foam::fvMatrix<Foam::Vector<double> >::solveSegregated(Foam::dictionary const&) at ??:?
[0] #7  Foam::fvMatrix<Foam::Vector<double> >::solveSegregatedOrCoupled(Foam::dictionary const&) at ??:?
[2] #7  Foam::fvMatrix<Foam::Vector<double> >::solveSegregatedOrCoupled(Foam::diant exited with an error (look there).-^Chis often means that the other particip
 in solid :slight_smile: 
Error:---[precice]  relative convergence measure: relative two-norm diff of data "Force" = 8.31e-01, limit = 1.00e-04, normalization = 4.94e+02, conv = false
---[precice]  Time window completed
---[precice]  iteration: 1 of 3, time-window: 2, time: 5e-05 of 1, time-window-size: 5e-05, max-timestep-length: 5e-05, ongoing: yes, time-window-complete: yes, write-iteration-checkpoint
---[precice]  relative convergence measure: relative two-norm diff of data "DisplacementDelta" = 1.06e+00, limit = 1.00e-04, normalization = 1.01e-02, conv = false
---[precice]  relative convergence measure: relative two-norm diff of data "Force" = 1.06e+00, limit = 1.00e-04, normalization = 8.40e+03, conv = false
---[precice]  iteration: 2 of 3, time-window: 2, time: 5e-05 of 1, time-window-size: 5e-05, max-timestep-length: 5e-05, ongoing: yes, time-window-complete: no, read-iteration-checkpoint
---[precice]  relative convergence measure: relative two-norm diff of data "DisplacementDelta" = 9.01e-01, limit = 1.00e-04, normalization = 1.01e-02, conv = false
---[precice]  relative convergence measure: relative two-norm diff of data "Force" = 0.00e+00, limit = 1.00e-04, normalization = 8.40e+03, conv = true
---[precice]  iteration: 3 of 3, time-window: 2, time: 5e-05 of 1, time-window-size: 5e-05, max-timestep-length: 5e-05, ongoing: yes, time-window-complete: no, read-iteration-checkpoint
---[precice]  relative convergence measure: relative two-norm diff of data "DisplacementDelta" = 7.68e-01, limit = 1.00e-04, normalization = 1.01e-02, conv = false
---[precice]  relative convergence measure: relative two-norm diff of data "Force" = 0.00e+00, limit = 1.00e-04, normalization = 8.40e+03, conv = true
---[precice] ERROR:  Sending data to another participant (using sockets) failed with a system error: write: Broken pipe. This often means that the other participant exited with an error (look there).

Hi @AymenAmiral1997,

this looks like an OpenFOAM simulation crash (probably for numerical / bad configuration) reasons, which however also complains that it stopped receiving messages from the FEniCS side.

Could you add more details and logs about this issue? I don’t think that I can help you with only this information.

Hi
I am figuring out what information to send you to help you understand my error.???
thank you

  • some information about the case/scenario you are simulating
  • the complete OpenFOAM log (not only the last timestep)
  • the preCICE output file precice-<solver>-convergence.log

My simulation is a fluid flow around a 3D NACA profile , I sent two files two errors with the fileof
precice-config.xml (3.3 KB)

fluid.txt (198.2 KB)
solid.txt (272.4 KB)
precice-Solid-convergence.log (93.9 KB)

The residual of the force seems to be a perfect zero before the simulation crashes, that’s strange and it should be the one leading to the floating point exception (probably a division by zero):

TimeWindow  Iteration  ResRel(DisplacementDelta)  ResRel(Force)  
...
   216       9   3.16402948e-06   4.50938995e-05  
   217       1   1.33894909e+00   1.45621530e+00  
   217       2   4.38191603e-01   2.37264971e+00  
   217       3   1.18927875e-02   9.20996878e-01  
   217       4   8.43663642e-03   1.37494291e-02  
   217       5   2.09502769e-03   1.16096976e-02  
   217       6   4.10065231e-04   3.26574829e-03  
   217       7   6.11705135e-05   6.80888308e-04  
   217       8   3.24972950e-05   2.59198455e-05  
   218       1   1.91783064e+00   0.00000000e+00  
   218       2   8.92826747e-01   0.00000000e+00  

The Courant number seems to be fine:

...
Courant Number mean: 0.000551044833496562 max: 1.19361789475157
Courant Number mean: 0.000365290670566022 max: 1.85670011211897

Looking at the OpenFOAM convergence:

Time = 0.00218

PIMPLE: iteration 1
GAMG:  Solving for cellDisplacementx, Initial residual = 0.149983700315795, Final residual = 8.02140289225546e-18, No Iterations 1
GAMG:  Solving for cellDisplacementy, Initial residual = 0.127523776727444, Final residual = 8.77663106574096e-18, No Iterations 1
GAMG:  Solving for cellDisplacementz, Initial residual = 0.181039909890666, Final residual = 8.52318282034318e-18, No Iterations 1
GAMG:  Solving for pcorr, Initial residual = 1, Final residual = 8.82168832626665e-07, No Iterations 40
GAMG:  Solving for pcorr, Initial residual = 0.234632843038657, Final residual = 7.89637195743971e-07, No Iterations 24
GAMG:  Solving for pcorr, Initial residual = 0.0303156078762182, Final residual = 7.92267323340878e-07, No Iterations 18
time step continuity errors : sum local = 1.18971553674901e-11, global = 2.26461126502817e-13, cumulative = 1.69099269010093e                                                                                                                -10
smoothSolver:  Solving for Ux, Initial residual = 0.191397176848791, Final residual = 3.09819743558187e-06, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 0.125275507433069, Final residual = 3.19011714298314e-06, No Iterations 1
smoothSolver:  Solving for Uz, Initial residual = 0.610230564446068, Final residual = 4.92291285923051e-06, No Iterations 1

I also see many No Iterations 1. Have you reached an unexpected steady-state?

Hi sorry for this sudden inerruption
no i never reached this state

I think that you then need to look deeper into the results of every time step, check how each time step converges, check your parameters, etc. It’s a long process, which an external viewer cannot easily help with.

I would focus on the question: “why is the force eventually getting to absolute zero?”

Sorry for this time to reply , i dont undrstand this why i get a 0. look the same erreur .
the current number in the first is 0.01 in the end be 6.57
i think i have a probleme in the installation ?

[1] ============= [1] #1 Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so [1] #2 ? in /lib/x86_64-linux-gnu/libc.so.6 [1] #3 Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field&, Foam::lduMatrix const&, Foam::Field const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so [1] #4 Foam::symGaussSeidelSmoother::smooth(Foam::Field&, Foam::Field const&, unsigned char, int) const in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so [1] #5 Foam::smoothSolver::solve(Foam::Field&, Foam::Field const&, unsigned char) const in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so [1] #6 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so [1] #7 Foam::fvMesh::solve(Foam::fvMatrix<Foam::Vector >&, Foam::dictionary const&) const in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so [1] #8 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/pimpleFoam [1] #9 ? in /lib/x86_64-linux-gnu/libc.so.6 [1] #10 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 [1] #11 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/pimpleFoam [1] ============= [lrhae-HP-290:04588] ***** Process received signal ***** [lrhae-HP-290:04588] Signal: Floating point exception (😎 [lrhae-HP-290:04588] Signal code: (-6) [lrhae-HP-290:04588] Failing at address: 0x3e8000011ec [lrhae-HP-290:04588] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f41fe833520] [lrhae-HP-290:04588] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f41fe8879fc] [lrhae-HP-290:04588] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f41fe833476] [lrhae-HP-290:04588] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f41fe833520] [lrhae-HP-290:04588] [ 4] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi+0x240)[0x7f41ff1aeb50] [lrhae-HP-290:04588] [ 5] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi+0x5c)[0x7f41ff1aed3c] [lrhae-HP-290:04588] [ 6] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h+0x4b1)[0x7f41ff1aaef1] [lrhae-HP-290:04588] [ 7] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0x4b5cd6)[0x7f420147ecd6] [lrhae-HP-290:04588] [ 8] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam6fvMesh5solveERNS_8fvMatrixINS_6VectorIdEEEERKNS_10dictionaryE+0x28)[0x7f4201462448] [lrhae-HP-290:04588] [ 9] pimpleFoam(+0x1f817)[0x55968bb78817] [lrhae-HP-290:04588] [10] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f41fe81ad90] [lrhae-HP-290:04588] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f41fe81ae40] [lrhae-HP-290:04588] [12] pimpleFoam(+0x22e15)[0x55968bb7be15] [lrhae-HP-290:04588] ***** End of error message ***** -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun noticed that process rank 1 with PID 0 on node lrhae-HP-290 exited on signal 8 (Floating point exception).

@AymenAmiral1997 can you please format the error message correctly? You can use markdown code snippets for that. I cannot really read it like this.

What output do you get before this error?

hi @Makis
jai essaye de refaire la simulation sur un autre laptop jai refaire linstallation mais quand jai essaye de lancer la simulation sur fenics-solid jai cet erreur jai pas compris !!!
Erreur
lrhae@lrhae:~/tutorials/perpendicular-flap/solid-fenics$ ./run.sh
Traceback (most recent call last):
File “/home/lrhae/tutorials/perpendicular-flap/solid-fenics/solid.py”, line 8, in
from fenicsprecice import Adapter
File “/home/lrhae/.local/lib/python3.10/site-packages/fenicsprecice/init.py”, line 9, in
from .fenicsprecice import Adapter
File “/home/lrhae/.local/lib/python3.10/site-packages/fenicsprecice/fenicsprecice.py”, line 8, in
import precice
File “/home/lrhae/.local/lib/python3.10/site-packages/precice/init.py”, line 5, in
from cyprecice import Participant, get_version_information
ImportError: libprecice.so.3: cannot open shared object file: No such file or directory

Hi @AymenAmiral1997,

This means that the preCICE shared library cannot be found by the linker at runtime.

Make sure that you have either

  • preCICE installed, or
  • in case of a custom installation directory: LD_LIBRARY_PATH must contain the path to the library.

hello i have the same probleme and i use the instruction to installed but when i do the command of the simulation i have this probleme .
if any one ca give the exact commands to install precice and fenics and openfoam to do the couoplage ; i try before two weeks but i have the same problem i dont undrstand !!!

./run.sh
Traceback (most recent call last):
File “solid.py”, line 8, in
from fenicsprecice import Adapter
ModuleNotFoundError: No module named ‘fenicsprecice’

You could try following the provisioning scripts for our demo VM:

Note that you need to install pyprecice and fenicsprecice for preCICE v2:

pip3 install --user pyprecice== v2.5.0.4
pip3 install --user fenicsprecice==1.4.0

Don’t forget to install FEniCS and preCICE v2 themselves.

If you have issues for so long, consider consulting your local admin / RSE.