<?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: C++ Simulation Codes operating Issue</title>
		<link>http://www.k-wave.org/forum/topic/c-simulation-codes-operating-issue</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:39:02 +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/c-simulation-codes-operating-issue" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "C++ Simulation Codes operating Issue"</title>
			<link>http://www.k-wave.org/forum/topic/c-simulation-codes-operating-issue#post-8446</link>
			<pubDate>Tue, 01 Feb 2022 10:17:03 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8446@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Do you have permission to write to &#60;code&#62;C:\...&#60;/code&#62;? Try saving the data to your home folder.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>manik on "C++ Simulation Codes operating Issue"</title>
			<link>http://www.k-wave.org/forum/topic/c-simulation-codes-operating-issue#post-8431</link>
			<pubDate>Mon, 17 Jan 2022 22:07:30 +0000</pubDate>
			<dc:creator>manik</dc:creator>
			<guid isPermaLink="false">8431@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, i am also facing the same error. tried using Datapath agrument, now error is&#60;/p&#62;
&#60;p&#62;Error using hdf5lib2&#60;br /&#62;
Unable to access 'C:\kwave_input_data18-Jan-2022-02-35-35.h5'. You might not have permission.&#60;/p&#62;
&#60;p&#62;Error in H5F.create (line 76)&#60;br /&#62;
file_id = H5ML.hdf5lib2('H5Fcreate', varargin{:});&#60;/p&#62;
&#60;p&#62;Error in h5create&#38;gt;create_dataset (line 183)&#60;br /&#62;
    fid = H5F.create(options.Filename,'H5F_ACC_TRUNC','H5P_DEFAULT', ...&#60;/p&#62;
&#60;p&#62;Error in h5create (line 100)&#60;br /&#62;
create_dataset(options);&#60;/p&#62;
&#60;p&#62;Error in writeMatrix (line 197)&#60;br /&#62;
    h5create(filename,['/' matrix_name], [Nx, Ny, Nz], ...&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder_saveToDisk (line 462)&#60;br /&#62;
        writeMatrix(flags.save_to_disk, eval(variable_list{cast_index}), variable_list{cast_index},&#60;br /&#62;
        hdf_compression_level);&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder3D (line 673)&#60;br /&#62;
    kspaceFirstOrder_saveToDisk;&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder3DC (line 532)&#60;br /&#62;
eval(run_string);&#60;/p&#62;
&#60;p&#62;Error in example_cpp_running_simulations (line 131)&#60;br /&#62;
        sensor_data = kspaceFirstOrder3DC(kgrid, medium, source, sensor, input_args{:});
&#60;/p&#62;</description>
		</item>
		<item>
			<title>age8311 on "C++ Simulation Codes operating Issue"</title>
			<link>http://www.k-wave.org/forum/topic/c-simulation-codes-operating-issue#post-7302</link>
			<pubDate>Thu, 19 Mar 2020 09:54:23 +0000</pubDate>
			<dc:creator>age8311</dc:creator>
			<guid isPermaLink="false">7302@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad,&#60;/p&#62;
&#60;p&#62;How can I use 'DataPath' optional input?&#60;br /&#62;
Should I change downloaded script(kspaceFirstOrder2DG.m)?&#60;/p&#62;
&#60;p&#62;Youngsoo.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "C++ Simulation Codes operating Issue"</title>
			<link>http://www.k-wave.org/forum/topic/c-simulation-codes-operating-issue#post-7293</link>
			<pubDate>Mon, 16 Mar 2020 12:43:21 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">7293@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi age8311,&#60;/p&#62;
&#60;p&#62;You shouldn't need to install a compiler. It looks like it can't open the input file. What happens if you save the input file to a different location (e.g., root C:\) by using the &#60;code&#62;&#38;#39;DataPath&#38;#39;&#60;/code&#62; optional input?&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>age8311 on "C++ Simulation Codes operating Issue"</title>
			<link>http://www.k-wave.org/forum/topic/c-simulation-codes-operating-issue#post-7292</link>
			<pubDate>Sat, 14 Mar 2020 03:09:31 +0000</pubDate>
			<dc:creator>age8311</dc:creator>
			<guid isPermaLink="false">7292@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;When I change kspaceFirstOrder2D() to kspaceFirstOrder2DG(), Matlab reports the following error:&#60;/p&#62;
&#60;p&#62;Should I have to install compiler?&#60;/p&#62;
&#60;p&#62;My PC system is below&#60;br /&#62;
======================================&#60;br /&#62;
OS : Window 10&#60;br /&#62;
CPU : Intel(R) Core(TM) i7-8700K&#60;br /&#62;
GPU : NVIDIA GeForce GTX 1080&#60;br /&#62;
======================================&#60;/p&#62;
&#60;p&#62;=======Command window=================&#60;br /&#62;
&#38;gt;&#38;gt;example_us_beam_patterns&#60;/p&#62;
&#60;p&#62;k-Wave Transducer Properties&#60;br /&#62;
  transducer position:       [1   6  16]&#60;br /&#62;
  transducer width:          14.5455mm (32 grid points)&#60;br /&#62;
  number of elements:        32&#60;br /&#62;
  number of active elements: 32 (elements 1 to 32)&#60;br /&#62;
  element width:             454.5455um (1 grid points)&#60;br /&#62;
  element spacing (kerf):    0m (0 grid points)&#60;br /&#62;
  element pitch:             454.5455um (1 grid points)&#60;br /&#62;
  element length:            5.4545mm (12 grid points)&#60;br /&#62;
  sound speed:               1540m/s&#60;br /&#62;
  focus distance:            20mm&#60;br /&#62;
  elevation focus distance:  19mm&#60;br /&#62;
  steering angle:            0 degrees&#60;br /&#62;
  steering angle max:        auto degrees&#60;br /&#62;
Running k-Wave simulation...&#60;br /&#62;
  start time: 14-Mar-2020 10:59:07&#60;br /&#62;
  reference sound speed: 1540m/s&#60;br /&#62;
  prepending transducer.input_signal with 10 leading zeros&#60;br /&#62;
  appending transducer.input_signal with 10 trailing zeros&#60;br /&#62;
  dt: 88.5478ns, t_end: 44.9823us, time steps: 509&#60;br /&#62;
  input grid size: 88 by 44 by 44 grid points (40 by 20 by 20mm)&#60;br /&#62;
  maximum supported frequency: 1.694MHz&#60;br /&#62;
  expanding computational grid...&#60;br /&#62;
  computational grid size: 128 by 64 by 64 grid points&#60;br /&#62;
  precomputation completed in 0.091849s&#60;br /&#62;
  saving input files to disk...&#60;br /&#62;
  completed in 1.042s&#60;br /&#62;
+---------------------------------------------------------------+&#60;br /&#62;
&#124;                  kspaceFirstOrder-CUDA v1.3                   &#124;&#60;br /&#62;
+---------------------------------------------------------------+&#60;br /&#62;
&#124; Reading simulation configuration:                      Failed &#124;&#60;br /&#62;
+---------------------------------------------------------------+&#60;br /&#62;
+---------------------------------------------------------------+&#60;br /&#62;
&#124;            !!! K-Wave experienced a fatal error !!!           &#124;&#60;br /&#62;
+---------------------------------------------------------------+&#60;br /&#62;
&#124; Error: File C:\Users\최영수\AppData\Local\Temp\kwave_input_   &#124;&#60;br /&#62;
&#124;        data14-Mar-2020-10-59-07.h5 was not found or cannot    &#124;&#60;br /&#62;
&#124;        be opened.: iostream stream error                      &#124;&#60;br /&#62;
+---------------------------------------------------------------+&#60;br /&#62;
&#124;                      Execution terminated                     &#124;&#60;br /&#62;
+---------------------------------------------------------------+&#60;br /&#62;
Error using h5readc&#60;br /&#62;
The filename specified was either not found on the MATLAB path or it contains unsupported characters.&#60;br /&#62;
Error in h5read (line 66)&#60;br /&#62;
[data,var_class] = h5readc(Filename,Dataset,start,count,stride);&#60;br /&#62;
Error in kspaceFirstOrder3DC (line 569)&#60;br /&#62;
Nx = h5read(output_filename, '/Nx');&#60;br /&#62;
Error in kspaceFirstOrder3DG (line 69)&#60;br /&#62;
sensor_data = kspaceFirstOrder3DC(varargin{:});&#60;br /&#62;
Error in example_us_beam_patterns (line 180)&#60;br /&#62;
sensor_data = kspaceFirstOrder3DG(kgrid, medium, transducer, sensor, input_args{:});
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
