KronLinInv  0.3
Kronecker-product-based linear inversion

◆ para_init()

subroutine parautil::para_init ( )

Definition at line 89 of file ompi_kronlininv.f08.

89 
90  use, intrinsic :: iso_c_binding
91 
92  integer :: mpierr
93 
94  !! start MPI section
95  call mpi_init(mpierr)
96  if (mpierr /= 0) then
97  write(*,*) "call MPI_INIT(mpierr): mpierr /= 0"
98  stop
99  end if
100 
101  call mpi_comm_rank(mpi_comm_world, myrank, mpierr)
102  call mpi_comm_size(mpi_comm_world, numcpus, mpierr)
103  !! create mpi real and complex types
104  call mpi_type_create_f90_real(pdigits,rexprange,dp_real_type,mpierr)
105  !!call MPI_Type_create_f90_complex(pdigits,rexprange,complextype,error )
106 
107  if (myrank==masterrank) print*,"###>>>> Number of tasks:",numcpus
108 
109 
integer, parameter, public masterrank
integer, public, protected myrank
integer, protected dp_real_type
integer, parameter, public rexprange
integer, parameter, public pdigits
integer, public, protected numcpus
Here is the caller graph for this function: