Running with more cpus

Hello Everyone,
I´m pretty fresh about Calculix. I want to know whether there´s a way to run a simulation with more CPUS in Calculix? Thanks a lot!

Current Info:
Using up to 1 cpu(s) for the stress calculation.

Using up to 1 cpu(s) for the symmetric stiffness/mass contributions.

Factoring the system of equations using the unsymmetric spooles solver
Using 1 cpu for spooles.

Hello, if you have compiled Calculix properly, you can use the command export OMP_NUM_THREADS=4 to run it on 4 CPUS

1 Like

FredXG may also want to take a look at using Prepomax as the pre and post processor. In the tools->settings->calculix menu you can change the number of processors to use. I have used it with 1, 8, 16 and 64. with 16 CPU’s my home machine seems well balanced (as in, it uses lots of CPU and ram all the time until the problem is completed). On a work machine with 64 cores, the machine seemed to resolve problem sections quickly, but with a lot of idle time in between. As of yet, I have no idea what to change to make the machine keep using processors and be more productive. I recall a paper a few years ago that showed CPU # as a way to accelerate FEA to be a diminishing returns solution after about 8 CPUs. But like I said, 16 cores seems to be just peachy.

1 Like

Assuming you are in Windows, you can also set the Enviroment variables, so there are set all the time in your computer: