xpsi-group / xpsi

X-PSI: X-ray Pulse Simulation and Inference
Other
34 stars 21 forks source link

matched vectors and lowered num energies for faster runs #365

Closed Basdorsman closed 5 months ago

Basdorsman commented 7 months ago

Test run takes 24 minutes on 8 cores

thjsal commented 7 months ago

Perhaps it just becomes slower if using that many cores? At least for me the sampling takes only ~ 1.6 minutes (even with 128 energies) when using one core.

thjsal commented 7 months ago

And dropping the num_energies to 64 brings the sampling time to ~ 1.2 minutes for me. Anyway, these changes are fine to me.