CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

'Signal: Segmentation fault (11)' while running openFoam in Parallel Processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2023, 04:29
Default 'Signal: Segmentation fault (11)' while running openFoam in Parallel Processing
  #1
New Member
 
Jaymeen Patel
Join Date: Jan 2023
Location: Chennai
Posts: 7
Rep Power: 3
jaymeen721 is on a distinguished road
I am new to openFoam and running a case to learn parallel processing in openFoam.


After decomposePar, it devide the problem amongst the processors.


then when the command: mpirun -np 4 icoFoam -parallel > log &


is applying it does not run the problem and gives error as per log file.


thanks in advance


log file:


[ravi:334317] *** Process received signal ***
[ravi:334317] Signal: Segmentation fault (11)
[ravi:334317] Signal code: Address not mapped (1)
[ravi:334317] Failing at address: (nil)
[ravi:334317] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7fbdaff98090]
[ravi:334317] [ 1] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi/mca_ess_singleton.so(+0x319b)[0x7fbdade8019b]
[ravi:334317] [ 2] /usr/lib/x86_64-linux-gnu/libopen-rte.so.20(orte_init+0x22e)[0x7fbdaedc91de]
[ravi:334317] [ 3] /usr/lib/x86_64-linux-gnu/libmpi.so.20(ompi_mpi_init+0x30e)[0x7fbdaf08427e]
[ravi:334317] [ 4] /usr/lib/x86_64-linux-gnu/libmpi.so.20(PMPI_Init_thread+0x45)[0x7fbdaf0a5405]
[ravi:334317] [ 5] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x2c)[0x7fbdafd48b3c]
[ravi:334317] [ 6] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x8df)[0x7fbdb0762e1f]
[ravi:334317] [ 7] icoFoam(+0x22c25)[0x5579b7a3cc25]
[ravi:334317] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fbdaff79083]
[ravi:334317] [ 9] icoFoam(+0x25c1a)[0x5579b7a3fc1a]
[ravi:334317] *** End of error message ***
[ravi:334318] *** Process received signal ***
[ravi:334318] Signal: Segmentation fault (11)
[ravi:334318] Signal code: Address not mapped (1)
[ravi:334318] Failing at address: (nil)
[ravi:334318] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7f4fe92a9090]
[ravi:334318] [ 1] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi/mca_ess_singleton.so(+0x319b)[0x7f4fe719119b]
[ravi:334318] [ 2] /usr/lib/x86_64-linux-gnu/libopen-rte.so.20(orte_init+0x22e)[0x7f4fe80da1de]
[ravi:334318] [ 3] /usr/lib/x86_64-linux-gnu/libmpi.so.20(ompi_mpi_init+0x30e)[0x7f4fe839527e]
[ravi:334318] [ 4] /usr/lib/x86_64-linux-gnu/libmpi.so.20(PMPI_Init_thread+0x45)[0x7f4fe83b6405]
[ravi:334318] [ 5] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x2c)[0x7f4fe9059b3c]
[ravi:334318] [ 6] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x8df)[0x7f4fe9a73e1f]
[ravi:334318] [ 7] icoFoam(+0x22c25)[0x56223badec25]
[ravi:334318] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f4fe928a083]
[ravi:334318] [ 9] icoFoam(+0x25c1a)[0x56223bae1c1a]
[ravi:334318] *** End of error message ***
[ravi:334316] *** Process received signal ***
[ravi:334316] Signal: Segmentation fault (11)
[ravi:334316] Signal code: Address not mapped (1)
[ravi:334316] Failing at address: (nil)
[ravi:334316] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7f207227f090]
[ravi:334316] [ 1] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi/mca_ess_singleton.so(+0x319b)[0x7f207016719b]
[ravi:334316] [ 2] /usr/lib/x86_64-linux-gnu/libopen-rte.so.20(orte_init+0x22e)[0x7f20710b01de]
[ravi:334316] [ 3] /usr/lib/x86_64-linux-gnu/libmpi.so.20(ompi_mpi_init+0x30e)[0x7f207136b27e]
[ravi:334316] [ 4] /usr/lib/x86_64-linux-gnu/libmpi.so.20(PMPI_Init_thread+0x45)[0x7f207138c405]
[ravi:334316] [ 5] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x2c)[0x7f207202fb3c]
[ravi:334316] [ 6] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x8df)[0x7f2072a49e1f]
[ravi:334316] [ 7] icoFoam(+0x22c25)[0x55d648021c25]
[ravi:334316] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f2072260083]
[ravi:334316] [ 9] icoFoam(+0x25c1a)[0x55d648024c1a]
[ravi:334316] *** End of error message ***
[ravi:334319] *** Process received signal ***
[ravi:334319] Signal: Segmentation fault (11)
[ravi:334319] Signal code: Address not mapped (1)
[ravi:334319] Failing at address: (nil)
[ravi:334319] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7eff2ce47090]
[ravi:334319] [ 1] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi/mca_ess_singleton.so(+0x319b)[0x7eff2ad2f19b]
[ravi:334319] [ 2] /usr/lib/x86_64-linux-gnu/libopen-rte.so.20(orte_init+0x22e)[0x7eff2bc781de]
[ravi:334319] [ 3] /usr/lib/x86_64-linux-gnu/libmpi.so.20(ompi_mpi_init+0x30e)[0x7eff2bf3327e]
[ravi:334319] [ 4] /usr/lib/x86_64-linux-gnu/libmpi.so.20(PMPI_Init_thread+0x45)[0x7eff2bf54405]
[ravi:334319] [ 5] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/openmpi-system/libPstream.so(_ZN4Foam8UPstream4initERiRPPcb+0x2c)[0x7eff2cbf7b3c]
[ravi:334319] [ 6] /opt/openfoam9/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbbb+0x8df)[0x7eff2d611e1f]
[ravi:334319] [ 7] icoFoam(+0x22c25)[0x562cb3ebcc25]
[ravi:334319] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7eff2ce28083]
[ravi:334319] [ 9] icoFoam(+0x25c1a)[0x562cb3ebfc1a]
[ravi:334319] *** End of error message ***

================================================== =================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 0 PID 334316 RUNNING AT ravi
= KILLED BY SIGNAL: 11 (Segmentation fault)
================================================== =================================

================================================== =================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 1 PID 334317 RUNNING AT ravi
= KILLED BY SIGNAL: 11 (Segmentation fault)
================================================== =================================

================================================== =================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 2 PID 334318 RUNNING AT ravi
= KILLED BY SIGNAL: 11 (Segmentation fault)
================================================== =================================

================================================== =================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 3 PID 334319 RUNNING AT ravi
= KILLED BY SIGNAL: 11 (Segmentation fault)
================================================== =================================
jaymeen721 is offline   Reply With Quote

Old   April 10, 2023, 20:17
Default
  #2
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Dear Jaymeen
Did you find out why this error happens?


Thanks,
Farzad
farzadmech is offline   Reply With Quote

Reply

Tags
openfoam 9., parallel processing, segmentation fault: 11


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
mpirun problems: exited on signal 11 (segmentation fault) vaina74 OpenFOAM Running, Solving & CFD 17 March 30, 2023 13:53
Parallelization of a self-compiled boundary condition dalasrevo OpenFOAM Programming & Development 4 August 2, 2022 15:16
Foam-Extend 4.1 Mpi doesn't exit gracefully at the end of parallel run EternalSeekerX OpenFOAM Running, Solving & CFD 0 May 30, 2021 04:04
segmentation fault - parallel running CrisMoreira OpenFOAM Running, Solving & CFD 13 November 1, 2015 17:13
'Segmentation fault: 11' on running application in parallel ulfaslak OpenFOAM Running, Solving & CFD 2 November 27, 2013 08:57


All times are GMT -4. The time now is 06:46.