Page 1 of 1

MAGMA GPU library

Posted: Wed Jan 16, 2019 12:53 am
by Aidonithith
Sorry if I chose the wrong section to post my question. My question is related to MAGMA library usage in the code. After compilation my abinit crashes and reports:

Code: Select all

On entry to magma_zhegvd, parameter 11 had an illegal value (info = -11)
--- !ERROR
src_file: abi_xhegv.f90
src_line: 170
mpi_rank: 0
message: |
    Problem in abi_xhegv, info= -11
In the file /abinit-8.8.2/src/28_numeric_noabirule/abi_xhegv.f90 (line 107 and below) we see

Code: Select all

lwork_=33*n + (n**2)
       call magmaf_zhegvd(itype,jobz,uplo,n,a,lda,b,ldb,w,
Parameter 11 is lwork_. What is lwork_ and why do we need it? Why lwork is not used here? What is 33*n+n**2? There is no such expression in the MAGMA documentation. What if 2*lwork_ is larger than work extent?