<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: k-Wave unable to identify GPU</title>
		<link>http://www.k-wave.org/forum/topic/k-wave-unable-to-identify-gpu</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:25:18 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/k-wave-unable-to-identify-gpu" rel="self" type="application/rss+xml" />

		<item>
			<title>Jiri Jaros on "k-Wave unable to identify GPU"</title>
			<link>http://www.k-wave.org/forum/topic/k-wave-unable-to-identify-gpu#post-7592</link>
			<pubDate>Thu, 11 Jun 2020 11:50:35 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">7592@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi lennartverhagen,&#60;br /&#62;
As far as I can remember, I compiled the code with CUDA 10.2. If you simply recompile the code with CUDA 10.0, it should work then. &#60;/p&#62;
&#60;p&#62;Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lennartverhagen on "k-Wave unable to identify GPU"</title>
			<link>http://www.k-wave.org/forum/topic/k-wave-unable-to-identify-gpu#post-7588</link>
			<pubDate>Tue, 09 Jun 2020 20:22:26 +0000</pubDate>
			<dc:creator>lennartverhagen</dc:creator>
			<guid isPermaLink="false">7588@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Jiri,&#60;/p&#62;
&#60;p&#62;Am I correct in understand that when the general recommendation in such a situation is to try and recompile the kspace-CUDA binary?&#60;/p&#62;
&#60;p&#62;I'm piloting a new HPC cluster and it seems kspace-CUDA v1.3 does not recognise my gpu. Below is some info:&#60;/p&#62;
&#60;p&#62;please note that on this system the GNU libc version is a bit old (2.17), but that updating this would require a full OS install, so instead I preload the required library, as such:&#60;br /&#62;
&#60;code&#62;LD_PRELOAD=/opt/glibc/2.27/lib/libm.so.6 ./kspaceFirstOrder-CUDA --version&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
NAME=&#34;CentOS Linux&#34;&#60;br /&#62;
VERSION=&#34;7 (Core)&#34;&#60;br /&#62;
ID=&#34;centos&#34;&#60;br /&#62;
ID_LIKE=&#34;rhel fedora&#34;&#60;br /&#62;
VERSION_ID=&#34;7&#34;&#60;br /&#62;
PRETTY_NAME=&#34;CentOS Linux 7 (Core)&#34;&#60;br /&#62;
ANSI_COLOR=&#34;0;31&#34;&#60;br /&#62;
CPE_NAME=&#34;cpe:/o:centos:centos:7&#34;&#60;br /&#62;
HOME_URL=&#34;https://www.centos.org/&#34;&#60;br /&#62;
BUG_REPORT_URL=&#34;https://bugs.centos.org/&#34;&#60;/p&#62;
&#60;p&#62;CENTOS_MANTISBT_PROJECT=&#34;CentOS-7&#34;&#60;br /&#62;
CENTOS_MANTISBT_PROJECT_VERSION=&#34;7&#34;&#60;br /&#62;
REDHAT_SUPPORT_PRODUCT=&#34;centos&#34;&#60;br /&#62;
REDHAT_SUPPORT_PRODUCT_VERSION=&#34;7&#34;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
+-----------------------------------------------------------------------------+&#60;br /&#62;
&#124; NVIDIA-SMI 410.72       Driver Version: 410.72       CUDA Version: 10.0     &#124;&#60;br /&#62;
&#124;-------------------------------+----------------------+----------------------+&#60;br /&#62;
&#124; GPU  Name        Persistence-M&#124; Bus-Id        Disp.A &#124; Volatile Uncorr. ECC &#124;&#60;br /&#62;
&#124; Fan  Temp  Perf  Pwr:Usage/Cap&#124;         Memory-Usage &#124; GPU-Util  Compute M. &#124;&#60;br /&#62;
&#124;===============================+======================+======================&#124;&#60;br /&#62;
&#124;   0  Tesla P100-PCIE...  Off  &#124; 00000000:03:00.0 Off &#124;                    0 &#124;&#60;br /&#62;
&#124; N/A   29C    P0    25W / 250W &#124;      0MiB / 16280MiB &#124;      0%   E. Process &#124;&#60;br /&#62;
+-------------------------------+----------------------+----------------------+&#60;/p&#62;
&#60;p&#62;+-----------------------------------------------------------------------------+&#60;br /&#62;
&#124; Processes:                                                       GPU Memory &#124;&#60;br /&#62;
&#124;  GPU       PID   Type   Process name                             Usage      &#124;&#60;br /&#62;
&#124;=============================================================================&#124;&#60;br /&#62;
&#124;  No running processes found                                                 &#124;&#60;br /&#62;
+-----------------------------------------------------------------------------+&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│                  kspaceFirstOrder-CUDA v1.3                   │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Selected GPU device id:                                Failed │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│                       Build information                       │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Build number:     kspaceFirstOrder v3.6                       │&#60;br /&#62;
│ Build date:       Feb 26 2020                                 │&#60;br /&#62;
│ Build time:       21:27:09                                    │&#60;br /&#62;
│ Git hash:         468dc31c2842a7df5f2a07c3a13c16c9b0b2b770    │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Operating system: Linux x64                                   │&#60;br /&#62;
│ Compiler name:    GNU C++ 7.3.0                               │&#60;br /&#62;
│ Processor name:   Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz   │&#60;br /&#62;
│ Instruction set:  Intel AVX                                   │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ CUDA runtime:     N/A                                         │&#60;br /&#62;
│ CUDA driver:      10.0                                        │&#60;br /&#62;
│ CUDA code arch:   N/A                                         │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ CUDA device id:   N/A                                         │&#60;br /&#62;
│ CUDA device name: N/A                                         │&#60;br /&#62;
│ CUDA capability:  N/A                                         │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Contact email:    &#60;a href=&#34;mailto:jarosjir@fit.vutbr.cz&#34;&#62;jarosjir@fit.vutbr.cz&#60;/a&#62;                       │&#60;br /&#62;
│ Contact web:      &#60;a href=&#34;http://www.k-wave.org&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org&#60;/a&#62;                       │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Copyright (C) 2011-2020 SC@FIT Research Group, BUT, Czech Rep │&#60;br /&#62;
└───────────────────────────────────────────────────────────────┘&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "k-Wave unable to identify GPU"</title>
			<link>http://www.k-wave.org/forum/topic/k-wave-unable-to-identify-gpu#post-7333</link>
			<pubDate>Mon, 30 Mar 2020 08:51:42 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">7333@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi smajmuda,&#60;br /&#62;
could you try to run the CUDA code with parameter --version. I'd like to see what the code sees :)&#60;/p&#62;
&#60;p&#62;it could not find hdf5.h - This is odd, have you installed HDF5 1.10.x and updated the makefile with the path to HDF5-&#60;/p&#62;
&#60;p&#62;I run the CUDA code on Centos 7.7 without any problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>smajmuda on "k-Wave unable to identify GPU"</title>
			<link>http://www.k-wave.org/forum/topic/k-wave-unable-to-identify-gpu#post-7309</link>
			<pubDate>Fri, 20 Mar 2020 23:54:24 +0000</pubDate>
			<dc:creator>smajmuda</dc:creator>
			<guid isPermaLink="false">7309@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Jiri,&#60;/p&#62;
&#60;p&#62;Thanks for the prompt response. It turns out that the cluster, does, indeed have v1.3 installed and yet the errors persist. To expand:&#60;/p&#62;
&#60;p&#62;Tried to compile using a singularity container of Ubuntu 18 but even explicit calls in the make file it could not find hdf5.h during compile; compiling in the native CentOS 7 we see errors like the below which are likely related to the older version of glibc CentOS uses.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;skipping incompatible /lib/libm.so when searching for -lm
skipping incompatible /lib/libgcc_s.so.1 when searching for libgcc_s.so.1
skipping incompatible /lib/libpthread.so when searching for -lpthread
skipping incompatible /lib/libc.so when searching for -lc
skipping incompatible /lib/libgcc_s.so.1 when searching for libgcc_s.so.1&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The cluster support team have also tried running the pre-compiled binaries via a singularity ubuntu container with no luck.&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Shubham.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "k-Wave unable to identify GPU"</title>
			<link>http://www.k-wave.org/forum/topic/k-wave-unable-to-identify-gpu#post-7296</link>
			<pubDate>Tue, 17 Mar 2020 10:39:21 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">7296@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi smajmuda,&#60;br /&#62;
k-Wave 1.2 does not support Volta GPUs. Please download k-Wave 1.3.&#60;/p&#62;
&#60;p&#62;Best&#60;br /&#62;
Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>smajmuda on "k-Wave unable to identify GPU"</title>
			<link>http://www.k-wave.org/forum/topic/k-wave-unable-to-identify-gpu#post-7295</link>
			<pubDate>Tue, 17 Mar 2020 04:36:33 +0000</pubDate>
			<dc:creator>smajmuda</dc:creator>
			<guid isPermaLink="false">7295@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I am getting the following error when &#60;code&#62;kspaceFirstOrder3DG&#60;/code&#62; is called in MATLAB on my university's computing cluster, a description of the problem is mentioned below the error message:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;kspaceFirstOrder3D-CUDA v1.2

Reading simulation configuration:        Done
Selected GPU device id:        Failed

!!! K-Wave experienced a fatal error !!!

 Error: Insufficient CUDA driver version. Install the latest
        drivers.

                      Execution terminated

Error using h5readc
The filename specified was either not found on the MATLAB path or it contains unsupported characters.

Error in h5read (line 58)
[data,var_class] = h5readc(Filename,Dataset,start,count,stride);

Error in kspaceFirstOrder3DC (line 394)
Nx = h5read(output_filename, &#38;#39;/Nx&#38;#39;);

Error in kspaceFirstOrder3DG (line 64)
    sensor_data = kspaceFirstOrder3DC(varargin{:}, &#38;#39;BinaryName&#38;#39;, binary_name);

Error in kwave_3d_GPU (line 213)
sensor_data = kspaceFirstOrder3DG(kgrid, medium, transducer, sensor, input_args{:});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;For context, to get around a previous error involving the CentOS using an older version of glibc, a singularity container by Nvidia is being used to emulate Ubuntu 18.04 on CentOS. The container can see the video card, MATLAB can see the video card and drivers are at the latest version available from Nvidia. The cluster computing support team suggests the possibilities causing the error among: cuda being too new, being run inside a container, other libraries too old/new.&#60;/p&#62;
&#60;p&#62;Please note the version of k-Wave being used is 1.2.1.&#60;br /&#62;
Following are the details pertaining to the GPU:&#60;/p&#62;
&#60;p&#62;+-----------------------------------------------------------------------------+&#60;br /&#62;
&#124; NVIDIA-SMI 440.33.01    Driver Version: 440.33.01    CUDA Version: 10.2     &#124;&#60;br /&#62;
&#124;-------------------------------+----------------------+----------------------+&#60;br /&#62;
&#124; GPU  Name        Persistence-M&#124; Bus-Id        Disp.A &#124; Volatile Uncorr. ECC &#124;&#60;br /&#62;
&#124; Fan  Temp  Perf  Pwr:Usage/Cap&#124;         Memory-Usage &#124; GPU-Util  Compute M. &#124;&#60;br /&#62;
&#124;===============================+======================+======================&#124;&#60;br /&#62;
&#124;   0  Tesla V100-SXM2...  Off  &#124; 00000000:18:00.0 Off &#124;                    0 &#124;&#60;br /&#62;
&#124; N/A   35C    P0    56W / 300W &#124;      0MiB / 16160MiB &#124;      0%      Default &#124;&#60;br /&#62;
+-------------------------------+----------------------+----------------------+&#60;/p&#62;
&#60;p&#62;+-----------------------------------------------------------------------------+&#60;br /&#62;
&#124; Processes:                                                       GPU Memory &#124;&#60;br /&#62;
&#124;  GPU       PID   Type   Process name                             Usage      &#124;&#60;br /&#62;
&#124;=============================================================================&#124;&#60;br /&#62;
&#124;  No running processes found                                                 &#124;&#60;br /&#62;
+-----------------------------------------------------------------------------+&#60;/p&#62;
&#60;p&#62;&#38;gt;&#38;gt; gpuDevice&#60;/p&#62;
&#60;p&#62;ans = &#60;/p&#62;
&#60;p&#62;  CUDADevice with properties:&#60;/p&#62;
&#60;p&#62;                      Name: 'Tesla V100-SXM2-16GB'&#60;br /&#62;
                     Index: 1&#60;br /&#62;
         ComputeCapability: '7.0'&#60;br /&#62;
            SupportsDouble: 1&#60;br /&#62;
             DriverVersion: 10.2000&#60;br /&#62;
            ToolkitVersion: 9&#60;br /&#62;
        MaxThreadsPerBlock: 1024&#60;br /&#62;
          MaxShmemPerBlock: 49152&#60;br /&#62;
        MaxThreadBlockSize: [1024 1024 64]&#60;br /&#62;
               MaxGridSize: [2.1475e+09 65535 65535]&#60;br /&#62;
                 SIMDWidth: 32&#60;br /&#62;
               TotalMemory: 1.6946e+10&#60;br /&#62;
           AvailableMemory: 1.6458e+10&#60;br /&#62;
       MultiprocessorCount: 80&#60;br /&#62;
              ClockRateKHz: 1530000&#60;br /&#62;
               ComputeMode: 'Default'&#60;br /&#62;
      GPUOverlapsTransfers: 1&#60;br /&#62;
    KernelExecutionTimeout: 0&#60;br /&#62;
          CanMapHostMemory: 1&#60;br /&#62;
           DeviceSupported: 1&#60;br /&#62;
            DeviceSelected: 1&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
