CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [cfMesh] How to run CfMesh in parallel? (https://www.cfd-online.com/Forums/openfoam-community-contributions/218624-how-run-cfmesh-parallel.html)

Carlo_P June 27, 2019 05:41

How to run CfMesh in parallel?
 
Dear all,

I'm trying to use CfMesh in parallel.
I'm not an able user of Linux.
Can someone explain me step by step every single command?


I tryed with cartesianMesh, but I have a error:


attempt to run parallel on 1 processor.


Thanks a lot,
Carlo

Krao June 27, 2019 07:57

Hi Carlo,

follow this link https://www.cfd-online.com/Forums/op...weirdness.html

Regards

Carlo_P June 28, 2019 05:35

Thanks Krao for the link.
I saw also before it, but I didn't understand where I have to modify OMP_NUM_THREADS .


Should I also decompose the case before?
Thanks a lot,
Carlo

Krao June 28, 2019 07:16

Hi Carlo,

Open the terminal and go to the directory in which your mesh is placed. Before running the command cartesianMesh or whichever you would like to run, enter 'bash' and press 'enter'. After this, type for example, 'export OMP_NUM_THREADS=4,4'. Use the system monitor to know, whether the application utilising all the cores. Also, you would see change in total meshing time. I think it is not required to decompose. It is only required to run the application.

Krao

Carlo_P July 2, 2019 06:01

Thanks Krao,
your process worked perfectly!
Thanks a lot again,
Carlo


All times are GMT -4. The time now is 10:32.