@@ -108,6 +108,7 @@ impure subroutine s_read_grid_data_direction(t_step_dir, direction, cb_array, d_
108
108
109
109
end subroutine s_read_grid_data_direction
110
110
111
+ #ifdef MFC_MPI
111
112
! > Helper subroutine to setup MPI data I/O parameters
112
113
! ! @param data_size Local array size (output)
113
114
! ! @param m_MOK, n_MOK, p_MOK MPI offset kinds for dimensions (output)
@@ -138,6 +139,7 @@ impure subroutine s_setup_mpi_io_params(data_size, m_MOK, n_MOK, p_MOK, WP_MOK,
138
139
NVARS_MOK = int (sys_size, MPI_OFFSET_KIND)
139
140
140
141
end subroutine s_setup_mpi_io_params
142
+ #endif
141
143
142
144
! > Helper subroutine to read IB data files
143
145
! ! @param file_loc_base Base file location for IB data
@@ -148,9 +150,11 @@ impure subroutine s_read_ib_data_files(file_loc_base)
148
150
character (LEN= len_trim (file_loc_base) + 20 ) :: file_loc
149
151
logical :: file_exist
150
152
integer :: ifile, ierr, data_size
153
+
154
+ #ifdef MFC_MPI
151
155
integer , dimension (MPI_STATUS_SIZE) :: status
152
156
integer (KIND= MPI_OFFSET_KIND) :: disp
153
-
157
+ # endif
154
158
if (.not. ib) return
155
159
156
160
if (parallel_io) then
@@ -426,6 +430,7 @@ impure subroutine s_read_parallel_data_files(t_step)
426
430
427
431
end subroutine s_read_parallel_data_files
428
432
433
+ #ifdef MFC_MPI
429
434
! > Helper subroutine to read parallel conservative variable data
430
435
! ! @param t_step Current time-step
431
436
! ! @param m_MOK, n_MOK, p_MOK MPI offset kinds for dimensions
@@ -436,8 +441,6 @@ impure subroutine s_read_parallel_conservative_data(t_step, m_MOK, n_MOK, p_MOK,
436
441
integer (KIND= MPI_OFFSET_KIND), intent (inout ) :: m_MOK, n_MOK, p_MOK
437
442
integer (KIND= MPI_OFFSET_KIND), intent (inout ) :: WP_MOK, MOK, str_MOK, NVARS_MOK
438
443
439
- #ifdef MFC_MPI
440
-
441
444
integer :: ifile, ierr, data_size
442
445
integer , dimension (MPI_STATUS_SIZE) :: status
443
446
integer (KIND= MPI_OFFSET_KIND) :: disp, var_MOK
@@ -512,10 +515,8 @@ impure subroutine s_read_parallel_conservative_data(t_step, m_MOK, n_MOK, p_MOK,
512
515
call s_mpi_abort(' File ' // trim (file_loc)// ' is missing. Exiting.' )
513
516
end if
514
517
end if
515
-
516
- #endif
517
-
518
518
end subroutine s_read_parallel_conservative_data
519
+ #endif
519
520
520
521
! > Computation of parameters, allocation procedures, and/or
521
522
! ! any other tasks needed to properly setup the module
0 commit comments