How many cores does Code_Saturne use by default?

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

How many cores does Code_Saturne use by default?

Post by Mohammad »

Hello,
I'm using Code_Saturne 5.0 with the following system specs.

Code: Select all

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  2
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               60
Model name:          Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz
Stepping:            3
CPU MHz:             2934.614
CPU max MHz:         3200.0000
CPU min MHz:         800.0000
BogoMIPS:            4389.69
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            6144K
NUMA node0 CPU(s):   0-7
As you see, it has 8 cores.

But when running a case with Code_Saturne it says:
Single processor Code_Saturne simulation.
Does this mean it only uses one of the cores?

How can I force Code_Saturne to use maximum possible cores or threads?
Yvan Fournier
Posts: 4077
Joined: Mon Feb 20, 2012 3:25 pm

Re: How many cores does Code_Saturne use by default?

Post by Yvan Fournier »

Hello,

You can select this in the GUI in the same page you are starting the simulation from.

Best regards,

Yvan
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Re: How many cores does Code_Saturne use by default?

Post by Mohammad »

Thanks. But I don't use GUI. Can you tell me how to do it without GUI? Thanks.
Yvan Fournier
Posts: 4077
Joined: Mon Feb 20, 2012 3:25 pm

Re: How many cores does Code_Saturne use by default?

Post by Yvan Fournier »

Hello,

I recommend using the GUI. If you cannot use it for some reason, you will need to spend more time searching for information.

In any case, if you are using a supported batch system, the post-install step should help.

Otherwise, "code_saturne run --help" will provide the options.

Depending on your processor's memory bandwith, you might or might not get scalability to the full processor, so you need to run at least a few performance comparisons.

Regards,

Yvan
Post Reply