-
Notifications
You must be signed in to change notification settings - Fork 226
Add load balancing test #2561
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
Merged
ax3l
merged 30 commits into
BLAST-WarpX:development
from
ModernElectron:kzhu/load_balance_test
Dec 14, 2021
Merged
Add load balancing test #2561
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b5b8220
Added embedded_circle test
KZhu-ME d953d1b
Add embedded_circle test files
KZhu-ME eb8ef23
Removed diag files
KZhu-ME 745b50d
removed PICMI input file
KZhu-ME 187b99e
Update to use default regression analysis
KZhu-ME 5a88ce1
Added line breaks for spacing
KZhu-ME 02f1262
Added description
KZhu-ME 1777a90
Merge branch 'development' of github.com:ECP-WarpX/WarpX into kzhu/ci…
KZhu-ME 88870bf
Fixed benchmark file
KZhu-ME fb90dfc
Merge branch 'development' of github.com:ECP-WarpX/WarpX into kzhu/ci…
KZhu-ME b9ae1e8
Added load balancing to test
KZhu-ME a7609d8
Commented out load_balancing portion of test.
KZhu-ME 22000a3
Add load balancing to embedded_boundary test
KZhu-ME 2e162f4
Merge branch 'development' of github.com:ECP-WarpX/WarpX into kzhu/lo…
KZhu-ME 1911271
Updated checksum
KZhu-ME 6867880
Added embedded_circle test
KZhu-ME e732d51
Add embedded_circle test files
KZhu-ME f4a7d4e
removed PICMI input file
KZhu-ME 3113631
Update to use default regression analysis
KZhu-ME 5f675df
Added load balancing to test
KZhu-ME 638137e
Commented out load_balancing portion of test.
KZhu-ME e0d86ff
Add load balancing to embedded_boundary test
KZhu-ME db52aa1
added analysis.py file in order to relax tolerance on test
roelof-groenewald 9942836
Ensure that timers are used to update load balancing algorithm
roelof-groenewald 386c8f8
Merge branch 'kzhu/load_balance_test' of github.com:ModernElectron/Wa…
KZhu-ME da892a5
Updated test name retrieval
KZhu-ME 00ffe51
Merge branch 'development' of github.com:ECP-WarpX/WarpX into kzhu/lo…
KZhu-ME 9613e1f
Merge branch 'development' of github.com:ECP-WarpX/WarpX into kzhu/lo…
KZhu-ME 5359520
Merge branch 'development' of github.com:ECP-WarpX/WarpX into kzhu/lo…
KZhu-ME d3846e5
Merge branch 'development' of github.com:ECP-WarpX/WarpX into kzhu/lo…
KZhu-ME File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| #! /usr/bin/env python | ||
|
|
||
| import os | ||
| import sys | ||
| sys.path.insert(1, '../../../../warpx/Regression/Checksum/') | ||
| import checksumAPI | ||
|
|
||
| # this will be the name of the plot file | ||
| fn = sys.argv[1] | ||
|
|
||
| # Get name of the test | ||
| test_name = os.path.split(os.getcwd())[1] | ||
|
|
||
| # Run checksum regression test | ||
| checksumAPI.evaluate_checksum(test_name, fn, rtol=1e-2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,27 @@ | ||
| { | ||
| "ar_ions": { | ||
| "particle_cpu": 31744.0, | ||
| "particle_id": 3220043046.0, | ||
| "particle_momentum_x": 2.673023392216285e-18, | ||
| "particle_momentum_y": 2.6733267061000188e-18, | ||
| "particle_momentum_z": 2.667060599749979e-18, | ||
| "particle_position_x": 3.1743018682048367, | ||
| "particle_position_y": 3.1742959462007088, | ||
| "particle_weight": 988093872.0703125 | ||
| "particle_cpu": 31743.0, | ||
| "particle_id": 3219974926.0, | ||
| "particle_momentum_x": 2.673080656628151e-18, | ||
| "particle_momentum_y": 2.6734826129917346e-18, | ||
| "particle_momentum_z": 2.6677137825404595e-18, | ||
| "particle_position_x": 3.174244144020173, | ||
| "particle_position_y": 3.1742742523212426, | ||
| "particle_weight": 988078308.1054688 | ||
| }, | ||
| "electrons": { | ||
| "particle_cpu": 30724.0, | ||
| "particle_id": 1040144086.0, | ||
| "particle_momentum_x": 2.991377867057318e-20, | ||
| "particle_momentum_y": 3.014091741533624e-20, | ||
| "particle_momentum_z": 3.022811783218703e-20, | ||
| "particle_position_x": 3.0722092755241888, | ||
| "particle_position_y": 3.072232836690298, | ||
| "particle_weight": 956467895.5078125 | ||
| "particle_cpu": 30723.0, | ||
| "particle_id": 1040042009.0, | ||
| "particle_momentum_x": 2.99271246971674e-20, | ||
| "particle_momentum_y": 3.014893117483374e-20, | ||
| "particle_momentum_z": 3.016015662279529e-20, | ||
| "particle_position_x": 3.072306870914145, | ||
| "particle_position_y": 3.072501289015288, | ||
| "particle_weight": 956421203.6132812 | ||
| }, | ||
| "lev=0": { | ||
| "phi": 56898.52308944405, | ||
| "rho_ar_ions": 257.80642870099507, | ||
| "rho_electrons": 250.17704417223325 | ||
| "phi": 56898.115832092146, | ||
| "rho_ar_ions": 257.8023434408326, | ||
| "rho_electrons": 250.15834020610757 | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.