<?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: kspaceFirstOrder3DC and HD5 issue when running on a cluster</title>
		<link>http://www.k-wave.org/forum/topic/kspacefirstorder3dc-and-hd5-issue-when-running-on-a-cluster</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:41:01 +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/kspacefirstorder3dc-and-hd5-issue-when-running-on-a-cluster" rel="self" type="application/rss+xml" />

		<item>
			<title>ellianarv on "kspaceFirstOrder3DC and HD5 issue when running on a cluster"</title>
			<link>http://www.k-wave.org/forum/topic/kspacefirstorder3dc-and-hd5-issue-when-running-on-a-cluster#post-8462</link>
			<pubDate>Wed, 23 Feb 2022 22:37:56 +0000</pubDate>
			<dc:creator>ellianarv</dc:creator>
			<guid isPermaLink="false">8462@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi! I'm running a kspaceFirstOrder3DC simulation on a DIRAC cluster. I keep getting the following error. Does anyone have any advice? I'm new to MATLAB and k-Wave. &#60;/p&#62;
&#60;p&#62;Error using hdf5lib2&#60;br /&#62;
The HDF5 library encountered an error and produced the following stack trace&#60;br /&#62;
information:&#60;/p&#62;
&#60;p&#62;    H5FD_sec2_write               file write failed: time = Wed Feb 23 16:28:02&#60;br /&#62;
    2022&#60;br /&#62;
, filename = '/tmp/kwave_input_data23-Feb-2022-16-27-32.h5', file descriptor =&#60;br /&#62;
848, errno = 28, error message = 'No space left on device', buf =&#60;br /&#62;
0x2aaadc8cdc90, total write size = 96, bytes this sub-write = 96, bytes&#60;br /&#62;
actually written = 18446744073709551615, offset = 0&#60;br /&#62;
    H5FD_write                    driver write request failed&#60;br /&#62;
    H5F_sblock_flush              unable to write superblock&#60;br /&#62;
    H5C_flush_single_entry        unable to flush entry&#60;br /&#62;
    H5C_flush_cache               dirty pinned entry flush failed.&#60;br /&#62;
    H5AC_flush                    Can't flush cache.&#60;br /&#62;
    H5F_flush                     unable to flush metadata cache&#60;br /&#62;
    H5F_dest                      unable to flush cache&#60;br /&#62;
    H5FD_sec2_write               file write failed: time = Wed Feb 23 16:28:02&#60;br /&#62;
    2022&#60;br /&#62;
, filename = '/tmp/kwave_input_data23-Feb-2022-16-27-32.h5', file descriptor =&#60;br /&#62;
848, errno = 28, error message = 'No space left on device', buf =&#60;br /&#62;
0x2aaadc8cdcc0, total write size = 96, bytes this sub-write = 96, bytes&#60;br /&#62;
actually written = 18446744073709551615, offset = 0&#60;br /&#62;
    H5FD_write                    driver write request failed&#60;br /&#62;
    H5F_sblock_flush              unable to write superblock&#60;br /&#62;
    H5C_flush_single_entry        unable to flush entry&#60;br /&#62;
    H5C_flush_invalidate_cache    dirty entry flush destroy failed.&#60;br /&#62;
    H5C_dest                      unable to flush cache&#60;br /&#62;
    H5AC_dest                     can't destroy cache&#60;br /&#62;
    H5F_dest                      problems closing file&#60;br /&#62;
    H5F_try_close                 problems closing file&#60;br /&#62;
    H5F_close                     can't close file&#60;br /&#62;
    H5I_dec_app_ref               can't decrement ID ref count&#60;br /&#62;
    H5Fclose                      decrementing file ID failed&#60;/p&#62;
&#60;p&#62;Error in H5ML.id/close (line 47)&#60;br /&#62;
                H5ML.hdf5lib2(obj.callback, obj.identifier);&#60;/p&#62;
&#60;p&#62;Error in H5ML.id/delete (line 36)&#60;br /&#62;
        obj.close();&#60;/p&#62;
&#60;p&#62;Error in h5create&#38;gt;create_dataset (line 160)&#60;br /&#62;
function create_dataset(options)&#60;/p&#62;
&#60;p&#62;Error in h5create (line 85)&#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}),&#60;br /&#62;
        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 kspaceFirstOrder3DC (line 532)&#60;br /&#62;
eval(run_string);&#60;/p&#62;
&#60;p&#62;Error in Simscript_EV (line 142)&#60;br /&#62;
    sensor_data = kspaceFirstOrder3DC(kgrid, medium, source, sensor,&#60;br /&#62;
    input_args{:});&#60;br /&#62;
&#38;gt; In h5create&#38;gt;create_dataset (line 160)&#60;br /&#62;
  In h5create (line 85)&#60;br /&#62;
  In writeMatrix (line 197)&#60;br /&#62;
  In kspaceFirstOrder_saveToDisk (line 462)&#60;br /&#62;
  In kspaceFirstOrder3D (line 673)&#60;br /&#62;
  In kspaceFirstOrder3DC (line 532)&#60;br /&#62;
  In Simscript_EV (line 142)&#60;br /&#62;
Error using h5write (line 85)&#60;br /&#62;
The file '/tmp/kwave_input_data23-Feb-2022-16-27-32.h5' is not an HDF5 file.&#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}),&#60;br /&#62;
        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 kspaceFirstOrder3DC (line 532)&#60;br /&#62;
eval(run_string);&#60;/p&#62;
&#60;p&#62;Error in Simscript_EV (line 142)&#60;br /&#62;
    sensor_data = kspaceFirstOrder3DC(kgrid, medium, source, sensor,&#60;br /&#62;
    input_args{:});&#60;/p&#62;
&#60;p&#62;--------------------------------------------------------------------------------&#60;br /&#62;
       Segmentation violation detected at Wed Feb 23 16:28:11 2022 -0500&#60;br /&#62;
--------------------------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;Configuration:&#60;br /&#62;
  Crash Decoding           : Disabled - No sandbox or build area path&#60;br /&#62;
  Crash Mode               : continue (default)&#60;br /&#62;
  Default Encoding         : UTF-8&#60;br /&#62;
  Deployed                 : false&#60;br /&#62;
  GNU C Library            : 2.17 stable&#60;br /&#62;
  Graphics Driver          : Unknown software&#60;br /&#62;
  Java Version             : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode&#60;br /&#62;
  MATLAB Architecture      : glnxa64&#60;br /&#62;
  MATLAB Entitlement ID    : 7561268&#60;br /&#62;
  MATLAB Root              : /opt/apps/software/MATLAB/2018b&#60;br /&#62;
  MATLAB Version           : 9.5.0.944444 (R2018b)&#60;br /&#62;
  OpenGL                   : software&#60;br /&#62;
  Operating System         : &#34;Red Hat Enterprise Linux Server release 7.4 (Maipo)&#34;&#60;br /&#62;
  Process ID               : 215868&#60;br /&#62;
  Processor ID             : x86 Family 6 Model 85 Stepping 4, GenuineIntel&#60;br /&#62;
  Session Key              : ecc18c09-d128-4e3c-950c-47a0564dd806&#60;br /&#62;
  Static TLS mitigation    : Disabled: Unable to open display&#60;br /&#62;
  Window System            : No active display&#60;/p&#62;
&#60;p&#62;Fault Count: 1&#60;/p&#62;
&#60;p&#62;Abnormal termination&#60;/p&#62;
&#60;p&#62;Register State (from fault):&#60;br /&#62;
  RAX = 0000000000000000  RBX = 00002aad41472080&#60;br /&#62;
  RCX = 0000000000000000  RDX = 00002aad46412420&#60;br /&#62;
  RSP = 00007fffffffbbc0  RBP = 0000000000000000&#60;br /&#62;
  RSI = 00002aad414865d0  RDI = 00002aad41472080&#60;/p&#62;
&#60;p&#62;   R8 = 0000000000000001   R9 = 00007fffffffbc63&#60;br /&#62;
  R10 = 0000000000000002  R11 = 0000000000000073&#60;br /&#62;
  R12 = 0000000000000000  R13 = 0000000000000064&#60;br /&#62;
  R14 = 00002aaae304a9f0  R15 = 00002aad41489280&#60;/p&#62;
&#60;p&#62;  RIP = 00002aad4600c30c  EFL = 0000000000010206&#60;/p&#62;
&#60;p&#62;   CS = 0033   FS = 0000   GS = 0000&#60;/p&#62;
&#60;p&#62;Stack Trace (from fault):&#60;br /&#62;
[  0] 0x00002aad4600c30c /opt/apps/software/MATLAB/2018b/bin/glnxa64/libhdf5.so.8+00656140&#60;br /&#62;
[  1] 0x00002aad46070b27 /opt/apps/software/MATLAB/2018b/bin/glnxa64/libhdf5.so.8+01067815 H5I_clear_type+00000295&#60;br /&#62;
[  2] 0x00002aad46008ab6 /opt/apps/software/MATLAB/2018b/bin/glnxa64/libhdf5.so.8+00641718 H5F_term_interface+00000086&#60;br /&#62;
[  3] 0x00002aad45fa6e8e /opt/apps/software/MATLAB/2018b/bin/glnxa64/libhdf5.so.8+00241294&#60;br /&#62;
[  4] 0x00002aaaac60ba69                                   /lib64/libc.so.6+00232041&#60;br /&#62;
[  5] 0x00002aaaac60bab5                                   /lib64/libc.so.6+00232117&#60;br /&#62;
[  6] 0x00002aaaac5f4c0c                                   /lib64/libc.so.6+00138252 __libc_start_main+00000252&#60;br /&#62;
[  7] 0x00000000004071ba /opt/apps/software/MATLAB/2018b/bin/glnxa64/MATLAB+00029114&#60;br /&#62;
[  8] 0x0000000000000000                                   &#38;lt;unknown-module&#38;gt;+00000000&#60;/p&#62;
&#60;p&#62;** This crash report has been saved to disk as /home/ellianarv/matlab_crash_dump.215868-1 **&#60;/p&#62;
&#60;p&#62;MATLAB is exiting because of fatal error&#60;br /&#62;
/cm/local/apps/slurm/var/spool/job97698/slurm_script: line 19: 215868 Killed                  matlab -nodisplay -nosplash -r &#34;Simscript_EV&#34; -logfile /home/ellianarv/log/simscript_matlab.log
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
