Good guess for the number of CPU-cores in parallel ricc2 calculations

Started by evgeniy, June 07, 2016, 08:05:26 PM

Previous topic - Next topic

evgeniy

Hello,

I wonder if there is a rule of thumb for the good number of CPU-cores in parallel ricc2 calculations.
Thanks!

Best regards,
Evgeniy

christof.haettig

I'm not sure what you mean with 'good'...

The OpenMP parallelization of ricc2 is typically efficient as long as the number of occupied orbitals is large compared to the number of CPU cores assigned to the calculation.
Large means something like N_occ/N_cores > 10. But you need to decide what has the higher priority for you: high computational efficiency or a short wall time.

Christof

evgeniy

Dear Christof,

Many thanks for your response. Yes, I meant the ratio "number of occupied orbitals" : "number of CPUs".
Does the ratio for the OpenMP parallelization also hold for the MPI one?

Best regards,
Evgeniy

christof.haettig

yes. I does.

Also for MPI runs the number of CPU cores used should more than 10 times larger then the number of active occupied orbitals.  With fewer orbitals per CPU core the parallelization efficients becomes soon rather poor.

Christof