Skip to content

Commit 679926a

Browse files
author
Benjamin Wilfong
committed
finish merge and test
1 parent c9a76d2 commit 679926a

File tree

5 files changed

+9
-18
lines changed

5 files changed

+9
-18
lines changed

src/common/m_mpi_common.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ contains
413413
integer, intent(inout) :: var_loc
414414
415415
#ifdef MFC_MPI
416+
integer :: ierr !< Generic flag used to identify and report MPI errors
416417
417418
! Temporary storage variable that holds the reduced sum value
418419
integer :: var_glb
@@ -423,7 +424,6 @@ contains
423424
MPI_SUM, 0, MPI_COMM_WORLD, ierr)
424425
425426
var_loc = var_glb
426-
427427
#endif
428428
429429
end subroutine s_mpi_reduce_int_sum
@@ -1102,7 +1102,7 @@ contains
11021102
11031103
integer :: recon_order !< reconstruction order
11041104
1105-
integer :: i, j !< Generic loop iterators
1105+
integer :: i, j, k !< Generic loop iterators
11061106
integer :: ierr !< Generic flag used to identify and report MPI errors
11071107
11081108
! temp array to store neighbor rank coordinates

src/post_process/m_data_output.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,8 @@ contains
16141614
character(len=64), dimension(num_procs) :: var_names
16151615
integer, dimension(num_procs) :: var_types
16161616
real(wp) :: dummy_data
1617+
1618+
integer :: ierr !< Generic flag used to identify and report database errors
16171619
integer :: i
16181620
16191621
dummy_data = 0._wp

src/post_process/m_mpi_proxy.fpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,12 @@ contains
104104
& 'file_per_process', 'relax', 'cf_wrt', 'igr', &
105105
& 'adv_n', 'ib', 'cfl_adap_dt', 'cfl_const_dt', 'cfl_dt', &
106106
& 'surface_tension', 'hyperelasticity', 'bubbles_lagrange', &
107-
<<<<<<< HEAD
108107
& 'output_partial_domain', 'relativity', 'cont_damage', &
109108
& 'lag_header', 'lag_txt_wrt', 'lag_db_wrt', 'lag_id_wrt', &
110109
& 'lag_pos_wrt', 'lag_pos_prev_wrt', 'lag_vel_wrt', 'lag_rad_wrt', &
111110
& 'lag_rvel_wrt', 'lag_r0_wrt', 'lag_rmax_wrt', 'lag_rmin_wrt', &
112111
& 'lag_dphidt_wrt', 'lag_pres_wrt', 'lag_mv_wrt', 'lag_mg_wrt', &
113112
& 'lag_betaT_wrt', 'lag_betaC_wrt', 'bc_io' ]
114-
=======
115-
& 'output_partial_domain', 'relativity', 'cont_damage', 'bc_io' ]
116-
117-
>>>>>>> upstream/master
118113
call MPI_BCAST(${VAR}$, 1, MPI_LOGICAL, 0, MPI_COMM_WORLD, ierr)
119114
#:endfor
120115

src/pre_process/m_start_up.fpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,8 @@ contains
149149
n_start_old, surface_tension, hyperelasticity, pre_stress, &
150150
elliptic_smoothing, elliptic_smoothing_iters, &
151151
viscous, bubbles_lagrange, bc_x, bc_y, bc_z, num_bc_patches, &
152-
<<<<<<< HEAD
153152
patch_bc, Bx0, relativity, cont_damage, fd_order, lag_params, &
154-
interface_file, normFac, normMag, g0, p0
155-
=======
156-
patch_bc, Bx0, relativity, cont_damage, igr, igr_order
157-
>>>>>>> upstream/master
153+
interface_file, normFac, normMag, g0, p0, igr, igr_order
158154

159155
! Inquiring the status of the pre_process.inp file
160156
file_loc = 'pre_process.inp'

src/simulation/m_mpi_proxy.fpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ contains
9090
9191
integer :: i, j, k
9292
integer :: real_size, int_size, nReal, lag_num_ts
93+
integer :: ierr !< Generic flag used to identify and report MPI errors
9394
9495
call MPI_Pack_size(1, mpi_p, MPI_COMM_WORLD, real_size, ierr)
9596
call MPI_Pack_size(1, MPI_INTEGER, MPI_COMM_WORLD, int_size, ierr)
@@ -140,13 +141,9 @@ contains
140141
& 'wave_speeds', 'avg_state', 'precision', 'bc_x%beg', 'bc_x%end', &
141142
& 'bc_y%beg', 'bc_y%end', 'bc_z%beg', 'bc_z%end', 'fd_order', &
142143
& 'num_probes', 'num_integrals', 'bubble_model', 'thermal', &
143-
<<<<<<< HEAD
144-
& 'R0_type', 'num_source', 'relax_model', 'num_ibs', 'n_start', &
145-
& 'num_bc_patches', 'lag_params%vel_model']
146-
=======
147144
& 'num_source','relax_model','num_ibs','n_start','num_igr_iters', &
148-
& 'num_bc_patches','num_igr_warm_start_iters','adap_dt_max_iters' ]
149-
>>>>>>> upstream/master
145+
& 'num_bc_patches','num_igr_warm_start_iters','adap_dt_max_iters', &
146+
& 'lag_params%vel_model']
150147
call MPI_BCAST(${VAR}$, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
151148
#:endfor
152149
@@ -667,6 +664,7 @@ contains
667664
integer :: position, bub_id, lag_num_ts, tag, partner, send_tag, recv_tag, nbubs, p_recv_size
668665
669666
integer :: i, j, k, l, q
667+
integer :: ierr !< Generic flag used to identify and report MPI errors
670668
671669
do k = nidx(3)%beg, nidx(3)%end
672670
do j = nidx(2)%beg, nidx(2)%end

0 commit comments

Comments
 (0)