Skip to content

[WIP] Add runtime option to print out data on the memory usage for each species each time step. #3401

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

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

atmyers
Copy link
Member

@atmyers atmyers commented Sep 14, 2022

Requires AMReX PR 2949: AMReX-Codes/amrex#2949

Sample output:

STEP 20 starts ...
Memory usage data for species electrons_h:
Required to store particles:
ParticleContainer spread across MPI nodes - bytes (num particles): [Min: 311874496 (4873039), Max: 312337728 (4880277), Total: 1248577984 (19509031)]
Actual vector capacity:
ParticleContainer spread across MPI nodes - bytes: [Min: 340157312, Max: 340157312, Total: 1360629248]

Memory usage data for species electrons_c:
Required to store particles:
ParticleContainer spread across MPI nodes - bytes (num particles): [Min: 874304320 (13661005), Max: 875307328 (13676677), Total: 3498921280 (54670645)]
Actual vector capacity:
ParticleContainer spread across MPI nodes - bytes: [Min: 1148030976, Max: 1148030976, Total: 4592123904]

Memory usage data for species electrons_n:
Required to store particles:
ParticleContainer spread across MPI nodes - bytes (num particles): [Min: 252427200 (3944175), Max: 252742336 (3949099), Total: 1010237952 (15784968)]
Actual vector capacity:
ParticleContainer spread across MPI nodes - bytes: [Min: 340157312, Max: 340157312, Total: 1360629248]

Memory usage data for species hydrogen:
Required to store particles:
ParticleContainer spread across MPI nodes - bytes (num particles): [Min: 432537600 (4915200), Max: 432537600 (4915200), Total: 1730150400 (19660800)]
Actual vector capacity:
ParticleContainer spread across MPI nodes - bytes: [Min: 467716304, Max: 467716304, Total: 1870865216]

Memory usage data for species carbon:
Required to store particles:
ParticleContainer spread across MPI nodes - bytes (num particles): [Min: 226099200 (2457600), Max: 226099200 (2457600), Total: 904396800 (9830400)]
Actual vector capacity:
ParticleContainer spread across MPI nodes - bytes: [Min: 324186776, Max: 324186776, Total: 1296747104]

Memory usage data for species nitrogen:
Required to store particles:
ParticleContainer spread across MPI nodes - bytes (num particles): [Min: 55771136 (606208), Max: 55771136 (606208), Total: 223084544 (2424832)]
Actual vector capacity:
ParticleContainer spread across MPI nodes - bytes: [Min: 64036884, Max: 64036884, Total: 256147536]

Total bytes across all species required to store particles:
[Min: 2153013952, Max: 2154795328, Total: 8615368960]
Actual vector capacity (bytes):
[Min: 2684285564, Max: 2684285564, Total: 10737142256]

@atmyers atmyers requested review from ax3l, n01r and RemiLehe September 14, 2022 20:19
@ax3l ax3l added hackathon Let's address this topic during the GPU hackathon component: diagnostics all types of outputs labels Sep 14, 2022
@ax3l ax3l changed the title Add runtime option to print out data on the memory usage for each species each time step. [WIP] Add runtime option to print out data on the memory usage for each species each time step. Sep 20, 2022
@ax3l ax3l changed the title [WIP] Add runtime option to print out data on the memory usage for each species each time step. Add runtime option to print out data on the memory usage for each species each time step. Sep 20, 2022
@ax3l ax3l self-assigned this Sep 20, 2022
@ax3l
Copy link
Member

ax3l commented Oct 2, 2022

@atmyers please feel free to update the PR with development via rebase or merge on Monday :)

@ax3l
Copy link
Member

ax3l commented Oct 4, 2022

Discussed today: let's write this in a table/file for easier processing.

@ax3l ax3l changed the title Add runtime option to print out data on the memory usage for each species each time step. [WIP] Add runtime option to print out data on the memory usage for each species each time step. Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: diagnostics all types of outputs hackathon Let's address this topic during the GPU hackathon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants