MAGMA GPU library

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
Aidonithith
Posts: 2
Joined: Fri Jan 11, 2019 12:14 am

MAGMA GPU library

Post by Aidonithith » Wed Jan 16, 2019 12:53 am

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,
       work(1:2*lwork_),lwork_,rwork(1:lrwork_),lrwork_,iwork(1:liwork),liwork,info)
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?

Post Reply