<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-4">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you so much for the help!</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div>
<div dir="ltr">_______________________</div>
<div dir="ltr"><i><font size="2">Maria C. Babiuc Hamilton, Ph.D.</font></i></div>
<div dir="ltr"><i><font size="2">Professor, Department of Physics </font></i></div>
<div dir="ltr"><i style="font-size:12pt"><font size="2"><i style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><font size="2"></font></i>College of Science, </font></i><i style="font-size:12pt"><font size="2">Marshall University,</font></i></div>
<div dir="ltr"><i><font size="2">1 John Marshall Drive, </font></i><i style="font-size:12pt"><font size="2">Huntington, WV, 25755</font></i></div>
<div dir="ltr"><i><font size="2"><i style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><font size="2"><i style="font-size:12pt"><font size="2">Room S 257, <span id="ms-rterangepaste-start"></span><i style="font-size:16px"><font size="2">Phone:
(304)696-2754</font></i></font></i></font></i><br>
</font></i></div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0);">
<br>
<hr tabindex="-1" style="display:inline-block; width:98%;">
<b>From:</b> Roland Haas<br>
<b>Sent:</b> Wednesday, June 15, 2022 4:29 PM<br>
<b>To:</b> Chris Stevens<br>
<b>Cc:</b> Hamilton, Maria; users@einsteintoolkit.org<br>
<b>Subject:</b> Re: Combine multiple h5 files
<div><br>
</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello all,<br>
<br>
Chris' answer is absolutely correct. <br>
<br>
The utilities are built by default by Simfactory and by doing `make<br>
sim-utils` using a non-simfactory build.<br>
<br>
hdf5_merge is the tool to use to combine multiple HDF5 files, eg<br>
different variables or multiple segments of the same simulation.<br>
<br>
It won't merge output files from multiple processes into a single file<br>
(so foo.xyz.file_0.h5 and foo.xyz.file_1.h5 cannot be merged but<br>
foo.xyz.file_0.h5 and bar.xyz.file_0.h5 can be merged).<br>
<br>
If you need merge files foo.xyz.file_0.h5 and foo.xyz.file_1.h5 into<br>
foo.xyz.h5 then you can use the hdf5_slicer utility and its<br>
--out3d-cube option (hdf5_slicer --help gives some examples).<br>
<br>
Yours,<br>
Roland<br>
<br>
> KIa ora Maria,<br>
> <br>
> For me, there are hdf scripts located in Cactus/exe/<Build name>,<br>
> such as hdf5_merge, which should do what you are after. These<br>
> potentially may only be there for certain build options but someone<br>
> more knowledgeable than me can probably expand on that.<br>
> <br>
> Cheers,<br>
> <br>
> Chris<br>
> <br>
> [cid:8795d7d8-3669-4adf-905d-788d81a3ba8c]<br>
> <br>
> <br>
> [cid:3a28163e-f206-41a5-8619-e8b15edd91b0]<br>
> <br>
> <br>
> <br>
> Dr Chris Stevens<br>
> <br>
> Lecturer in Applied Mathematics<br>
> <br>
> Rm 602, Jack Erskine building<br>
> <br>
> School of Mathematics and Statistics<br>
> <br>
> T: +64 3 369 0396 (Internal 90396)<br>
> <br>
> University of Canterbury | Te Whare Wànanga o Waitaha<br>
> <br>
> Private Bag 4800, Christchurch 8140, New Zealand<br>
> <br>
> <a href="https://urldefense.com/v3/__http://www.chrisdoesmaths.com__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSarFL5K9$" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable">
https://urldefense.com/v3/__http://www.chrisdoesmaths.com__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSarFL5K9$</a><br>
> <https://urldefense.com/v3/__http://www.chrisdoesmaths.com/__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSQw-a2Wd$<br>
> ><br>
> <br>
> <br>
> Director<br>
> SCRI Ltd<br>
> <a href="https://urldefense.com/v3/__http://www.scri.co.nz__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSaWVNa5R$" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable">
https://urldefense.com/v3/__http://www.scri.co.nz__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSaWVNa5R$</a><br>
> <https://urldefense.com/v3/__http://www.scri.co.nz/__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSYsOUyhW$<br>
> ><br>
> <br>
> ________________________________<br>
> From: users-bounces@einsteintoolkit.org<br>
> <users-bounces@einsteintoolkit.org> on behalf of Hamilton, Maria<br>
> <babiuc@marshall.edu> Sent: 16 June 2022 08:02 To: Roland Haas<br>
> <rhaas@illinois.edu> Cc: users@einsteintoolkit.org<br>
> <users@einsteintoolkit.org> Subject: [Users] Combine multiple h5 files<br>
> <br>
> You don't often get email from babiuc@marshall.edu. Learn why this is<br>
> important<https://urldefense.com/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!DZ3fjg!7WZG6jdWvLk-xY5fpz4Gs3WVdDMulNQE0FhbqLOwxf9IysF59IG7mH_Z0TF3XaW3u_RV_uOqShXgQ0PhdVxvHwVDSfd6n3TN$<br>
> > Hi,<br>
> <br>
> I have a quick question: my output has a series of ....xyz.file_...h5<br>
> and I would like to look at them. Do I have to combine them? If yes,<br>
> is there a way to combine them in one single file?<br>
> <br>
> Maria<br>
> <br>
> _______________________<br>
> Maria C. Babiuc Hamilton, Ph.D.<br>
> Professor, Department of Physics<br>
> College of Science, Marshall University,<br>
> 1 John Marshall Drive, Huntington, WV, 25755<br>
> Room S 257, Phone: (304)696-2754<br>
> <br>
<br>
<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://keys.gnupg.net" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable">
http://keys.gnupg.net</a>.<br>
</div>
</span></font></div>
</div>
</div>
</div>
</div>
</body>
</html>