pace-neutrons / Horace

Horace is a suite of programs for the visualization and analysis of large datasets from time-of-flight neutron inelastic scattering spectrometers.
https://pace-neutrons.github.io/Horace/stable/
GNU General Public License v3.0
7 stars 4 forks source link

Parallel issue with SpinW #1718

Open oerc0122 opened 2 months ago

oerc0122 commented 2 months ago

SpinW fails in parallel due to SpinW model objects not bein correctly broadcasted in the fitting interface calls.

This is not affecting the efficacy of SpinW in principle as it has native threading support and we aren't running on distributed parallel machines, as such a serial job will still exploit parallelism in SpinW.

It may be the case the solution is to run the SpinW in (threaded) serial exploiting SpinW's parallelism and fit in parallel in Horace.

It may be that the interface should be reworked to allow parallel construction/distribution of the child SpinW objects to the relevant nodes.