Skip to content

Commit 6448b37

Browse files
committed
fix no mpi test
1 parent 9adc5f8 commit 6448b37

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/post_process/m_global_parameters.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ contains
474474
integer :: i, j, fac
475475

476476
! Setting m_root equal to m in the case of a 1D serial simulation
477-
if (num_procs > 1 .and. n == 0) m_root = m_glb
477+
if (n == 0) m_root = m_glb
478478

479479
! Gamma/Pi_inf Model
480480
if (model_eqns == 1) then

src/simulation/m_mpi_proxy.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,11 @@ contains
429429
430430
subroutine s_finalize_mpi_proxy_module()
431431
432+
#ifdef MFC_MPI
432433
if (ib) then
433434
@:DEALLOCATE(ib_buff_send, ib_buff_recv)
434435
end if
436+
#endif
435437
436438
end subroutine s_finalize_mpi_proxy_module
437439

0 commit comments

Comments
 (0)