<div dir="ltr"><div class="gmail_quote"><div>Hi Roland, </div><div><br></div><div>Thanks again for your email.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> I have VisIt 3 and ETK Mayer downloaded which I believe doesn't have<br>
> CarpetHDF5. How do I use the CarpetHDF5 reader? Do I need to install it<br>
> from <a href="https://bitbucket.org/rhaas80/carpethdf5/src/multifile/" rel="noreferrer" target="_blank">https://bitbucket.org/rhaas80/carpethdf5/src/multifile/</a> or is there a<br>
> newer version?<br>
That is still the newest version. Though I do not know of that version<br>
will compile with VisIt 3 (it may have changed the plugin interfaces).<br>
<br>
I had a look at VisIt 3.1<br>
(<a href="https://github.com/visit-dav/visit/releases/download/v3.1.0/visit3_1_0.linux-x86_64-debian9.tar.gz" rel="noreferrer" target="_blank">https://github.com/visit-dav/visit/releases/download/v3.1.0/visit3_1_0.linux-x86_64-debian9.tar.gz</a><br>
since I run Debian) and as far as I can tell that one includes the<br>
CarpetHDF5 reader in<br>
visit3_1_0.linux-x86_64/3.1.0/linux-x86_64/plugins/databases/libMCarpetHDF5Database.so</blockquote><div><br></div><div>I installed VisIt 3.1.0 from the link. I tried running the visualization script with it and that gives me errors. The issue still seems to be about reading Carpet HDF5 files.</div><div><br></div><div><br></div><div>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</div><div>VisIt: Error - VisIt could not read from the file "/afs/<a href="http://crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5" target="_blank">crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5</a>".<br><br>The generated error message was:<br><br>There was an error opening /afs/<a href="http://crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5" target="_blank">crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5</a>. It may be an invalid file.<br>VisIt tried using the following file format readers to open the file: <No suitable plugins were identified><br>VisIt: Error - Cannot create a plot until a database has been opened.<br></div><div><div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</div><div><br></div><div><br></div><div><div></div></div><div></div><div></div></div><div></div></div><div>For assurance, I checked that the installed version of VisIt 3.1.0 has a folder on CarpetHDF5 in : </div><div>visit/3.1.0/visit3.1.0/src/databases/CarpetHDF5</div><div>Should this be the only folder with CarpetHDF5 created?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> As to s.screenCapture, it was by default set to 0 , I have attached a<br>
> sample image.<br>
> setting s.screenCapture = 1 gives empty images, so does not fix the problem.<br>
I see. The first step will then be to try and see if you can load a<br>
Carpet HDF5 file in the GUI to make sure that at least in principle you<br>
should be able to load a file (as compared to there being a scripting<br>
issue).<br>
<br>
You should also make sure that when the script runs the file is<br>
actually opened by CarpetHDF5 and not some other plugin that can read<br>
HDF5 files (PIXIE is often doing this). I believe there is some output<br>
to screen about which reader is used.<br></blockquote><div><br></div><div>On trying to load a file on Visit GUI I get this error message:</div><div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</div><div></div></div><div>VisIt could not read from the file "/afs/<a href="http://crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5">crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5</a>".<br><br>The generated error message was:<br><br>There was an error opening /afs/<a href="http://crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5">crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5</a>. It may be an invalid file.<br>VisIt tried using the following file format readers to open the file: <No suitable plugins were identified><br></div><div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</div><div></div></div><div>And when I'm selecting the file, there is no option for CarpetHDF5 in the dropdown list of supported file name/extension.</div><div><br></div><div>Thank you for your help,</div><div>Atul</div></div></div>