2 ! { dg-options "-O -fipa-pta" }
4 MODULE dbcsr_dist_operations
8 SUBROUTINE dbcsr_mp_new(mp_env
, pgrid
, mp_group
, mynode
, numnodes
, myprow
,&
11 TYPE(dbcsr_mp_obj
), INTENT(OUT
) :: mp_env
12 INTEGER, DIMENSION(0:, 0:), INTENT(IN
) :: pgrid
13 END SUBROUTINE dbcsr_mp_new
16 SUBROUTINE dbcsr_mp_make_env (mp_env
, mp_group
, &
17 nprocs
, pgrid_dims
, error
)
18 TYPE(dbcsr_mp_obj
), INTENT(OUT
) :: mp_env
19 OPTIONAL
:: pgrid_dims
20 INTEGER :: error_handle
, group
, mynode
, &
22 INTEGER, ALLOCATABLE
, DIMENSION(:, :) :: pgrid
23 INTEGER, DIMENSION(2) :: coord
, myploc
, npdims
24 CALL dbcsr_mp_new (mp_env
, pgrid
, group
, mynode
, numnodes
,&
25 myprow
=myploc(1), mypcol
=myploc(2))
26 END SUBROUTINE dbcsr_mp_make_env
27 END MODULE dbcsr_dist_operations