stdlib_ilaenv Function

public pure function stdlib_ilaenv(ispec, name, opts, n1, n2, n3, n4)

ILAENV is called from the LAPACK routines to choose problem-dependent parameters for the local environment. See ISPEC for a description of the parameters. ILAENV returns an INTEGER if ILAENV >= 0: ILAENV returns the value of the parameter specified by ISPEC if ILAENV < 0: if ILAENV = -k, the k-th argument had an illegal value. This version provides a set of parameters which should give good, but not optimal, performance on many of the currently available computers. Users are encouraged to modify this subroutine to set the tuning parameters for their particular machine using the option and problem size information in the arguments. This routine will not function correctly if it is converted to all lower case. Converting it to all upper case is allowed.

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: ispec
character(len=*), intent(in) :: name
character(len=*), intent(in) :: opts
integer(kind=ilp), intent(in) :: n1
integer(kind=ilp), intent(in) :: n2
integer(kind=ilp), intent(in) :: n3
integer(kind=ilp), intent(in) :: n4

Return Value integer(kind=ilp)