|
[Sponsors] |
October 19, 2016, 06:28 |
on single core
|
#1 |
Member
benoit paillard
Join Date: Mar 2010
Posts: 96
Rep Power: 16 |
Hi all,
I'm trying to use cfMesh for automatic optimization, but unfortunately, it automatically uses all the cores on my machine. Do you know if there is a way to force it to use only one core ? Apart from that it is really working great even on crazy geometries ! |
|
October 25, 2016, 17:38 |
|
#2 | |
Senior Member
|
Quote:
The number of active cores is controlled by the OMP_NUM_THREADS variable. If you set export OMP_NUM_THREADS=1, the mesher will use only one core.
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
||
June 16, 2021, 03:58 |
|
#3 | |
New Member
Daniyal Altaf Baloch
Join Date: May 2021
Location: Milan
Posts: 2
Rep Power: 0 |
Quote:
My query is actually the opposite. I ran "cartesianMesh" on my 4 core 17-7700HQ and openFoam 7 and it used all 4 physical cores and that's great for me. Now I am using the same command on a workstation PC with a 32 core AMD ryzen Threadripper 2990WX-32 and openFoam 18.10. But this time it is only using 1 core. Since you mentioned setting OMP_NUM_THREADS, Could you please explicitly explain where and in what sequence to write the commands that are needed to enable multicore usage with cfMesh command "cartesianMesh" Thanks. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Case works on Single Core, but not Multi Core | Verse | OpenFOAM | 0 | August 29, 2016 09:44 |
solving a conduction problem in FLUENT using UDF | Avin2407 | Fluent UDF and Scheme Programming | 1 | March 13, 2015 02:02 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
error when running in parallel, but succeed in a single core. | sharonyue | OpenFOAM Running, Solving & CFD | 1 | December 12, 2014 13:24 |
Single Core vs. Multi Core Issue | Traction | FLUENT | 2 | May 14, 2014 13:52 |