<?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 problems</title>
		<link>http://www.k-wave.org/forum/topic/hdf5-problems</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 22:28:46 +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-problems" rel="self" type="application/rss+xml" />

		<item>
			<title>lschlieder on "hdf5 problems"</title>
			<link>http://www.k-wave.org/forum/topic/hdf5-problems#post-8736</link>
			<pubDate>Fri, 07 Apr 2023 12:27:33 +0000</pubDate>
			<dc:creator>lschlieder</dc:creator>
			<guid isPermaLink="false">8736@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;After a week of fiddeling around, I found out, that there is an environment Variable under linux called HDF5_USE_FILE_LOCKING (&#60;a href=&#34;https://docs.hdfgroup.org/hdf5/develop/_h5public_8h.html#a347a82c5915f93e3f03265aac4f7a795&#34; rel=&#34;nofollow&#34;&#62;https://docs.hdfgroup.org/hdf5/develop/_h5public_8h.html#a347a82c5915f93e3f03265aac4f7a795&#60;/a&#62;)&#60;/p&#62;
&#60;p&#62;You can just:&#60;br /&#62;
export HDF5_USE_FILE_LOCKING='FALSE'
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lschlieder on "hdf5 problems"</title>
			<link>http://www.k-wave.org/forum/topic/hdf5-problems#post-8735</link>
			<pubDate>Wed, 05 Apr 2023 17:33:18 +0000</pubDate>
			<dc:creator>lschlieder</dc:creator>
			<guid isPermaLink="false">8735@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I posted a similar topic in general, and still have found no solution. I am running into a very weird situation, where kspaceFirstOrder-CUDA fails to open the input h5 file. It seems unable to open or locate the file: &#60;/p&#62;
&#60;p&#62;me@cluster_node:/clusterpath/KWaveSimulationsCorrect/rng806480170$ kspaceFirstOrder-CUDA -i ./rholo3d_kwave_input.h5 -o test.h5&#60;/p&#62;
&#60;p&#62;┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│                  kspaceFirstOrder-CUDA v1.3                   │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Reading simulation configuration:                      Failed │&#60;br /&#62;
└───────────────────────────────────────────────────────────────┘&#60;br /&#62;
┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│            !!! K-Wave experienced a fatal error !!!           │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Error: File ./rholo3d_kwave_input.h5 was not found or cannot  │&#60;br /&#62;
│        be opened.: iostream error                             │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│                      Execution terminated                     │&#60;br /&#62;
└───────────────────────────────────────────────────────────────┘&#60;/p&#62;
&#60;p&#62;The weird thing is, that the same program can use the same input files and it works, when i start the program on my local pc, instead of the cluster i want to use everything works fine. &#60;/p&#62;
&#60;p&#62;me@mypc:/cluster_remote_smtp_access/KWaveSimulationsCorrect/rng806480170$ kspaceFirstOrder-CUDA -i rholo3d_kwave_input.h5 -o test.h5&#60;/p&#62;
&#60;p&#62;┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│                  kspaceFirstOrder-CUDA v1.3                   │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Reading simulation configuration:                        Done │&#60;br /&#62;
│ Selected GPU device id:                                     0 │&#60;br /&#62;
│ GPU device name:                   NVIDIA GeForce GTX 1650 Ti │&#60;br /&#62;
│ Number of CPU threads:                                     16 │&#60;br /&#62;
│ Processor name:     Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│                      Simulation details                       │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Domain dimensions:                            256 x 256 x 128 │&#60;br /&#62;
│ Medium type:                                               3D │&#60;br /&#62;
│ Simulation time steps:                                    828 │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│                        Initialization                         │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Memory allocation:                                       Done │&#60;/p&#62;
&#60;p&#62;The files are created by Matlab2019b, since newer versions crash in various ways, i.e. 2022a:&#60;/p&#62;
&#60;p&#62;Error using hdf5lib2&#60;br /&#62;
Unable to open the file because of HDF5 Library error. Reason:Unknown&#60;/p&#62;
&#60;p&#62;Error in H5F.open (line 130)&#60;br /&#62;
file_id = H5ML.hdf5lib2('H5Fopen', filename, flags, fapl, is_remote);&#60;/p&#62;
&#60;p&#62;Error in h5write (line 108)&#60;br /&#62;
    file_id    = H5F.open(Filename,flags,fapl);&#60;/p&#62;
&#60;p&#62;Error in writeMatrix (line 204)&#60;br /&#62;
h5write(filename, ['/' matrix_name], matrix);&#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}, 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 init_kwave_sim (line 169)&#60;br /&#62;
sensor_data = kspaceFirstOrder3D(kgrid, medium, source, sensor, input_args{:});&#60;/p&#62;
&#60;p&#62;Now i do not even know where to start debugging this.&#60;br /&#62;
First problem could be, that the file isn't there, but i checked that like 100 times. It could be some weird access stuff, but i never ran into problems before, though i obviously do not have sudo rights on the cluster.&#60;/p&#62;
&#60;p&#62;I assume, since the binaries are statically linked everything is contained within them, and i do not need to worry about CUDA versions or hdf5 versions. Is that correct? Also does the Card i run it on matter? I assume it just works for all new Nvidia cards, like A100, Tesla V100 etc, correct? &#60;/p&#62;
&#60;p&#62;Does anyone have any ideas that go beyond &#34;have you checked if the file is really there?&#34;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
