Skip to content

Commit

Permalink
Change the type of mpi communicator in few more files
Browse files Browse the repository at this point in the history
  • Loading branch information
DusanJovic-NOAA committed Feb 7, 2024
1 parent 47d4bff commit bac1994
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion physics/MP/Ferrier_Aligo/mp_fer_hires.F90
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ subroutine mp_fer_hires_init(ncol, nlev, dtp, imp_physics, &
mpicomm, mpirank,mpiroot, &
threads, errmsg, errflg)

USE mpi_f08
USE machine, ONLY : kind_phys
USE MODULE_MP_FER_HIRES, ONLY : FERRIER_INIT_HR
implicit none
Expand All @@ -45,7 +46,7 @@ subroutine mp_fer_hires_init(ncol, nlev, dtp, imp_physics, &
real(kind_phys), intent(in) :: dtp
integer, intent(in) :: imp_physics
integer, intent(in) :: imp_physics_fer_hires
integer, intent(in) :: mpicomm
type(MPI_Comm), intent(in) :: mpicomm
integer, intent(in) :: mpirank
integer, intent(in) :: mpiroot
integer, intent(in) :: threads
Expand Down
4 changes: 2 additions & 2 deletions physics/MP/NSSL/mp_nssl.F90
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ subroutine mp_nssl_init(ncol, nlev, errflg, errmsg, threads, restart, &

use module_mp_nssl_2mom, only: nssl_2mom_init, nssl_2mom_init_const
#ifdef MPI
use mpi
use mpi_f08
#endif

implicit none
Expand All @@ -56,7 +56,7 @@ subroutine mp_nssl_init(ncol, nlev, errflg, errmsg, threads, restart, &

integer, intent(in) :: mpirank
integer, intent(in) :: mpiroot
integer, intent(in) :: mpicomm
type(MPI_Comm), intent(in) :: mpicomm
integer, intent(in) :: imp_physics
integer, intent(in) :: imp_physics_nssl
real(kind_phys), intent(in) :: nssl_cccn, nssl_alphah, nssl_alphahl
Expand Down
2 changes: 1 addition & 1 deletion physics/MP/NSSL/mp_nssl.meta
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
long_name = MPI communicator
units = index
dimensions = ()
type = integer
type = MPI_Comm
intent = in
[qc]
standard_name = cloud_liquid_water_mixing_ratio
Expand Down
3 changes: 2 additions & 1 deletion physics/smoke_dust/rrfs_smoke_wrapper.F90
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

module rrfs_smoke_wrapper

use mpi_f90
use machine , only : kind_phys
use rrfs_smoke_config, only : kemit, dust_opt, seas_opt, do_plumerise, &
addsmoke_flag, plumerisefire_frq, wetdep_ls_opt, &
Expand Down Expand Up @@ -225,7 +226,7 @@ subroutine rrfs_smoke_wrapper_run(im, kte, kme, ktau, dt, garea, land, jdate,
integer :: i, j, k, kp, n
! MPI variables
integer :: mpiid
integer, intent(in) :: mpicomm
type(MPI_comm), intent(in) :: mpicomm
integer, intent(in) :: mpirank
integer, intent(in) :: mpiroot

Expand Down
2 changes: 1 addition & 1 deletion physics/smoke_dust/rrfs_smoke_wrapper.meta
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@
long_name = MPI communicator
units = index
dimensions = ()
type = integer
type = MPI_Comm
intent = in
[mpirank]
standard_name = mpi_rank
Expand Down

0 comments on commit bac1994

Please sign in to comment.