mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 14:38:43 +02:00
Intel integrated GPUs require: -DGMX_GPU_NB_CLUSTER_SIZE=4 to be set, otherwise running a GPU job will result in GPU not found. I added the video_cards_intel use flag, in order to check if we build gromacs for intel integrated graphics. If this is the case GMX_GPU_NB_CLUSTER_SIZE=4 will be set instead of the default 8. With this patch I get about 3x performance on an Intel Core Ultra 7 256 machine, utilizing integrated graphics that would be otherwise not found. Signed-off-by: Thomas Haschka <haschka@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42774 Closes: https://github.com/gentoo/gentoo/pull/42774 Signed-off-by: Sam James <sam@gentoo.org>
29 lines
1.5 KiB
XML
29 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
<pkgmetadata>
|
|
<maintainer type="person">
|
|
<email>alexxy@gentoo.org</email>
|
|
<name>Alexey Shvetsov</name>
|
|
</maintainer>
|
|
<maintainer type="project">
|
|
<email>sci-chemistry@gentoo.org</email>
|
|
<name>Gentoo Chemistry Project</name>
|
|
</maintainer>
|
|
<use>
|
|
<flag name="build-manual">Build manual instead of downloading it</flag>
|
|
<flag name="clang">Build gromacs with Clang instead of default compiler</flag>
|
|
<flag name="clang-cuda">Use clang for cuda units compilation</flag>
|
|
<flag name="cuda">Enable cuda non-bonded kernels</flag>
|
|
<flag name="double-precision">More precise calculations at the expense of speed</flag>
|
|
<flag name="gmxapi">Add support for gmxapi library</flag>
|
|
<flag name="gmxapi-legacy">Enable installing lagacy headers</flag>
|
|
<flag name="hwloc">Enable HWLoc lib support</flag>
|
|
<flag name="nnpot">Allow to use <pkg>sci-ml/caffe2</pkg> for NN Potentials</flag>
|
|
<flag name="opencl">Enable opencl non-bonded kernels</flag>
|
|
<flag name="single-precision">Single precision version of gromacs (default)</flag>
|
|
<flag name="tng">Enable new trajectory format - tng</flag>
|
|
<flag name="mkl">Use <pkg>sci-libs/mkl</pkg> for fft, blas, lapack routines</flag>
|
|
<flag name="offensive">Enable gromacs partly offensive quotes</flag>
|
|
<flag name="video_cards_intel">Modifies the non-bonded GPU cluster size to 4 in order to enable opencl on Intel integrated graphics</flag>
|
|
</use>
|
|
</pkgmetadata>
|