Command line # processors switch

MantiumFlow CFD Software SupportCommand line # processors switch
From MVRC Staff asked 2 years ago

The following line: c:\>WorkingDir\MFlow_MVRC_win 17MO001_windows mvrc 2 Is creating 6 processor threads.

5 Answers
MCAE Support Staff answered 2 years ago

have a look in the default settings ini file there is an option in there for processors and i think the default is 6

MCAE Support Staff answered 2 years ago

This is actually not a bug. Last year´s version of the software did that for convenience reasons, I can include it again if you like.
In the default settings folder you will find the number of CPU cores defined in the default settings file. You can copy paste that line into other template files and change it.

From MVRC Staff answered 2 years ago

I’ll try the templates. But if you ever have to recompile I’d like to have it back if that’s not too much work. With the new solutions time I’ll be using it trying to improve performance for a while I guess.

From MVRC Staff answered 2 years ago

The .ini should look like this?
base_cell_size=0.5
maxSimTime=2500
numCPUs=6
x_slices=21
y_slices=21
z_slices=21

MCAE Support Staff answered 2 years ago

Yes, you have to change numCPUs to 2 or something.
And yes, I will add that feature of setting the number of core directly in the command.