|
[Sponsors] |
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 30, 2009, 04:19 |
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel
|
#1 |
New Member
Francesco Contino
Join Date: Mar 2009
Posts: 26
Rep Power: 17 |
Hi everyone,
It seems that there is some kind of a bug when running dieselEngineFoam in parallel. I've just tested it with the 1.5-dev version and it appears that this application gives a segmentation fault as follows: Code:
[node023:13101] *** Process received signal *** [node023:13101] Signal: Segmentation fault (11) [node023:13101] Signal code: (-6) [node023:13101] Failing at address: 0x7440000332d [node023:13101] [ 0] /lib64/libc.so.6 [0x3916e30280] [node023:13101] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3916e30215] [node023:13101] [ 2] /lib64/libc.so.6 [0x3916e30280] [node023:13101] [ 3] /lib64/libc.so.6 [0x3916e71f65] [node023:13101] [ 4] /lib64/libc.so.6(__libc_malloc+0x7a) [0x3916e7402a] [node023:13101] [ 5] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_Znwm+0x1d) [0x2b0dc7aa5a7d] [node023:13101] [ 6] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs4_Rep9_S_createEmmRKSaIcE+0x21) [0x2b0dc7a83341] [node023:13101] [ 7] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs4_Rep8_M_cloneERKSaIcEm+0x2b) [0x2b0dc7a83beb] [node023:13101] [ 8] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs7reserveEm+0x41) [0x2b0dc7a84871] [node023:13101] [ 9] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs6appendEPKcm+0x93) [0x2b0dc7a84ad3] [node023:13101] [10] /home/term/bberger/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libdieselSpray.so(_ZNK4Foam16DimensionedFieldIdNS_7volMeshEE7averageEv+0x52) [0x2b0dc5ca72b2] [node023:13101] [11] /home/term/bberger/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libdieselSpray.so(_ZN4Foam5spray24calculateAmbientPressureEv+0x17) [0x2b0dc5cb1ce7] [node023:13101] [12] /home/term/bberger/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libdieselSpray.so(_ZN4Foam5spray6evolveEv+0x2e2) [0x2b0dc5ca9342] [node023:13101] [13] dieselEngineFoam [0x419fea] [node023:13101] [14] /lib64/libc.so.6(__libc_start_main+0xf4) [0x3916e1d974] [node023:13101] [15] dieselEngineFoam(_ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeE+0xf1) [0x417869] [node023:13101] *** End of error message *** mpirun noticed that job rank 0 with PID 13101 on node node023 exited on signal 11 (Segmentation fault). [node023:13237] *** Process received signal *** [node023:13237] Signal: Segmentation fault (11) [node023:13237] Signal code: (-6) [node023:13237] Failing at address: 0x744000033b5 [node023:13237] [ 0] /lib64/libc.so.6 [0x3916e30280] [node023:13237] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3916e30215] [node023:13237] [ 2] /lib64/libc.so.6 [0x3916e30280] [node023:13237] [ 3] /lib64/libc.so.6 [0x3916e71f65] [node023:13237] [ 4] /lib64/libc.so.6(__libc_malloc+0x7a) [0x3916e7402a] [node023:13237] [ 5] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_Znwm+0x1d) [0x2b11c8e1da7d] [node023:13237] [ 6] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs4_Rep9_S_createEmmRKSaIcE+0x21) [0x2b11c8dfb341] [node023:13237] [ 7] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs4_Rep8_M_cloneERKSaIcEm+0x2b) [0x2b11c8dfbbeb] [node023:13237] [ 8] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs7reserveEm+0x41) [0x2b11c8dfc871] [node023:13237] [ 9] /home/term/bberger/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib64/libstdc++.so.6(_ZNSs6appendEPKcm+0x93) [0x2b11c8dfcad3] [node023:13237] [10] /home/term/bberger/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libdieselSpray.so(_ZNK4Foam16DimensionedFieldIdNS_7volMeshEE7averageEv+0x52) [0x2b11c701f2b2] [node023:13237] [11] /home/term/bberger/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libdieselSpray.so(_ZN4Foam5spray24calculateAmbientPressureEv+0x17) [0x2b11c7029ce7] [node023:13237] [12] /home/term/bberger/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/libdieselSpray.so(_ZN4Foam5spray6evolveEv+0x2e2) [0x2b11c7021342] [node023:13237] [13] dieselEngineFoam [0x419fea] [node023:13237] [14] /lib64/libc.so.6(__libc_start_main+0xf4) [0x3916e1d974] [node023:13237] [15] dieselEngineFoam(_ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeE+0xf1) [0x417869] [node023:13237] *** End of error message *** I've observed the same problem with dieselFoam on the aachenBomb tutorial case. These two applications work on serial. Other applications (icoFoam and engineFoam) work fine on the same cluster. If someone can help me, it would be great. Francesco. |
|
April 30, 2009, 05:34 |
|
#2 |
New Member
Francesco Contino
Join Date: Mar 2009
Posts: 26
Rep Power: 17 |
Here is an input:
I've removed all occurence of the spray inside the application and now it does not give me a segmentation fault anymore. Is it possible that the dieselSpray library could be a problem here? Francesco. |
|
October 25, 2010, 12:38 |
I have similar problems with another solver
|
#3 | |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Quote:
It seems that your problem parallels (pun intended) a similar problems with another solver (http://www.cfd-online.com/Forums/ope...ngianfoam.html) post 13 that I had. Did this error get resolved in your case? Without changing to another version of OF. Dan |
||
June 10, 2011, 10:30 |
check your constant/sprayProperties and change
|
#4 |
New Member
mehdi
Join Date: Jun 2009
Posts: 7
Rep Power: 17 |
check your constant/sprayProperties and change
interpolationSchemes { U cellPointFace; rho cell; p cell; T cell; } to interpolationSchemes { U cell; rho cell; p cell; T cell; } Hope it works mehdi |
|
May 2, 2017, 22:59 |
|
#5 | |
New Member
Qiyan Zhou
Join Date: Sep 2016
Posts: 16
Rep Power: 10 |
Quote:
it really works by the way, do you know the reason why it doesn't work for cellpointface? however, both cell and cellpointface work well in parallel in foam-extend 3.2, when only cell suport the parallel running in foam-extend 4.0, can you give me a hint why this happens? moverover, when i use cell, the caculation always crashes for temperatue lower than 200k at the beginning of injection, i use dieselEngineFoam thanks |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
Segmentation fault with parallel computing | Prad | Main CFD Forum | 0 | December 11, 2008 08:44 |
Segmentation Fault when using class based on KinematicParcel in parallel | gschaider | OpenFOAM Bugs | 1 | August 18, 2008 07:18 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |
Fluent parallel: segmentation fault? | hp | FLUENT | 2 | September 6, 2001 15:18 |