View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002959 | OpenFOAM | Bug | public | 2018-05-26 09:25 | 2018-05-26 09:45 |
Reporter | Jaya | Assigned To | henry | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 12.04 |
Summary | 0002959: The solver of laminarSMOKE can not run in parallel. | ||||
Description | The version of OpenFOAM is 2.1.1. I want to use the solver of laminarSMOKE to do some calculation. However, the laminarSMOKE can run well in single core. But when is set up in paralled it cannot work. In addition, I have tried to perform parallel calculations using other solvers, such as icoFoam or interFoam, the parallel calculation is OK. ==================================================================================== zhaowh@ubuntu:~/OpenFOAM/zhaowh-2.1.1/run/Tutorial-1$ mpirun -np 4 laminarSMOKE -parallel /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.1-221db2718bbb Exec : laminarSMOKE -parallel Date : May 26 2018 Time : 16:22:13 Host : "ubuntu" PID : 59086 Case : /home/zhaowh/OpenFOAM/zhaowh-2.1.1/run/Tutorial-1 nProcs : 4 Slaves : 3 ( "ubuntu.59087" "ubuntu.59088" "ubuntu.59089" ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading g Reading field U Reading field p Reading field T Creating cTot Creating enthalpy Creating psi Creating mu Creating lambda Creating cp Creating MW Creating Qrad Creating MF Creating elementMassN Creating elementMassC Creating elementMassH Creating elementMassO Creating sumCpSpecies Creating sumCorrections Reading Solver options Name: [not assigned] Author: [not assigned] Place: [not assigned] Date: Fri May 11 16:22:44 2018 Minimum temperature: 300 K Maximum temperature: 3600 K -------------------------------------------------------------------------- KINETIC SCHEME SUMMARY -------------------------------------------------------------------------- Total number of species = 53 Total number of reactions = 325 Number of irreversible reactions = 16 Number of equilibrium reactions = 309 Number of conventional reactions = 284 Number of third body reactions (total) = 41 Number of third body reactions = 12 Number of Fall-Off reactions = 29 Number of C.A.B. reactions = 0 Number of Landau-Teller reactions = 0 Number of Janev-Langer reactions = 0 Number of Power-Series reactions = 0 Number of Chebishev-Pol. reactions = 0 Number of Log-Pressure reactions = 0 Number of Global reactions = 0 Number of Bimolecular Coll. reactions = 0 -------------------------------------------------------------------------- Name: [not assigned] Author: [not assigned] Place: [not assigned] Date: Fri May 11 16:22:44 2018 Reading Reacting Gas Mixture... Name: [not assigned] Author: [not assigned] Place: [not assigned] Date: Fri May 11 16:22:44 2018 Minimum temperature: 300 K Maximum temperature: 3600 K -------------------------------------------------------------------------- KINETIC SCHEME SUMMARY -------------------------------------------------------------------------- Total number of species = 53 Total number of reactions = 325 Number of irreversible reactions = 16 Number of equilibrium reactions = 309 Number of conventional reactions = 284 Number of third body reactions (total) = 41 Number of third body reactions = 12 Number of Fall-Off reactions = 29 Number of C.A.B. reactions = 0 Number of Landau-Teller reactions = 0 Number of Janev-Langer reactions = 0 Number of Power-Series reactions = 0 Number of Chebishev-Pol. reactions = 0 Number of Log-Pressure reactions = 0 Number of Global reactions = 0 Number of Bimolecular Coll. reactions = 0 -------------------------------------------------------------------------- Reading Chemical Species Reading omega: "H2" => "H2" Reading omega: "H" => Ydefault Reading omega: "O" => Ydefault Minimum temperature: 300 K Reading omega: "O2" => "O2" Reading omega: "OH" => Ydefault Reading omega: "H2O" => Ydefault Reading omega: "HO2" => Ydefault Reading omega: "H2O2" => Ydefault Reading omega: "C" => Ydefault Reading omega: "CH" => Ydefault Reading omega: "CH2" => Ydefault Reading omega: "CH2(S)" => Ydefault Reading omega: "CH3" => Ydefault Reading omega: "CH4" => Ydefault Reading omega: "CO" => Ydefault Reading omega: "CO2" => Ydefault Reading omega: "HCO" => Ydefault Reading omega: "CH2O" => Ydefault Reading omega: "CH2OH" => Ydefault Reading omega: "CH3O" => Ydefault Reading omega: "CH3OH" => Ydefault Reading omega: "C2H" => Ydefault Reading omega: "C2H2" => Ydefault Reading omega: "C2H3" => Ydefault Reading omega: "C2H4" => Ydefault Reading omega: "C2H5" => Ydefault Reading omega: "C2H6" => Ydefault Reading omega: "HCCO" => Ydefault Reading omega: "CH2CO" => Ydefault Reading omega: "HCCOH" => Ydefault Reading omega: "N" => Ydefault Reading omega: "NH" => Ydefault Reading omega: "NH2" => Ydefault Maximum temperature: 3600 K -------------------------------------------------------------------------- KINETIC SCHEME SUMMARY -------------------------------------------------------------------------- Total number of species = 53 Total number of reactions = 325 Number of irreversible reactions = 16 Number of equilibrium reactions = 309 Number of conventional reactions = 284 Number of third body reactions (total) = 41 Number of third body reactions = 12 Number of Fall-Off reactions = 29 Number of C.A.B. reactions = 0 Number of Landau-Teller reactions = 0 Number of Janev-Langer reactions = 0 Number of Power-Series reactions = 0 Number of Chebishev-Pol. reactions = 0 Number of Log-Pressure reactions = 0 Number of Global reactions = 0 Number of Bimolecular Coll. reactions = 0 -------------------------------------------------------------------------- Reading omega: "NH3" => Ydefault Reading omega: "NNH" => Ydefault Reading omega: "NO" => Ydefault Reading omega: "NO2" => Ydefault Reading omega: "N2O" => Ydefault Reading omega: "HNO" => Ydefault Reading omega: "CN" => Ydefault Name: [not assigned] Reading omega: "HCN" => Ydefault Author: [not assigned] Place: [not assigned] Date: Fri May 11 16:22:44 2018 Minimum temperature: 300 K Maximum temperature: 3600 K Reading omega: "H2CN" => Ydefault Reading omega: "HCNN" => Ydefault Reading omega: "HCNO" => Ydefault Reading omega: "HOCN" => Ydefault Reading omega: "HNCO" => Ydefault -------------------------------------------------------------------------- KINETIC SCHEME SUMMARY -------------------------------------------------------------------------- Total number of species = 53 Total number of reactions = 325 Number of irreversible reactions = 16 Number of equilibrium reactions = 309 Number of conventional reactions = 284 Number of third body reactions (total) = 41 Number of third body reactions = 12 Number of Fall-Off reactions = 29 Number of C.A.B. reactions = 0 Number of Landau-Teller reactions = 0 Number of Janev-Langer reactions = 0 Number of Power-Series reactions = 0 Number of Chebishev-Pol. reactions = 0 Number of Log-Pressure reactions = 0 Number of Global reactions = 0 Number of Bimolecular Coll. reactions = 0 -------------------------------------------------------------------------- Reading omega: "NCO" => Ydefault [2] #0 Foam::error::printStack(Foam::Ostream&)Reading omega: "N2" => "N2" Reading omega: "AR" => "AR" Reading omega: "C3H7" => Ydefault Reading omega: "C3H8" => Ydefault Reading omega: "CH2CHO" => Ydefault Reading omega: "CH3CHO" => Ydefault * Memory Allocation... * Soot Allocation... * Mixture fraction... Fuel stream (mass fractions): H2 0.066637 N2 0.933363 Oxidizer stream (mass fractions): O2 0.231442 N2 0.754902 AR 0.013656 * Recognizing atoms... * Properties... in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #1 Foam::sigSegv::sigHandler(int)[3] #0 in Foam::error::printStack(Foam::Ostream&)"/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [2] #2 [1] in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #1 Foam::sigSegv::sigHandler(int)#0 Foam::error::printStack(Foam::Ostream&Properties calculated with success. CPU Time: 0.02 s u/libc.so.6" [2] #3 * Additional fields... Reading/calculating face flux field phi in "/hom in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #1 Foam::sigSegv::sigHandler(int)e/zhaowh/OpenFOAM/OpenF OAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [3] #2 [2] in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/laminarSMOKE" [2] #4 __libc_start_main in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [1] #2 in "/lib/x86_64-linux-gnu/libc.so.6" [3] #3 in "/lib/x86_64-linux-gnu/libc.so.6" [2] #5 in "/lib/x86_64-linux-gnu/libc.so.6" [1] #3 [3] in "/home/zhaowh/O[2] in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/laminarSMOKE" [ubuntu:59088] *** Process received signal *** [ubuntu:59088] Signal: Segmentation fault (11) [ubuntu:59088] Signal code: (-6) [ubuntu:59088] Failing at address: 0x3e80000e6d0 penFOAM/OpenFOAM-2.1.1/pla[ubuntu:59088] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36570) [0x7fedfab0f570] [ubuntu:59088] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fedfab0f4f5] [ubuntu:59088] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x36570) [0x7fedfab0f570] [ubuntu:59088] [ 3] laminarSMOKE() [0x41fb97] [ubuntu:59088] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fedfaafa78d] [ubuntu:59088] [ 5] laminarSMOKE() [0x44a9bd] [ubuntu:59088] *** End of error message *** tforms/linux64GccDPOpt/bin/laminarSMOKE" [3] #4 __libc_start_main[1] in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/laminarSMOKE" [1] #4 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [3] #5 in "/lib/x86_64-linux-gnu/libc.so.6" [1] #5 [1] in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/laminarSMOKE" [ubuntu:59087] *** Process received signal *** [ubuntu:59087] Signal: Segmentation fault (11) [ubuntu:59087] Signal code: (-6) [ubuntu:59087] Failing at address: 0x3e80000e6cf [ubuntu:59087] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36570) [0x7f6dbc08b570] [ubuntu:59087] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f6dbc08b4f5] [ubuntu:59087] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x36570) [0x7f6dbc08b570] [ubuntu:59087] [ 3] laminarSMOKE() [0x41fb97] [ubuntu:59087] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f6dbc07678d] [ubuntu:59087] [ 5] laminarSMOKE() [0x44a9bd] [ubuntu:59087] *** End of error message *** [3] in "/home/zhaowh/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/laminarSMOKE" [ubuntu:59089] *** Process received signal *** [ubuntu:59089] Signal: Segmentation fault (11) [ubuntu:59089] Signal code: (-6) [ubuntu:59089] Failing at address: 0x3e80000e6d1 [ubuntu:59089] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x36570) [0x7f732caed570] [ubuntu:59089] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f732caed4f5] [ubuntu:59089] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x36570) [0x7f732caed570] [ubuntu:59089] [ 3] laminarSMOKE() [0x41fb97] [ubuntu:59089] [ 4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f732cad878d] -------------------------------------------------------------------------- mpirun noticed that process rank 1 with PID 59087 on node ubuntu exited on signal 11 (Segmentation fault). -------------------------------------------------------------------------- zhaowh@ubuntu:~/OpenFOAM/zhaowh-2.1.1/run/Tutorial-1$ | ||||
Tags | No tags attached. | ||||