Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models: sqw_spinwave: use Process to distribute over cpu's #187

Open
farhi opened this issue Feb 13, 2019 · 0 comments
Open

Models: sqw_spinwave: use Process to distribute over cpu's #187

farhi opened this issue Feb 13, 2019 · 0 comments

Comments

@farhi
Copy link
Contributor

farhi commented Feb 13, 2019

The Process class should be used in the 4D case to speed-up computation:

  • distribute the 'ie=1:tuu' loop into asynchronous computations into separate directories
  • wait for all processes to end (waitfor)
  • collect and merge data sets

this will then 'emulate' an MPI execution on local-host

NOTE: a simple implementation would use as many threads as the 'tuu' number, independently of the real CPU capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant