Skip to content

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

Description

@farhi

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions