drive_engine Interface

interface
public module subroutine drive_engine(keys, nrows, proc, perm, threads)

Arguments

Type IntentOptional Attributes Name
type(sort_key_buf), intent(in), target :: keys(:)

the keys, primary first.

integer(kind=int64), intent(in) :: nrows

rows each key describes.

character(len=*), intent(in) :: proc

calling procedure, for messages.

integer(kind=int64), intent(out), allocatable :: perm(:)

the 1-based permutation.

integer, intent(in), optional :: threads

thread request; absent = auto.

Description

Runs the C++ engine over keys, returning a 1-based permutation.