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

[cfMesh] How to run CfMesh in parallel?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Krao
  • 1 Post By Carlo_P

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2019, 06:41
Default How to run CfMesh in parallel?
  #1
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
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
Carlo_P is offline   Reply With Quote

Old   June 27, 2019, 08:57
Default
  #2
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 8
Krao is on a distinguished road
Hi Carlo,

follow this link cfmesh and OMP_NUM_THREADS weirdness

Regards
Krao is offline   Reply With Quote

Old   June 28, 2019, 06:35
Default
  #3
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
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
Carlo_P is offline   Reply With Quote

Old   June 28, 2019, 08:16
Default
  #4
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 8
Krao is on a distinguished road
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
lukasf likes this.
Krao is offline   Reply With Quote

Old   July 2, 2019, 07:01
Default
  #5
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
Thanks Krao,
your process worked perfectly!
Thanks a lot again,
Carlo
Krao likes this.
Carlo_P is offline   Reply With Quote

Reply

Tags
cfmesh, meshing, parallel


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
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 11:35
chtMultiRegionSimpleFoam: crash on parallel run student666 OpenFOAM Running, Solving & CFD 3 April 20, 2017 12:05
User fortran to input/output file in a parallel run doublestrong CFX 5 March 31, 2017 09:15
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel JR22 OpenFOAM Running, Solving & CFD 2 April 19, 2013 17:49
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 15:43


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