Skip to content

Parallelise random walk #3

Description

@ignasiialemany

The code is optimised to run in serial, but if a large number of walkers and/or time steps is used the runtime can be a limiting factor. Splitting walkers between cores/threads allows for faster overall execution but requires refactoring of the code.

  • Implement parallel random number generation using numpy to ensure reproducibility irrespective of parallelisation
  • API changes to the run and one_step methods only via optional arguments (kwargs) that default to serial execution

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions