|
[Sponsors] |
The costume code works in serial mode but not in parallel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 19, 2016, 15:04 |
The costume code works in serial mode but not in parallel
|
#1 |
New Member
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 15 |
Hi everyone,
In fact, I have recently developed my solver (Add a class to original twoPhaseEulerFoam (populationBalance class) in OF 2.3.0). My solver works in serial mode works properly but when I want to use that with mpirun or mpiexec it is crashed. Any idea or comments for debugging, even short ones will be pretty much useful and appreciated. Thanks in advance. P.S: This is short version of log file (complete one is attached): Code:
[3] in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam" [cp0233:26977] *** Process received signal *** [cp0233:26977] Signal: Floating point exception (8) [cp0233:26977] Signal code: (-6) [cp0233:26977] Failing at address: 0x2e5f5200006961 [cp0233:26977] [ 0] /lib64/libc.so.6() [0x3565a326a0] [cp0233:26977] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625] [cp0233:26977] [ 2] /lib64/libc.so.6() [0x3565a326a0] [cp0233:26977] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b309cb346a8] [cp0233:26977] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b309b71be2f] [cp0233:26977] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7] [cp0233:26977] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30] [cp0233:26977] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b309a7f787b] [cp0233:26977] [ 8] twoPhaseEulerCMFoam() [0x4881ce] [cp0233:26977] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d] [cp0233:26977] [10] twoPhaseEulerCMFoam() [0x4349a9] [cp0233:26977] *** End of error message *** [20] in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam" [cp0233:26994] *** Process received signal *** [cp0233:26994] Signal: Floating point exception (8) [cp0233:26994] Signal code: (-6) [cp0233:26994] Failing at address: 0x2e5f5200006972 [cp0233:26994] [ 0] /lib64/libc.so.6() [0x3565a326a0] [cp0233:26994] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625] [cp0233:26994] [ 2] /lib64/libc.so.6() [0x3565a326a0] [cp0233:26994] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2ab939a6d6a8] [cp0233:26994] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2ab938654e2f] [cp0233:26994] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7] [cp0233:26994] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30] [cp0233:26994] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2ab93773087b] [cp0233:26994] [ 8] twoPhaseEulerCMFoam() [0x4881ce] [cp0233:26994] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d] [cp0233:26994] [10] twoPhaseEulerCMFoam() [0x4349a9] [cp0233:26994] *** End of error message *** -------------------------------------------------------------------------- mpiexec noticed that process rank 5 with PID 26979 on node cp0233 exited on signal 8 (Floating point exception). -------------------------------------------------------------------------- [cp0233:26973] 23 more processes have sent help message help-mpi-runtime.txt / mpi_init:warn-fork [cp0233:26973] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages |
|
June 7, 2016, 12:09 |
I solve the error but I dont know why it solve that
|
#2 |
New Member
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 15 |
I enhanced twoPhaseEulerFoam solver by including fi-equations to diameter modle (population balance with class method ). In current case, I have 7 classes and consequently, I have 7 equations for fi. Each fi vary between 0 and 1.
In serial mode, I did not have any problem but when I wanted to launch my solver in parallel mode, I faced an error during fi calculations named “floating point exception:” As following list indicates, I made a lot of efforts to solve it:
Now, I am wondering why upwind scheme solved the bug. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Case running in serial, but Parallel run gives error | atmcfd | OpenFOAM Running, Solving & CFD | 18 | March 26, 2016 12:40 |
Problems with UDF in parallel mode | rikfr986 | Fluent UDF and Scheme Programming | 1 | October 6, 2015 11:17 |
Serial UDF is working for parallel computation also | Tanjina | Fluent UDF and Scheme Programming | 0 | December 26, 2013 18:24 |
Poisson eq w setReference works serial diverges in parallel | tehache | OpenFOAM Running, Solving & CFD | 5 | August 29, 2012 09:41 |
Pstream Issue - Gathering Data for a Serial Computation in Parallel Mode | ngj | OpenFOAM Programming & Development | 3 | May 2, 2012 16:32 |