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

Loop macros #39

Merged
merged 33 commits into from
Jan 12, 2022
Merged

Loop macros #39

merged 33 commits into from
Jan 12, 2022

Commits on Jan 1, 2022

  1. Configuration menu
    Copy the full SHA
    2b6e4ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7b276d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68fdc98 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    73f3bb4 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. Nice macros for nested loops

    Generate macros for loops over any combination of dimensions, which get
    pre-generated ranges so that each type of loop is parallelized over the
    shared MPI arrays with optimal load balance.
    johnomotani committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    f73b9a2 View commit details
    Browse the repository at this point in the history
  2. Functions to begin each type of 'loop region'

    Only functional difference between the different 'regions' is in
    debugging code, but regions provide structure showing where
    synchronization calls are needed.
    johnomotani committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    e75b4a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1391bfe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    953db39 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    49d26f6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0b40837 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eca2906 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ba8f4a5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1fe8ae2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1d63abd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5583e7d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c9cb05b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f1383b9 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ff5958b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    89283ae View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5a72f13 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f0b2db8 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    7d25846 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    17ef740 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    847b92f View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    cebda1f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    793e9b4 View commit details
    Browse the repository at this point in the history
  23. Remove ranges used for first attempt at shared-memory parallelism

    Now replaced by the new implementation in looping.jl.
    johnomotani committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    a234efc View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    d286b57 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    aa1304b View commit details
    Browse the repository at this point in the history
  26. Pass optimization arguments when building static system image

    If we are precompiling, presumably want an optimized, production build
    so always pass `-O3 --check-bounds=no` to the build process.
    johnomotani committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    e3e787e View commit details
    Browse the repository at this point in the history
  27. Use getter function to parse command line options instead of __init__()

    Parsing command line options in command_line_options.__init__() caused
    problems (command line arguments being ignored) when moment_kinetics was
    compiled into a static system image. [My guess is that __init__() was
    called too early in that case, before ARGS was set up properly.]
    
    Instead, define a getter function get_options(), which parses the
    command line arguments when it is called. This is slightly less
    efficient, but will only be called a few times, and should be more
    robust. Also allows changing the options, e.g. adding/removing "--long"
    from ARGS during a REPL session to change which tests are run.
    johnomotani committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    9bd8224 View commit details
    Browse the repository at this point in the history
  28. Run 'long' tests in parallel CI job

    Also test with 3 processes, as this is now supported by moment_kinetics.
    johnomotani committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    4936618 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    c77e27b View commit details
    Browse the repository at this point in the history