Plans for GPU support for libint/hfx operations?

96 views
Skip to first unread message

Nicholas Winner

unread,
Jun 1, 2021, 6:29:04 PM6/1/21
to cp2k
I was wondering if the devs have plans for pushing the expensive HFX integrals/derivatives onto GPUs in the near future? There has been lots of recent discussion about GPUs that I have seen, and now DBSCR, CP2K+ELPA for diagonalization, and grid collocate/integrate are are GPU compatible, but the big one would be hfx (for myself at least).

Are there plans for this, are their practical issues with implementing it beyond finding the time to write the modules?

Just curious, thanks.

-Nick

hut...@chem.uzh.ch

unread,
Jun 2, 2021, 7:34:39 AM6/2/21
to cp...@googlegroups.com
Hi

there are some preliminary plans to port the HFX integral to
Fock matrix and gradient routines to GPUs. For the integral routines
(libint or another equivalent library) we are hoping that some other
project will contribute.
Another route is the RI-HFX code. It is not yet in production mode,
but would bring GPU acceleration to HFX. It moves computation from
basic integrals to tensor contractions. This also should reduce
memory requirements and improve parallelization. Through the
usage of the DBCSR tensor library, we get GPU acceleration.

best regards

Juerg Hutter
--------------------------------------------------------------
Juerg Hutter Phone : ++41 44 635 4491
Institut für Chemie C FAX : ++41 44 635 6838
Universität Zürich E-mail: hut...@chem.uzh.ch
Winterthurerstrasse 190
CH-8057 Zürich, Switzerland
---------------------------------------------------------------

-----cp...@googlegroups.com wrote: -----
To: "cp2k" <cp...@googlegroups.com>
From: "Nicholas Winner"
Sent by: cp...@googlegroups.com
Date: 06/02/2021 12:29AM
Subject: [CP2K:15495] Plans for GPU support for libint/hfx operations?
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/33345f64-fa80-4706-ae3b-2a3384cb9e84n%40googlegroups.com.

Nicholas Winner

unread,
Jun 2, 2021, 12:42:41 PM6/2/21
to cp2k
Thanks a lot Jurg, makes sense. RI-HFX seems like a great way to go. Looking at the source, it seems like RI-HFX is mostly implemented, its just the forces that need to be implemented. Is that right?

hut...@chem.uzh.ch

unread,
Jun 3, 2021, 2:57:01 AM6/3/21
to cp...@googlegroups.com
Hi

yes, that is correct, forces and response are missing. We will also
have to optimize the GPU backend of the tensor library.

regards

Juerg Hutter
--------------------------------------------------------------
Juerg Hutter Phone : ++41 44 635 4491
Institut für Chemie C FAX : ++41 44 635 6838
Universität Zürich E-mail: hut...@chem.uzh.ch
Winterthurerstrasse 190
CH-8057 Zürich, Switzerland
---------------------------------------------------------------

-----cp...@googlegroups.com wrote: -----
To: "cp2k" <cp...@googlegroups.com>
From: "Nicholas Winner"
Sent by: cp...@googlegroups.com
Date: 06/02/2021 06:42PM
Subject: Re: [CP2K:15498] Plans for GPU support for libint/hfx operations?
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/53a09fa0-1e05-422b-a94a-91171b2e2c8fn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages