CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Segmentation fault when running dieselFoam or dieselEngineFoam in parallel

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2009, 03:19
Default Segmentation fault when running dieselFoam or dieselEngineFoam in parallel
  #1
New Member
 
Francesco Contino
Join Date: Mar 2009
Posts: 26
Rep Power: 17
francesco is on a distinguished road
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.
francesco is offline   Reply With Quote

Old   April 30, 2009, 04:34
Default
  #2
New Member
 
Francesco Contino
Join Date: Mar 2009
Posts: 26
Rep Power: 17
francesco is on a distinguished road
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.
francesco is offline   Reply With Quote

Old   October 25, 2010, 11:38
Default 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
chegdan will become famous soon enoughchegdan will become famous soon enough
Quote:
Originally Posted by francesco View Post
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.

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
chegdan is offline   Reply With Quote

Old   June 10, 2011, 09:30
Default check your constant/sprayProperties and change
  #4
New Member
 
mehdi
Join Date: Jun 2009
Posts: 7
Rep Power: 17
mehdi-combustion is on a distinguished road
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
mehdi-combustion is offline   Reply With Quote

Old   May 2, 2017, 21:59
Default
  #5
New Member
 
Qiyan Zhou
Join Date: Sep 2016
Posts: 16
Rep Power: 10
zhouqy1994 is on a distinguished road
Quote:
Originally Posted by mehdi-combustion View Post
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
hi mehdi

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
zhouqy1994 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
Segmentation fault with parallel computing Prad Main CFD Forum 0 December 11, 2008 07:44
Segmentation Fault when using class based on KinematicParcel in parallel gschaider OpenFOAM Bugs 1 August 18, 2008 06:18
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
Fluent parallel: segmentation fault? hp FLUENT 2 September 6, 2001 14:18


All times are GMT -4. The time now is 20:31.