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
Paraview grid parallel sort #299
Merged
stanmoore1
merged 16 commits into
sparta:master
from
tjotaha:paraview_grid_parallel_sort
Nov 29, 2021
Merged
Paraview grid parallel sort #299
stanmoore1
merged 16 commits into
sparta:master
from
tjotaha:paraview_grid_parallel_sort
Nov 29, 2021
Conversation
This file contains 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
Created mpi4py based bucket sort implementation and associated unit tests.
Added API in SpartaGridFile to skip input lines when reading in parallel.
Option to parallel bucket sort can enable file based buckets in addition to memory.
Can either read from existing sorted grid file files or call parallel bucket sort to files if files do not exist.
grid2paraview produces unstructured grid output files on each processor for 2d and 3d input cases.
Use vtkMergePoints point locator to reduce memory usage when creating unstructured grid on each MPI rank.
Fixed bug when creating grid with no flow file input.
Added more status information to output when reading flow files.
Use global ids array to get cell indices during flow file read rather than create additional dictionary.
Removed global ids array when not writing any flow file data.
Added command line options to output only select flow file variables and control use of float or double precision in flow file output cell arrays.
Switched global_ids to use Python dict instead of a vtkDataArray for faster search.
Created README for grid2paraview_cells.py Changed grid2paraview_cells.py to exit with an error message when names given with the --variable option are not found in the flow files.
stanmoore1
approved these changes
Nov 29, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tjotaha!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
Enhancements to the Sparta ParaView tools to allow processing of very large refined grids in parallel.
Author(s)
Thomas Otahal (tjotaha@sandia.gov)
Backward Compatibility
Backwards compatible
Implementation Notes
Provide any relevant details about how the changes are implemented, how correctness was verified, how other features - if any - in SPARTA are affected
Post Submission Checklist
Please check the fields below as they are completed
Further Information, Files, and Links
Put any additional information here, attach relevant text or image files, and URLs to external sites (e.g. DOIs or webpages)