10#include "../base/base_uses.f90"
13 USE dlaf_fortran,
ONLY: dlaf_create_grid_from_blacs, &
23 CHARACTER(len=*),
PARAMETER,
PRIVATE :: moduleN =
'cp_dlaf_utils_api'
37 CHARACTER(len=*),
PARAMETER :: routinen =
'cp_dlaf_initialize'
41 CALL timeset(routinen, handle)
43 CALL dlaf_initialize()
55 CHARACTER(len=*),
PARAMETER :: routinen =
'cp_dlaf_finalize'
59 CALL timeset(routinen, handle)
74 INTEGER,
INTENT(IN) :: blacs_context
76 CHARACTER(len=*),
PARAMETER :: routinen =
'cp_dlaf_create_grid'
80 CALL timeset(routinen, handle)
82 CALL dlaf_create_grid_from_blacs(blacs_context)
84 mark_used(blacs_context)
85 cpabort(
"CP2K compiled without the DLA-Future library.")
98 INTEGER,
INTENT(IN) :: blacs_context
100 CHARACTER(len=*),
PARAMETER :: routinen =
'cp_dlaf_free_grid'
104 CALL timeset(routinen, handle)
106 CALL dlaf_free_grid(blacs_context)
108 mark_used(blacs_context)
109 cpabort(
"CP2K compiled without the DLA-Future library.")
111 CALL timestop(handle)
subroutine, public cp_dlaf_create_grid(blacs_context)
Create DLA-Future grid from BLACS context.
subroutine, public cp_dlaf_finalize()
Finalize DLA-Future and pika runtime.
subroutine, public cp_dlaf_free_grid(blacs_context)
Free DLA-Future grid corresponding to BLACS context.
subroutine, public cp_dlaf_initialize()
Initialize DLA-Future and pika runtime.