jvencels / EOF-Library

Efficient two-way coupling between Elmer FEM and OpenFOAM
https://eof-library.com/
GNU General Public License v3.0
70 stars 25 forks source link

Error while running “levitation2D” test case #8

Open sayedmostafahoseiny opened 2 years ago

sayedmostafahoseiny commented 2 years ago

I compiled EOF-Library according to "https://github.com/jvencels/EOF-Library" and I got this eofcompile.txt. or in brief it said : "wmakeLnInclude error: base directory EOF_INC does not exist". It seems to be just warning and do not affect compilation & simulations. Then I compiled "mhdInterFoam" solver and I got this mhdInterFoamcompile.txt. or in brief it said : "wmakeLnInclude error: base directory EOF_INC does not exist". despite above error (warning), the Executable file of "mhdInterFoam" was built in "/home/mostafa/OpenFOAM/mostafa-6/platforms/linux64GccDPInt64Opt/bin" so I guess it is just warning, not error! Then I tried to run the “levitation2D” test case, everything was Ok and all commands executed correctly and even mesh was built but when I performed the command "mpirun -np 2 mhdInterFoam -parallel : -np 2 ElmerSolver_mpi" , I faced with this Error runningthecase1.txt. or in brief : "ERROR:: ElmerSolver: Unable to find ELMERSOLVER_STARTINFO, can not execute.". I searched in Elmer tutorials and I found that every elmer case has an "ELMERSOLVER_STARTINFO" file, so I copied an "ELMERSOLVER_STARTINFO" file into “levitation2D” case and previous error removed but this new error appeared runningthecase2.txt. or in brief : "MagnetoDynamics2D.so: cannot open shared object file: No such file or directory"

I didn't change or modify any dictionary or file in the “levitation2D” test case. I performed all instructions according to manual installation part of "https://github.com/jvencels/EOF-Library" on my Ubuntu 18.04.6 LTS system. Following is the version of dependence softwares : MPI : Open MPI 2.1.1 OpenFOAM : v6.0 (compiled from Source) Elmer: v9 ( I tried also v8.4 and got the same) EOF-Library : v0.3.0

I wonder if there is a problem with compilation of EOF-Library or compilation is Ok and there is a problem with “levitation2D” test case. do you have any suggestion for me to get rid of these Errors?

thanks a lot