Using MAGMA GPU library

Moderators: jbeuken, jzwanzig, gonze, mcote

Using MAGMA GPU library

Postby evgeny.s » Thu May 31, 2018 4:29 pm


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?
Posts: 1
Joined: Thu May 31, 2018 4:18 pm

Return to Proposed code modifications

Who is online

Users browsing this forum: No registered users and 1 guest