-
Notifications
You must be signed in to change notification settings - Fork 111
MHD & RMHD #809
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
MHD & RMHD #809
Conversation
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.
i left some requests for changes. overall very very good! as usual. exciting new stuff. can you update the README for the new capability and, if you have it, maybe we can even put an image in the readme as well.
@ChrisZYJ, I realized I've saddled you with a somewhat thankless task -- I hope it isn't so tough. I appreciate it very much, regardless. You can also look at the benchmarking logs to see how any of your code changes affected the |
FYI the Phoenix runners are down right now -- hopefully back up soon. |
@sbryngelson Thanks for the info! I think all tests should pass. I've updated my new features with the requested changes while keeping the code simple and readable:
Apparently, removing |
@ChrisZYJ I agree, we should separate concerns. |
@ChrisZYJ This looks good but I want to wait until Phoenix is back online for those runners (a day or two, probably). Also I think you may have a case optimization problem? I can't remember why the Phoenix benchmark CI failed but if you download the logs you can check. |
@sbryngelson You are right! Sorry that I kept thinking it was the runner's problem - really didn't expect it to work only on GPU without case-opt. In case anyone runs into this in the future: |
Description
Type of change
Scope
How Has This Been Tested?
examples/1D_dai_woodward
andexamples/1D_dai_woodward_hlld
)Miyoshi, T. & Kusano, K. (2005). A multi-state HLL approximate Riemann solver for ideal magnetohydrodynamics.
examples/2D_orszag_tang
)Orszag, S. A. & Tang, C.-M. (1979). Small-scale structure of two-dimensional magnetohydrodynamic turbulence.
orszag_tang_1k_t.0.66.mp4
examples/1D_brio_wu_rmhd
)Mignone, A. & Bodo, G. (2006). An HLLC Riemann solver for relativistic flows – II. Magnetohydrodynamics.
examples/2D_shock_cloud_rmhd
)Mignone, A. & Bodo, G. (2006). An HLLC Riemann solver for relativistic flows – II. Magnetohydrodynamics.
shock_cloud_rmhd.mp4
Performance
Checklist
docs/
)examples/
that demonstrate my new feature performing as expected.They run to completion and demonstrate "interesting physics"
./mfc.sh format
before committing my codeIf your code changes any code source files (anything in
src/simulation
)To make sure the code is performing as expected on GPU devices, I have:
nvtx
ranges so that they can be identified in profiles./mfc.sh run XXXX --gpu -t simulation --nsys
, and have attached the output file (.nsys-rep
) and plain text results to this PR./mfc.sh run XXXX --gpu -t simulation --omniperf
, and have attached the output file and plain text results to this PR.