|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Nasrin Sahranavardfard
Join Date: May 2023
Posts: 2
Rep Power: 0 ![]() |
Hi all,
I am using Python and numpy libraries inside OpenFOAM, and I use a Python module to calculate density instead of rho = thermo.rho() whatever we have that in reactingFoam solver. I had to define objects and arguments to make the module readable. for running an OpenFOAM code in parallel, I use the following command "mpirun -np 2 reactingFoam -parallel", but it doesn't work for the PythonFOAM case. and I see the following error, "mpirun noticed that process rank 0 with PID 0 on node BOOK-SK5J7CQPFM exited on signal 11 (Segmentation fault)." did you have any experience with parallel running? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Peter Bevington
Join Date: May 2023
Posts: 10
Rep Power: 2 ![]() |
Have you tried running in serial? Does it only fail when running in parallel?
What does your parallel setup look like? Do you have a decomposeParDict? |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Nasrin Sahranavardfard
Join Date: May 2023
Posts: 2
Rep Power: 0 ![]() |
Thanks pbevington for your reply. I can run it in serial without any problem. For parallel running I do decomposePar first and after that mpirn...but it doesn't work. Maybe it is related to the ranks, but I don't kmow what should I do exactly.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The problem when i use parallel computation for mesh deforming. | Hiroaki Sumikawa | OpenFOAM Running, Solving & CFD | 0 | November 20, 2018 02:58 |
chtMultiRegionSimpleFoam: crash on parallel run | student666 | OpenFOAM Running, Solving & CFD | 3 | April 20, 2017 11:05 |
User fortran to input/output file in a parallel run | doublestrong | CFX | 5 | March 31, 2017 08:15 |
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel | JR22 | OpenFOAM Running, Solving & CFD | 2 | April 19, 2013 16:49 |
Parallel Run on dynamically mounted partition | braennstroem | OpenFOAM Running, Solving & CFD | 14 | October 5, 2010 14:43 |