running optistruct job on multiple cpu's

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello Guys,

I am trying to run my optistruct job on a linux machine with multiple cores. i would like to utilize all my computers computing power. I am trying to run the job with -nproc (and choosing the number of CPU's the job has to use) as an additional command while starting my optistruct job.

But irrespective of the number I give, my job runs only on one CPU, this I check by using 'top' while the calculation is running.

i.e in the shell ' optistruct *.fem -analysis -nproc 3'

& then

'top'

Does any one have a solution for this? or am I making an error in the command or in understanding how the processors are used by optistruct?

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2011

    Hello Guys,

    I am trying to run my optistruct job on a linux machine with multiple cores. i would like to utilize all my computers computing power. I am trying to run the job with -nproc (and choosing the number of CPU's the job has to use) as an additional command while starting my optistruct job.

    But irrespective of the number I give, my job runs only on one CPU, this I check by using 'top' while the calculation is running.

    i.e in the shell ' optistruct *.fem -analysis -nproc 3'

    & then

    'top'

    Does any one have a solution for this? or am I making an error in the command or in understanding how the processors are used by optistruct?

    do you have the latest solvers update?

    with the method you use, it just computes using smp logic (shared memory parallel), but it is possible for version 10 and version 11 in linux to use spmd (single process multiple domain) method. maybe you can try that one. but it seems correct that the commands you use.