Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2021-02-25 10:56:06

statist
Member
From: Russia, St.-Petersburg
Registered: 2020-11-16
Posts: 17

Number of processors.

Hello! I new user in Code_Aster. I have a simple question. How can I change the number of processors involved in the calculation?
In Salome_Meca, I cannot change that.


Attachments:
fefe.png, Size: 21.04 KiB, Downloads: 149

Offline

#2 2021-02-25 16:25:01

mf
Member
Registered: 2019-06-18
Posts: 332

Re: Number of processors.

Hello,

the number of MPI-processes may only be set in the MPI-version of Code_Aster. Either you compile it yourself or you may also use a docker of the MPI-version. More details on the docker-version are described in post (remove space, not allowed to post links):

h ttps://www.code-aster.org/forum2/viewtopic.php?id=23453

In the sequential version, you may set the number of OpenMP-processes ('Number of threads' in SM), on a single CPU-system I recommend you set it to number_of_cores/2 (and also turn HT off),

Mario.

Last edited by mf (2021-02-25 16:33:36)

Offline

#3 2021-02-25 20:58:31

statist
Member
From: Russia, St.-Petersburg
Registered: 2020-11-16
Posts: 17

Re: Number of processors.

Thank you very much, Mario! I will deal with the information.
I also heard that you can turn on the number of cores through the ASTK module. Does this also work?

Offline

#4 2021-02-25 21:18:39

mf
Member
Registered: 2019-06-18
Posts: 332

Re: Number of processors.

Yes, of course. The variable names are the same as in CA, they are in the 'options'-menu. Ultimately, ASTK creates the .export file with these variables in it:

ncpus .... number of OpenMP-processes
mpi_ncpu... number of MPI-processes

There is much more to it, though: h ttps://www.code-aster.org/V2/doc/default/en/man_u/u2/u2.08.06.pdf

Mario.


Attachments:
Bildschirmfoto vom 2021-02-25 21-11-09.png, Size: 1.06 MiB, Downloads: 134

Offline

#5 2021-02-26 11:36:00

statist
Member
From: Russia, St.-Petersburg
Registered: 2020-11-16
Posts: 17

Re: Number of processors.

Very nice. I will continue to understand the topic. Thanks again, Mario, for your links!

Offline