Package Details: gpu-burn-git r76.5f0a86c-1

Git Clone URL: https://aur.archlinux.org/gpu-burn-git.git (read-only, click to copy)
Package Base: gpu-burn-git
Description: Multi-GPU CUDA stress test
Upstream URL: https://github.com/wilicc/gpu-burn
Keywords: burn cuda git gpu gpu-burn nvidia stress vulkan
Licenses: BSD
Conflicts: gpu-burn, gpu_burn-git
Provides: gpu-burn
Replaces: gpu_burn-git
Submitter: None
Maintainer: huyz
Last Packager: huyz
Votes: 2
Popularity: 0.000000
First Submitted: 2021-06-29 21:15 (UTC)
Last Updated: 2023-03-29 04:46 (UTC)

Latest Comments

ErwinG commented on 2024-10-19 17:05 (UTC) (edited on 2024-10-19 17:05 (UTC) by ErwinG)

Currently this does not compile with g++ compiler version 14 and default CUDA version.

To make sure which cuda version is compatible first check installed nvidia driver.

pacman --query nvidia

Look for compatibility into https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html , table 3.

Use the "downgrade" tool (pacman -S downgrade) to select an appropriate version, currently this is 12.4

downgrade cuda

and then select 12.4 from list.

To install the working g++ compiler version 13

pacman -S gcc13

and set following variable

export NVCC_PREPEND_FLAGS='-ccbin /usr/bin/g++-13'

before you build gpu-burn

yay -S gpu-burn-git

minxu commented on 2024-04-28 02:14 (UTC)

I needed to "cd /usr/bin" and "sudo ln -s g++-12 g++" and do the same for gcc. After that, the package compiles well for me.

After installed, I just remove the 2 symlinks and "yay -Yc" to clean the build packages.

dreieck commented on 2024-02-08 16:07 (UTC)

With GCC 13.2.1, it fails to build for me:

g++ -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -flto=auto -O3 -Wno-unused-result -I/opt/cuda/include -std=c++11 -c gpu_burn-drv.cpp
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/android-sdk/emulator:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/usr/lib/jvm/default/bin:/opt/rocm-6.0.2/bin:/opt/rocm-6.0.2/hip/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/bin:/usr/local/sbin:/home/felics/bin::." /opt/cuda/bin/nvcc -I/opt/cuda/include -arch=compute_50 -ptx compare.cu -o compare.ptx
/usr/include/bits/floatn.h(86): error: invalid combination of type specifiers
  typedef __float128 _Float128;
                     ^

/usr/include/bits/floatn-common.h(214): error: invalid combination of type specifiers
  typedef float _Float32;
                ^

/usr/include/bits/floatn-common.h(251): error: invalid combination of type specifiers
  typedef double _Float64;
                 ^

/usr/include/bits/floatn-common.h(268): error: invalid combination of type specifiers
  typedef double _Float32x;
                 ^

/usr/include/bits/floatn-common.h(285): error: invalid combination of type specifiers
  typedef long double _Float64x;
                      ^

5 errors detected in the compilation of "compare.cu".
make: *** [Makefile:46: compare.ptx] Error 1

↗ Upstream issue report.

Regards!

<deleted-account> commented on 2021-07-03 23:31 (UTC)

@yochananmarqos thx. I fixed it.

yochananmarqos commented on 2021-06-29 22:11 (UTC) (edited on 2021-06-29 22:12 (UTC) by yochananmarqos)

This is not a proper VCS package just like the one you claim to replace as it pulls from a static commit. See VCS package guidelines.

It cannot replace what it provides. The arrays should be as follows:

provides=('gpu-burn')
conflicts=('gpu-burn' gpu_burn-git)
replaces=('gpu-burn_git')

<deleted-account> commented on 2021-06-29 21:17 (UTC)

replaced by https://aur.archlinux.org/packages/gpu-burn-git/

padawan commented on 2021-01-09 16:21 (UTC)

I had to manually edit the PKGBUILD for this to work.

I changed:

sed -i "s|CUDAPATH=/usr/local/cuda|CUDAPATH=/opt/cuda|g" "$pkgname"/Makefile

to

sed -i "s|CUDAPATH ?= /usr/local/cuda|CUDAPATH ?= /opt/cuda|g" "$pkgname"/Makefile

Because the Makefile inside src/gpu_burn-git uses a different notation now (not '=' but ' ?= ' instead).