lanl / phoebus

Phifty One Ergs Blows Up A Star
BSD 3-Clause "New" or "Revised" License
46 stars 2 forks source link

Fix No-MPI Builds #36

Closed brryan closed 3 years ago

brryan commented 3 years ago

I forgot to guard some radiation code with an MPI_PARALLEL which broke builds when MPI is disabled. Here is the fix. Thanks to @maxpkatz for identifying this.

In the long run we may not need this -- there is already a PR underway to at least partially get this logic into the Swarm class itself, and parthenon already handles the MPI_PARALLEL guards correctly.