Home
Robert 'Bob' Caddy
Cancel

Code Style & Angled Linear Waves

Code Style in Cholla We spent quite a bit of time this week discussing what format and naming scheme we want to adopt for Cholla. This is part of our broader effort to adopt more scientific softwa...

Linear Waves and Best Practices

Linear Wave Debugging I finished linear wave tests, they needed a bit of polishing. With some help I discovered that the perturbations I was seeing in the Alfven wave tests weren’t an issue since ...

MHD Linear Waves Tests

Linear Waves I need to add MHD linear wave tests and initial conditions at some point so I decided to do it this week to help with debugging. I already added support for generalized linear wave in...

MHD Test Problems

Summary This is a repository of some MHD test problems. Most of them are taken from Athena++ and Gardiner & Stone 2008 Linear Waves I’ll be using the wave tests from Athena++ which are detai...

Hydro vs. MHD in Hydro Problems

Debugging The hydro tests weren’t working anymore in MHD so I set about working on fixing them. I started with the simplier sound wave test. After some digging, the new Arm debugger was very helpf...

Occupancy & MHD Debugging

Occupancy With the help of some folks at NVIDIA I finally figured out the issue I was running into with our reductions. It turns out that the reduction kernels required more registers in debug mod...

Compute Sanitizer & Device Atomics

NVIDIA Compute Sanitizer PR #196 I got the NVIDIA Compute Sanitizer working with Cholla this week to help diagnose any issues in my code or Cholla in general. It found some problems that I think ...

First Paper & Miscellanea

First Paper The paper from my master’s was published this week in Publications of the Astronomical Society of the Pacific, Volume 134, Number 1039: Optical Time-series Photometry of the Symbiotic ...

Arm DDT and MHD Debugging

Arm DDT With help some nice folks at Arm I figured out how to display device arrays in host code, see this post for details. In preparation for presenting on Arm Forge next week I submitted two P...

Arm DDT with GPUs

Debugging GPU Codes with Arm DDT See the Arm Forge User Guide for all the info, this is just a place for some notes and tips Use -g -O0 to compile host code and -g -G -cudart shared to compile...