<?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: Compiling CUDA code on HPC -- GPU Error at Runtime?</title>
		<link>http://www.k-wave.org/forum/topic/compiling-cuda-code-on-hpc-gpu-error-at-runtime</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:24:54 +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/compiling-cuda-code-on-hpc-gpu-error-at-runtime" rel="self" type="application/rss+xml" />

		<item>
			<title>DLam on "Compiling CUDA code on HPC -- GPU Error at Runtime?"</title>
			<link>http://www.k-wave.org/forum/topic/compiling-cuda-code-on-hpc-gpu-error-at-runtime#post-7719</link>
			<pubDate>Sat, 01 Aug 2020 00:41:28 +0000</pubDate>
			<dc:creator>DLam</dc:creator>
			<guid isPermaLink="false">7719@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks Jiri, I will give it a shot.&#60;/p&#62;
&#60;p&#62;Best regards,&#60;/p&#62;
&#60;p&#62;Daniel
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Compiling CUDA code on HPC -- GPU Error at Runtime?"</title>
			<link>http://www.k-wave.org/forum/topic/compiling-cuda-code-on-hpc-gpu-error-at-runtime#post-7624</link>
			<pubDate>Wed, 17 Jun 2020 13:30:39 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">7624@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Daniel,&#60;br /&#62;
You compiled the code for a CPU instruction set the CPU you're running the code doesn't support. I guess you compiled the code on a different machine.&#60;/p&#62;
&#60;p&#62;Change the CPU_ARCH to AVX. That should run everywhere.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;CPU_ARCH = native
#CPU_ARCH = AVX
#CPU_ARCH = AVX2
#CPU_ARCH = AVX512&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Best wishes&#60;br /&#62;
Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DLam on "Compiling CUDA code on HPC -- GPU Error at Runtime?"</title>
			<link>http://www.k-wave.org/forum/topic/compiling-cuda-code-on-hpc-gpu-error-at-runtime#post-7622</link>
			<pubDate>Wed, 17 Jun 2020 08:42:38 +0000</pubDate>
			<dc:creator>DLam</dc:creator>
			<guid isPermaLink="false">7622@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;PS:&#60;br /&#62;
LINKING was STATIC.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DLam on "Compiling CUDA code on HPC -- GPU Error at Runtime?"</title>
			<link>http://www.k-wave.org/forum/topic/compiling-cuda-code-on-hpc-gpu-error-at-runtime#post-7619</link>
			<pubDate>Wed, 17 Jun 2020 06:57:44 +0000</pubDate>
			<dc:creator>DLam</dc:creator>
			<guid isPermaLink="false">7619@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;Thanks for all your work on k-Wave.&#60;br /&#62;
The pre-compiled CUDA binaries require GLIBC 2.27, which my HPC OS (CentOS Linux 7.2.1511) does not have.  So I got the source codes and began compiling.&#60;/p&#62;
&#60;p&#62;I am using HDF5 1.8.12, CUDA 10.0, gcc 7.2.0&#60;/p&#62;
&#60;p&#62;The code compiles fine with the makefile.  However, when running the code from MATLAB R2018b using kspaceFirstOrder3DG, it throws up the following error:&#60;/p&#62;
&#60;p&#62;│GPU error: an illegal instruction was encountered routine      │&#60;br /&#62;
│        name: cudaGetLastError() in file OutputStreams/        │&#60;br /&#62;
│        OutputStreamsCudaKernels.cu, line 130. &#60;/p&#62;
&#60;p&#62;I'm wondering if you have any advice?&#60;/p&#62;
&#60;p&#62;Best regards,&#60;/p&#62;
&#60;p&#62;Daniel
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
