Parallelization in Easyspin functions
Posted: Thu Nov 03, 2016 8:09 am
My question is relevant to a previous (locked) post, "Parallelization and esfit".
Disclaimer: I am entirely new to parallelization and I just want to ascertain whether there is potential benefit for Easyspin. Implementing this will come after I do a lot more reading.
My current problem is running simulations (not fits) for systems with high Hilbert spaces (e.g. polynuclear clusters), and which take a long time to calculate.
E.g. can a simple
Should we expect that increasing e.g. from 4 to 16 cores, will decrease the calculation time to 1/4?
Apologies for asking a something potentially self-evident, but I have no previous experience and ES's documentation is not very detailed on this issue.
Thanks in advance!
Disclaimer: I am entirely new to parallelization and I just want to ascertain whether there is potential benefit for Easyspin. Implementing this will come after I do a lot more reading.
My current problem is running simulations (not fits) for systems with high Hilbert spaces (e.g. polynuclear clusters), and which take a long time to calculate.
E.g. can a simple
pepper
or curry
simulation of a large system (i.e. without for-loops, so no parfor
) benefit simply from being run on a multicore cluster? Does the code need to be enhanced, or can we simply benefit just from adding more cores and workers?Should we expect that increasing e.g. from 4 to 16 cores, will decrease the calculation time to 1/4?
Apologies for asking a something potentially self-evident, but I have no previous experience and ES's documentation is not very detailed on this issue.
Thanks in advance!