View previous topic :: View next topic |
Author |
Message |
fpemud Guru
Joined: 15 Feb 2012 Posts: 352
|
Posted: Mon Jan 20, 2025 10:45 pm Post subject: Why building sci-libs/rocFFT-6.1.1 takes so long? |
|
|
I am currently building the sci-libs/rocFFT-6.1.1 on my 32-core, 64G memory machine.
The build process has already lasted for 24 hours, and I have no idea when it will be completed.
The system load has been consistently ranging from 5.0 to 10.0.
As indicated by the top command, it seems that rocfft_aot_help process is managing the build process, with clang (multiple processes run in parallel) being involved only intermittently.
Is this situation normal?
What is the typical build time for rocFFT?
I have enabled all amdgpu_targets, does it matter?
Code: | sh-5.2# equery uses sci-libs/rocFFT
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sci-libs/rocFFT-6.1.1:
U I
+ - amdgpu_targets_gfx1010 : RDNA GPU, codename navi10, including Radeon RX 5700XT/5700/5700M/5700B/5700XTB/5600XT/5600/5600M, Radeon Pro
5700XT/5700, Radeon Pro W5700X/W5700
+ - amdgpu_targets_gfx1011 : RDNA GPU, codename navi12, including Radeon Pro 5600M/V520
+ - amdgpu_targets_gfx1012 : RDNA GPU, codename navi14, including Radeon RX 5500XT/5500/5500M/5500XTB/5300/5300M, Radeon Pro
5500XT/5500M/5300/5300M, Radeon Pro W5500X/W5500/W5500M/W5300M
+ - amdgpu_targets_gfx1030 : RDNA2 GPU, codename navi21/sienna cichlid, including Radeon RX 6950XT/6900XT/6800XT/6800, Radeon Pro W6800
+ - amdgpu_targets_gfx1031 : RDNA2 GPU, codename navi22/navy flounder, including Radeon RX 6750XT/6700XT/6800M/6700M
+ - amdgpu_targets_gfx1100 : RDNA3 GPU, codename navi31/plum bonito, including Radeon RX 7900XTX/7900XT, AMD Radeon Pro W7900/W7800
+ - amdgpu_targets_gfx1101 : RDNA3 GPU, codename navi32, including Radeon RX 7700XT/7800XT
+ - amdgpu_targets_gfx1102 : RDNA3 GPU, codename navi33, including Radeon RX 7600/7600M/7600M XT/7700S/7600S, AMD Radeon PRO W7600/W7500
+ - amdgpu_targets_gfx803 : Fiji GPU, codename fiji, including Radeon R9 Nano/Fury/FuryX, Radeon Pro Duo, FirePro S9300x2, Radeon Instinct MI8
+ - amdgpu_targets_gfx900 : Vega GPU, codename vega10, including Radeon Vega Frontier Edition, Radeon RX Vega 56/64, Radeon RX Vega 64 Liquid,
Radeon Pro Vega 48/56/64/64X, Radeon Pro WX 8200/9100, Radeon Pro V320/V340/SSG, Radeon Instinct MI25
+ - amdgpu_targets_gfx906 : Vega GPU, codename vega20, including Radeon (Pro) VII, Radeon Instinct MI50/MI60
+ - amdgpu_targets_gfx908 : CDNA Accelerator, codename arcturus, including AMD Instinct MI100 Accelerator
+ - amdgpu_targets_gfx90a : CDNA2 Accelerator, codename aldebaran, including AMD Instinct MI200 series Accelerators
+ - amdgpu_targets_gfx940 : CDNA3 Accelerator, codename aqua_vangaram, MI300A rev 0
+ - amdgpu_targets_gfx941 : CDNA3 Accelerator, codename aqua_vangaram, MI300X rev 0
+ - amdgpu_targets_gfx942 : CDNA3 Accelerator, codename aqua_vangaram, MI300A and MI300X rev >=1
- - benchmark : Build and install rocfft benchmark tools.
- - perfscripts : Install rocfft-perf performance visualization suite.
- - python_targets_python3_10 : Build with Python 3.10
- - python_targets_python3_11 : Build with Python 3.11
+ + python_targets_python3_12 : Build with Python 3.12
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled
independently) |
|
|
Back to top |
|
|
fpemud Guru
Joined: 15 Feb 2012 Posts: 352
|
Posted: Tue Jan 21, 2025 11:21 am Post subject: |
|
|
Finally, it completes. I guess it takes a total of 36 hours.
Code: | sh-5.2# equery files rocFFT
* Searching for rocFFT ...
* Contents of sci-libs/rocFFT-6.1.1:
/usr
/usr/include
/usr/include/rocfft
/usr/include/rocfft/rocfft-export.h
/usr/include/rocfft/rocfft-version.h
/usr/include/rocfft/rocfft.h
/usr/lib64
/usr/lib64/cmake
/usr/lib64/cmake/rocfft
/usr/lib64/cmake/rocfft/rocfft-config-version.cmake
/usr/lib64/cmake/rocfft/rocfft-config.cmake
/usr/lib64/cmake/rocfft/rocfft-targets-relwithdebinfo.cmake
/usr/lib64/cmake/rocfft/rocfft-targets.cmake
/usr/lib64/librocfft.so -> librocfft.so.0
/usr/lib64/librocfft.so.0 -> librocfft.so.0.1
/usr/lib64/librocfft.so.0.1
/usr/lib64/rocfft
/usr/lib64/rocfft/1.0.27
/usr/lib64/rocfft/1.0.27/rocfft_rtc_helper
/usr/lib64/rocfft/rocfft_kernel_cache.db
/usr/share
/usr/share/doc
/usr/share/doc/rocFFT-6.1.1
/usr/share/doc/rocFFT-6.1.1/README.md |
I think it takes that much time to generate this file:
Code: | sh-5.2# ls -lh /usr/lib64/rocfft/rocfft_kernel_cache.db
-rw-r--r-- 1 root root 2.8G Jan 21 11:19 /usr/lib64/rocfft/rocfft_kernel_cache.db
|
|
|
Back to top |
|
|
NichtDerHans Apprentice
Joined: 27 Jan 2023 Posts: 185
|
Posted: Tue Jan 21, 2025 12:16 pm Post subject: |
|
|
Maybe there will be an update in the portage tree tomorrow. Or it has to be rebuilt because a required library has been updated. |
|
Back to top |
|
|
damianb n00b
Joined: 21 Sep 2023 Posts: 11
|
Posted: Wed Jan 22, 2025 12:50 pm Post subject: |
|
|
Good to know. The file you mentioned (temp version in temp build directory) is at 843MB and it's been 9 hours so far.
I am running xeon e3-1275 with 16GB ram. So at least 36 hrs huh |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|