jvencels / EOF-Library

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

The ERROR of example “levitation2D” #5

Closed Liu0813 closed 4 years ago

Liu0813 commented 5 years ago

I try to run the example levitation2D, and I have not modified any parameters, but the following error appeared when running:

ExecutionTime = 2.58 s  ClockTime = 5 s
OpenFOAM2Elmer: scalar = 0.0086143 s
Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
ERROR:: IterSolve: Numerical Error: System diverged over maximum tolerance.
ERROR:: IterSolve: Numerical Error: System diverged over maximum tolerance.
--------------------------------------------------------------------------
mpirun has exited due to process rank 2 with PID 0 on
node gdplab-virtual-machine exiting improperly. There are three reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

3. this process called "MPI_Abort" or "orte_abort" and the mca parameter
orte_create_session_dirs is set to false. In this case, the run-time cannot
detect that the abort call was an abnormal termination. Hence, the only
error message you will receive is this one.

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).

You can avoid this message by specifying -quiet on the mpirun command line.
--------------------------------------------------------------------------
jvencels commented 5 years ago

Are you running on "Docker" on "Complete install"?

On 13.07.19 12:28, Liu Zhigang wrote:

I try to run the example levitation2D, and I have not modified any parameters, but the following error appeared when running:

ExecutionTime = 2.58 s ClockTime = 5 s OpenFOAM2Elmer: scalar = 0.0086143 s Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG IEEE_DENORMAL ERROR:: IterSolve: Numerical Error: System diverged over maximum tolerance. ERROR:: IterSolve: Numerical Error: System diverged over maximum tolerance.

mpirun has exited due to process rank 2 with PID 0 on node gdplab-virtual-machine exiting improperly. There are three reasons this could occur: 1. this process did not call "init" before exiting, but others in the job did. This can cause a job to hang indefinitely while it waits for all processes to call "init". By rule, if one process calls "init", then ALL processes must call "init" prior to termination. 2. this process called "init", but exited without calling "finalize". By rule, all processes that call "init" MUST call "finalize" prior to exiting or it will be considered an "abnormal termination" 3. this process called "MPI_Abort" or "orte_abort" and the mca parameter orte_create_session_dirs is set to false. In this case, the run-time cannot detect that the abort call was an abnormal termination. Hence, the only error message you will receive is this one. This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). You can avoid this message by specifying -quiet on the mpirun command line.


|

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jvencels/EOF-Library/issues/5?email_source=notifications&email_token=ABHP7QIYCJD4VF56PVOWB5LP7GN2TA5CNFSM4ICZ2MT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7APX6A, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHP7QKICMCVQNFAG6NVGU3P7GN2TANCNFSM4ICZ2MTQ.

Liu0813 commented 5 years ago

Complete Install

jvencels commented 5 years ago

Please provide all instalation details (commands, software versions etc.)

On Sat, Jul 13, 2019, 13:39 Liu Zhigang notifications@github.com wrote:

Complete Install

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jvencels/EOF-Library/issues/5?email_source=notifications&email_token=ABHP7QI4HP6G74I5NLVDPDTP7GWHFA5CNFSM4ICZ2MT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3PEPA#issuecomment-511111740, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHP7QPQZJSEKLVH4WWGWTDP7GWHFANCNFSM4ICZ2MTQ .

Liu0813 commented 5 years ago

The software is installed on a Linux Mint system according to README.md. Following is the version of dependence software: GCC: 7.4.0 MPI: OpenMPI 2.1.1 OpenFOAM: 6.0 Elmer: 8.3

jvencels commented 5 years ago

From information that you provided it is difficult to find the problem, I cannot reproduce it. There might be some recent changes in OpenFOAM/Elmer sources or some step missing during compilation etc.

I suggest you to try Docker first since it has everything already installed and configured.

If you need assistance for compiling and getting-started then please consider contacting support: vencels@eof-library.com

On 13.07.19 14:07, Liu Zhigang wrote:

The software is installed on a Linux Mint system according to README.md. Following is the version of dependence software: GCC: 7.4.0 MPI: OpenMPI 2.1.1 OpenFOAM: 6.0 Elmer: 8.3

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jvencels/EOF-Library/issues/5?email_source=notifications&email_token=ABHP7QIOAHPVVOSHPTVIYUDP7GZP3A5CNFSM4ICZ2MT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3PRDI#issuecomment-511113357, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHP7QLUYV6K3EZP45XLTF3P7GZP3ANCNFSM4ICZ2MTQ.

Liu0813 commented 5 years ago

Thanks for your suggestion. This problem maybe relate to the process of compiling EOF-Library. When I perform the command eofCompile, some error messages are shown:

wmake /home/gdp-lab/Project/EOF-Library/etc/../libs/coupleElmer
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    wmakeLnInclude error: base directory EOF_INC does not exist
    wmakeLnInclude error: base directory = does not exist
    wmakeLnInclude error: base directory EOF_INC does not exist
    wmakeLnInclude error: base directory = does not exist
    wmakeLnInclude error: base directory EOF_INC does not exist
    wmakeLnInclude error: base directory = does not exist
************ OF version 6 ************
************ OF version 6 ************
************ OF version 6 ************
************ OF version 6 ************
no elmerice
/usr/bin/f95 -o /home/gdp-lab/Project/EOF-Library/etc/../libs/Elmer2OpenFOAM.so -J/home/gdp-lab/Project/EOF-Library/etc/../libs /home/gdp-lab/Project/EOF-Library/etc/../libs/Elmer2OpenFOAM.F90 -DCONTIG=,CONTIGUOUS -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O3 -DNDEBUG -O3 -fPIC -shared -I/home/gdp-lab/Project/elmerfem/mpi-install/share/elmersolver/include -L/home/gdp-lab/Project/elmerfem/mpi-install/lib/elmersolver -shared -lelmersolver 
no elmerice
/usr/bin/f95 -o /home/gdp-lab/Project/EOF-Library/etc/../libs/OpenFOAM2Elmer.so -J/home/gdp-lab/Project/EOF-Library/etc/../libs /home/gdp-lab/Project/EOF-Library/etc/../libs/OpenFOAM2Elmer.F90 -DCONTIG=,CONTIGUOUS -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O3 -DNDEBUG -O3 -fPIC -shared -I/home/gdp-lab/Project/elmerfem/mpi-install/share/elmersolver/include -L/home/gdp-lab/Project/elmerfem/mpi-install/lib/elmersolver -shared -lelmersolver 
jvencels commented 5 years ago

I am aware about these messages, they are warnings that do not affect compilation & simulations.

On 13.07.19 16:19, Liu Zhigang wrote:

Thanks for your suggestion. This problem maybe relate to the process of compiling EOF-Library. When I perform the command |eofCompile|, some error messages are shown:

|wmake /home/gdp-lab/Project/EOF-Library/etc/../libs/coupleElmer wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries: wmakeLnInclude error: base directory EOF_INC does not exist wmakeLnInclude error: base directory = does not exist wmakeLnInclude error: base directory EOF_INC does not exist wmakeLnInclude error: base directory = does not exist wmakeLnInclude error: base directory EOF_INC does not exist wmakeLnInclude error: base directory = does not exist **** OF version 6 **** **** OF version 6 **** **** OF version 6 **** **** OF version 6 **** no elmerice /usr/bin/f95 -o /home/gdp-lab/Project/EOF-Library/etc/../libs/Elmer2OpenFOAM.so -J/home/gdp-lab/Project/EOF-Library/etc/../libs /home/gdp-lab/Project/EOF-Library/etc/../libs/Elmer2OpenFOAM.F90 -DCONTIG=,CONTIGUOUS -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O3 -DNDEBUG -O3 -fPIC -shared -I/home/gdp-lab/Project/elmerfem/mpi-install/share/elmersolver/include -L/home/gdp-lab/Project/elmerfem/mpi-install/lib/elmersolver -shared -lelmersolver no elmerice /usr/bin/f95 -o /home/gdp-lab/Project/EOF-Library/etc/../libs/OpenFOAM2Elmer.so -J/home/gdp-lab/Project/EOF-Library/etc/../libs /home/gdp-lab/Project/EOF-Library/etc/../libs/OpenFOAM2Elmer.F90 -DCONTIG=,CONTIGUOUS -DHAVE_EXECUTECOMMANDLINE -DUSE_ISO_C_BINDINGS -DUSE_ARPACK -O3 -DNDEBUG -O3 -fPIC -shared -I/home/gdp-lab/Project/elmerfem/mpi-install/share/elmersolver/include -L/home/gdp-lab/Project/elmerfem/mpi-install/lib/elmersolver -shared -lelmersolver |

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jvencels/EOF-Library/issues/5?email_source=notifications&email_token=ABHP7QLPTPDYBAX3ZWKDK63P7HI5VA5CNFSM4ICZ2MT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3RRVQ#issuecomment-511121622, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHP7QPUUGYFUX5KNYVIEI3P7HI5VANCNFSM4ICZ2MTQ.