<?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: Record Movie GPU Simulation</title>
		<link>http://www.k-wave.org/forum/topic/record-movie-gpu-simulation</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:28:31 +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/record-movie-gpu-simulation" rel="self" type="application/rss+xml" />

		<item>
			<title>Alexll7 on "Record Movie GPU Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/record-movie-gpu-simulation#post-6540</link>
			<pubDate>Tue, 31 Jul 2018 12:51:11 +0000</pubDate>
			<dc:creator>Alexll7</dc:creator>
			<guid isPermaLink="false">6540@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Jiri ! &#60;/p&#62;
&#60;p&#62;First of all, thanks you very much for your answer !&#60;br /&#62;
Ok for the impossibility of using &#34;RecordMovie&#34; in this case.&#60;br /&#62;
I have precisely chosen the second possibility and I've put a sensor plane just under my transducer. If other people use the same solution, I advise the Matlab app &#34;Slicer&#34; to &#34;read&#34; your sensor's output like a video (you can pass before your eyes thanks the scrollbar). &#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Alex
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Record Movie GPU Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/record-movie-gpu-simulation#post-6539</link>
			<pubDate>Tue, 31 Jul 2018 10:08:12 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">6539@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Alex,&#60;br /&#62;
it is not possible to record movie while using the C++/CUDA code. This would require Matlab and C++ communicating every time step. You have two possibilities:&#60;br /&#62;
(1) run the code in Matlab (if you want to use GPUs in Matlab, recast the data to gpuArray-single).&#60;br /&#62;
(2) parse the output file and create the video yourself. For example, if you want to see the pressure wave in a 2D plane, define a 2D cuboid in sensors. After the simulation, you'll find a group /p in the output file. Here you can find you sensor mask as one of the datasets /1 /2 etc. (depending on how many sensors you use and the order you created them). Finally, the dataset will have a shape of [Nx, Ny, Nz, Nt]. By reading the timesteps one by one, you can generate the video.&#60;/p&#62;
&#60;p&#62;Best,&#60;br /&#62;
Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alexll7 on "Record Movie GPU Simulation"</title>
			<link>http://www.k-wave.org/forum/topic/record-movie-gpu-simulation#post-6533</link>
			<pubDate>Tue, 24 Jul 2018 12:41:43 +0000</pubDate>
			<dc:creator>Alexll7</dc:creator>
			<guid isPermaLink="false">6533@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello there !&#60;br /&#62;
I run my simulations with GPU on a cluster. I'm trying to use the option &#34;RecordMovie&#34; but I'm not succeeding in this. In fact I save the input file like that : &#60;/p&#62;
&#60;p&#62;«&#60;br /&#62;
input_args = {...&#60;br /&#62;
    'PMLInside', false, 'PMLSize', [PML_X_SIZE, PML_Y_SIZE, PML_Z_SIZE], ...&#60;br /&#62;
    'DataCast', DATA_CAST, 'DataRecast', true, 'PlotSim', false, 'RecordMovie', true, 'MovieName', '/data/epione/user/allegay/output/K_wave/film', 'SaveToDisk', '/data/epione/user/allegay/input/K_wave/input_film.h5'};&#60;/p&#62;
&#60;p&#62;sensor_data = kspaceFirstOrder3D(kgrid, medium, transducer, sensor, input_args{:}); »&#60;/p&#62;
&#60;p&#62;and after that I just use « kspaceFirstOrder3D-CUDA_OLD -i input_film.h5 -o output_film.h5 » &#60;/p&#62;
&#60;p&#62;I have no errors and the simulation is OK but I just obtain the output file &#34;output_film.h5&#34; but no movie...? The movie is in the hdf5 file ?&#60;br /&#62;
Or my option &#34;RecordMovie&#34; is not taken into account because it is not saved in the hdf5 file ?&#60;br /&#62;
How could I do this please ?&#60;br /&#62;
Thanks in advance and sorry for my very bad english.&#60;/p&#62;
&#60;p&#62;Alexandre L
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
