<?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: Problem running kspaceFirstOrder3D-OMP via Matlab</title>
		<link>http://www.k-wave.org/forum/topic/problem-running-kspacefirstorder3d-omp-via-matlab</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 03 Jun 2026 01:17:07 +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/problem-running-kspacefirstorder3d-omp-via-matlab" rel="self" type="application/rss+xml" />

		<item>
			<title>xzhan110 on "Problem running kspaceFirstOrder3D-OMP via Matlab"</title>
			<link>http://www.k-wave.org/forum/topic/problem-running-kspacefirstorder3d-omp-via-matlab#post-5777</link>
			<pubDate>Mon, 05 Dec 2016 20:26:41 +0000</pubDate>
			<dc:creator>xzhan110</dc:creator>
			<guid isPermaLink="false">5777@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Yufeng, &#60;/p&#62;
&#60;p&#62;Thank you for the solution. It seems like your permission modification commands are for Unix system. Do you happen to know the equivalent for win 7? &#60;/p&#62;
&#60;p&#62;Thank you in advanced!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Problem running kspaceFirstOrder3D-OMP via Matlab"</title>
			<link>http://www.k-wave.org/forum/topic/problem-running-kspacefirstorder3d-omp-via-matlab#post-5717</link>
			<pubDate>Mon, 24 Oct 2016 09:45:53 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5717@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Frankie,&#60;/p&#62;
&#60;p&#62;Unfortunately at this stage we do not support Mac OS. If you are comfortable with compiling C++ codes, you could download the C++ source codes. It will require some edits (compiler directives etc), but people have told me they have got it to work in the past.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Yufeng Wang on "Problem running kspaceFirstOrder3D-OMP via Matlab"</title>
			<link>http://www.k-wave.org/forum/topic/problem-running-kspacefirstorder3d-omp-via-matlab#post-5710</link>
			<pubDate>Fri, 14 Oct 2016 01:54:06 +0000</pubDate>
			<dc:creator>Yufeng Wang</dc:creator>
			<guid isPermaLink="false">5710@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;hello Frankie,&#60;/p&#62;
&#60;p&#62;I have solved this problem by adding +x permission&#60;/p&#62;
&#60;p&#62;chmod +x ./kspaceFirstOrder3D-OMP&#60;br /&#62;
chmod +x ./kspaceFirstOrder3D-CUDA&#60;/p&#62;
&#60;p&#62;Hope this will be useful for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Yufeng Wang on "Problem running kspaceFirstOrder3D-OMP via Matlab"</title>
			<link>http://www.k-wave.org/forum/topic/problem-running-kspacefirstorder3d-omp-via-matlab#post-5703</link>
			<pubDate>Wed, 12 Oct 2016 07:35:59 +0000</pubDate>
			<dc:creator>Yufeng Wang</dc:creator>
			<guid isPermaLink="false">5703@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;hello Frankie,&#60;/p&#62;
&#60;p&#62;I encounted the same error as yours, which reported by Matlab when I was running the kspaceFirstOrder3DC() in the toolbox example,'example_us_beam_patterns.m'. I am using the toolbox in Ubuntu 14.04 and Matlab2014b. So I think it might be a common erros. Error is reported as follow:&#60;/p&#62;
&#60;p&#62;/bin/bash: ./kspaceFirstOrder3D-OMP: Permission denied&#60;br /&#62;
Error using h5readc&#60;br /&#62;
The HDF5 library encountered an error and produced the following stack trace information:&#60;/p&#62;
&#60;p&#62;    H5FD_sec2_open    unable to open file: name = '/tmp/kwave_output_data12-Oct-2016-14-26-59.h5',&#60;br /&#62;
    errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0&#60;br /&#62;
    H5FD_open         open failed&#60;br /&#62;
    H5F_open          unable to open file: time = Wed Oct 12 14:27:00 2016&#60;br /&#62;
, name = '/tmp/kwave_output_data12-Oct-2016-14-26-59.h5', tent_flags = 0&#60;br /&#62;
    H5Fopen           unable to open file&#60;/p&#62;
&#60;p&#62;Error in h5read (line 58)&#60;br /&#62;
[data,var_class] = h5readc(Filename,Dataset,start,count,stride);&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder3DC (line 347)&#60;br /&#62;
Nx = h5read(output_filename, '/Nx');&#60;/p&#62;
&#60;p&#62;Error in example_us_beam_patterns (line 178)&#60;br /&#62;
sensor_data = kspaceFirstOrder3DC(kgrid, medium, transducer, sensor, input_args{:});&#60;/p&#62;
&#60;p&#62;I hope someone would solve this problem.&#60;/p&#62;
&#60;p&#62;thanks in advanced.&#60;/p&#62;
&#60;p&#62;Yufeng Wang
&#60;/p&#62;</description>
		</item>
		<item>
			<title>frankiepoon1991 on "Problem running kspaceFirstOrder3D-OMP via Matlab"</title>
			<link>http://www.k-wave.org/forum/topic/problem-running-kspacefirstorder3d-omp-via-matlab#post-5702</link>
			<pubDate>Sat, 08 Oct 2016 22:22:11 +0000</pubDate>
			<dc:creator>frankiepoon1991</dc:creator>
			<guid isPermaLink="false">5702@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I encounted an error reported by Matlab when I was running the kspaceFirstOrder3DC() in the toolbox example,'example_cpp_running_simulations.m' with setting example_number = 3 (i.e. testing case 3), and I also got a similar error while testing case 2. I am using the toolbox in Mac and Matlab2016a. I tried to run the the program would stop in the middle with the error:&#60;/p&#62;
&#60;p&#62;case 3 error:&#60;br /&#62;
/bin/bash: ./kspaceFirstOrder3D-OMP: Permission denied&#60;br /&#62;
Error using h5readc&#60;br /&#62;
Unable to open file. Filename may be&#60;br /&#62;
corrupt or have unsupported characters.&#60;/p&#62;
&#60;p&#62;Error in h5read (line 58)&#60;br /&#62;
[data,var_class] =&#60;br /&#62;
h5readc(Filename,Dataset,start,count,stride);&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder3DC (line 348)&#60;br /&#62;
Nx = h5read(output_filename, '/Nx');&#60;/p&#62;
&#60;p&#62;Error in example_cpp_running_simulations&#60;br /&#62;
(line 131)&#60;br /&#62;
        sensor_data =&#60;br /&#62;
        kspaceFirstOrder3DC(kgrid,&#60;br /&#62;
        medium, source, sensor,&#60;br /&#62;
        input_args{:});&#60;/p&#62;
&#60;p&#62;case 2 error:&#60;br /&#62;
Error using h5readc&#60;br /&#62;
Unable to open file. Filename may be&#60;br /&#62;
corrupt or have unsupported characters.&#60;/p&#62;
&#60;p&#62;Error in h5read (line 58)&#60;br /&#62;
[data,var_class] =&#60;br /&#62;
h5readc(Filename,Dataset,start,count,stride);&#60;/p&#62;
&#60;p&#62;Error in example_cpp_running_simulations&#60;br /&#62;
(line 122)&#60;br /&#62;
        sensor_data.p_final =&#60;br /&#62;
        h5read([pathname&#60;br /&#62;
        output_filename], '/p_final');&#60;/p&#62;
&#60;p&#62;Is the error because of the Mac system? Or does anyone have a solution to this error?&#60;/p&#62;
&#60;p&#62;Many thanks in advanced.&#60;/p&#62;
&#60;p&#62;Frankie
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
