Bug report: 'useGPU' argument missing from ELPA's API calls
Cho S
chot... at gmail.com
Mon Jan 8 07:14:14 UTC 2018
Hello,
Specifying ELPA kernel = GPU under &GLOBAL/ELPA_KERNEL causes an error at
the beginning of scf cycle. Looking into the code, I notice that cp2k calls
ELPA via api as follows:
elpa_solve_evp_real_2stage_double(n, neig, m_noqr, n_rows, eval_noqr,
v_noqr, n_rows, nblk, n_cols, &
comm_row,
comm_col, group, &
elpa_kernel, &
useQR=.FALSE.)
However, ELPA documentation suggests that a useGPU logical variable should
be supplied in order to initiate a GPU kernel. Therefore, the call should
be modified as follows:
elpa_solve_evp_real_2stage_double(n, neig, m_noqr, n_rows, eval_noqr,
v_noqr, n_rows, nblk, n_cols, &
comm_row,
comm_col, group, &
elpa_kernel, &
useQR=.FALSE.,
useGPU=gpuflag)
where gpuflag is a logical variable (.TRUE. if ELPA_KERNEL = GPU, .FALSE.
otherwise)
Regards,
Cho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20180107/17496f0a/attachment.htm>
More information about the CP2K-user
mailing list