Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/common/m_variables_conversion.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,11 @@ contains
#ifdef MFC_DEBUG
if (disc < 0._wp) then
print *, 'rho, c, Bx, By, Bz, h, term, disc:', rho, c, B(1), B(2), B(3), h, term, disc
! s_mpi_abort is a host routine and cannot be called from device code
! (this is a GPU routine); on GPU builds, emit the diagnostic print only.
#ifndef MFC_GPU
call s_mpi_abort('Error: negative discriminant in s_compute_fast_magnetosonic_speed')
#endif
Comment thread
sbryngelson marked this conversation as resolved.
end if
#endif

Expand Down
Loading