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

Change parallelization strategy #11

Merged
merged 7 commits into from
Sep 9, 2021
Merged

Conversation

Sinclert
Copy link
Member

@Sinclert Sinclert commented Sep 8, 2021

This PR addresses issue #8 by changing the parallelization strategy:

  • From: split num_jobs among M benchmarks.
  • To: assign num_procs to each of the M benchmarks.

In order to perform this change of parallelization approach, we are using a new MadGraph card (me5_configuration.txt), which exposes a couple of high-level parameters useful for our use case (documentation reference):

  • run_mode: specifying the mode to run MG processes:

    • 0: single-core.
    • 1: remote-cluster.
    • 2: multi-core.
  • nb_core: specifying the number of cores in the multi-core mode (or maximum available by setting None).


The complete list of changes was drafted by @irinaespejo in this comment.

Please, let me know if there is something missing.

@Sinclert Sinclert added the enhancement New feature or request label Sep 8, 2021
@Sinclert Sinclert force-pushed the mg-process-parallelization branch from 6712361 to 577071b Compare September 8, 2021 10:06
@Sinclert Sinclert merged commit 676eae9 into master Sep 9, 2021
@Sinclert Sinclert deleted the mg-process-parallelization branch September 9, 2021 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants