<?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: hdf5 occasional errors</title>
		<link>http://www.k-wave.org/forum/topic/hdf5-occasional-errors</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:20:37 +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/hdf5-occasional-errors" rel="self" type="application/rss+xml" />

		<item>
			<title>mcdannold on "hdf5 occasional errors"</title>
			<link>http://www.k-wave.org/forum/topic/hdf5-occasional-errors#post-8387</link>
			<pubDate>Thu, 16 Dec 2021 16:51:58 +0000</pubDate>
			<dc:creator>mcdannold</dc:creator>
			<guid isPermaLink="false">8387@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I'm starting a new batch today and will let you know
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "hdf5 occasional errors"</title>
			<link>http://www.k-wave.org/forum/topic/hdf5-occasional-errors#post-8386</link>
			<pubDate>Thu, 16 Dec 2021 16:28:31 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8386@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;That’s weird then. Is there any extra information in the stack trace in the exception you catch so we can see which call it gets tripped up on?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mcdannold on "hdf5 occasional errors"</title>
			<link>http://www.k-wave.org/forum/topic/hdf5-occasional-errors#post-8385</link>
			<pubDate>Thu, 16 Dec 2021 16:06:43 +0000</pubDate>
			<dc:creator>mcdannold</dc:creator>
			<guid isPermaLink="false">8385@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad,&#60;/p&#62;
&#60;p&#62;I don't think that's the problem. When I specify the scratch file names, in addition to adding the data and time as you suggest, I add a random integer to it to further reduce the odds for collisions. Also, once it starts happening it happens on all subsequent simulations called on that node. &#60;/p&#62;
&#60;p&#62;-N
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "hdf5 occasional errors"</title>
			<link>http://www.k-wave.org/forum/topic/hdf5-occasional-errors#post-8361</link>
			<pubDate>Thu, 16 Dec 2021 10:16:31 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">8361@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Assuming you're using &#60;code&#62;kspaceFirstOrder3DC&#60;/code&#62; (or G), if you are creating files using lots of different processes, one possibility is collisions between the auto generated file name, which is unique only using a time stamp. For example, if process A and process B both try to create a file to the same scratch or home directory at the same time, this could cause collisions. You could avoid this by setting your own file name using the optional input &#60;code&#62;&#38;#39;DataName&#38;#39;&#60;/code&#62; and making sure it's unique.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mcdannold on "hdf5 occasional errors"</title>
			<link>http://www.k-wave.org/forum/topic/hdf5-occasional-errors#post-8356</link>
			<pubDate>Fri, 10 Dec 2021 23:51:50 +0000</pubDate>
			<dc:creator>mcdannold</dc:creator>
			<guid isPermaLink="false">8356@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I am running hundreds of simultaneous k-Wave simulations on a linux cluster. Each instance runs Matlab on a computing node and executes the simulation using compiled k-Wave code. After each simulation is run, it will run another one. So far, it's working fine. However, on occasion some of the instances are giving me trouble. It will crash when writing out the xxx_input.hdf5.  &#60;/p&#62;
&#60;p&#62;It's not a huge deal, but any idea what might be going wrong? Perhaps something is not installed correctly on some of the nodes? I am running my script that runs the simulation using try/catch, so when I get the problem it moves on to the next simulation. When I get this error, it happens for all subsequent ones, which makes me wonder if it's something going on with the specific node.&#60;/p&#62;
&#60;p&#62;Here is what I see:&#60;/p&#62;
&#60;p&#62;Running k-Wave simulation...&#60;br /&#62;
  start time: 10-Dec-2021 17:31:03&#60;br /&#62;
  reference sound speed: 2000m/s&#60;br /&#62;
  dt: 48.7013ns, t_end: 133.7825us, time steps: 2748&#60;br /&#62;
  input grid size: 44 by 44 by 492 grid points (14.2857 by 14.2857 by 159.7403mm)&#60;br /&#62;
  maximum supported frequency: 2.31MHz&#60;br /&#62;
  expanding computational grid...&#60;br /&#62;
  computational grid size: 64 by 64 by 512 grid points&#60;br /&#62;
  precomputation completed in 0.83197s&#60;br /&#62;
  saving input files to disk...&#60;/p&#62;
&#60;p&#62;ME =&#60;/p&#62;
&#60;p&#62;  MException with properties:&#60;/p&#62;
&#60;p&#62;    identifier: 'MATLAB:imagesci:hdf5lib:libraryError'&#60;br /&#62;
       message: 'The HDF5 library encountered an error and produced the following stack trace information: ...'&#60;br /&#62;
         cause: {0×1 cell}&#60;br /&#62;
         stack: [8×1 struct]
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
