[Users] NSNSTOHMNS(Gallery example) Plotting issues
Erik Schnetter
schnetter at cct.lsu.edu
Mon Feb 3 14:05:28 CST 2020
Atul
Since VisIt did not try any file readers (and there should be several
that are using HDF5), maybe the problem is that you are using a newer
HDF5 binary format that is not understood by the older HDF5 library
that VisIt might be using? Do you have access to a tool called
"h5format_convert", and if so, can you apply it to your HDF5 files?
-erik
On Mon, Feb 3, 2020 at 2:03 PM Atul Kedia <akedia at nd.edu> wrote:
>
> Hi Roland,
>
> Thanks again for your email.
>>
>> > I have VisIt 3 and ETK Mayer downloaded which I believe doesn't have
>> > CarpetHDF5. How do I use the CarpetHDF5 reader? Do I need to install it
>> > from https://bitbucket.org/rhaas80/carpethdf5/src/multifile/ or is there a
>> > newer version?
>> That is still the newest version. Though I do not know of that version
>> will compile with VisIt 3 (it may have changed the plugin interfaces).
>>
>> I had a look at VisIt 3.1
>> (https://github.com/visit-dav/visit/releases/download/v3.1.0/visit3_1_0.linux-x86_64-debian9.tar.gz
>> since I run Debian) and as far as I can tell that one includes the
>> CarpetHDF5 reader in
>> visit3_1_0.linux-x86_64/3.1.0/linux-x86_64/plugins/databases/libMCarpetHDF5Database.so
>
>
> 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.
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> VisIt: Error - VisIt could not read from the file "/afs/crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5".
>
> The generated error message was:
>
> There was an error opening /afs/crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5. It may be an invalid file.
> VisIt tried using the following file format readers to open the file: <No suitable plugins were identified>
> VisIt: Error - Cannot create a plot until a database has been opened.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
>
> For assurance, I checked that the installed version of VisIt 3.1.0 has a folder on CarpetHDF5 in :
> visit/3.1.0/visit3.1.0/src/databases/CarpetHDF5
> Should this be the only folder with CarpetHDF5 created?
>
>> > As to s.screenCapture, it was by default set to 0 , I have attached a
>> > sample image.
>> > setting s.screenCapture = 1 gives empty images, so does not fix the problem.
>> I see. The first step will then be to try and see if you can load a
>> Carpet HDF5 file in the GUI to make sure that at least in principle you
>> should be able to load a file (as compared to there being a scripting
>> issue).
>>
>> You should also make sure that when the script runs the file is
>> actually opened by CarpetHDF5 and not some other plugin that can read
>> HDF5 files (PIXIE is often doing this). I believe there is some output
>> to screen about which reader is used.
>
>
> On trying to load a file on Visit GUI I get this error message:
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> VisIt could not read from the file "/afs/crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5".
>
> The generated error message was:
>
> There was an error opening /afs/crc.nd.edu/user/a/akedia/simulations/nsnstohmns_in_saeng/output-0000/nsnstohmns/rho.xy.h5. It may be an invalid file.
> VisIt tried using the following file format readers to open the file: <No suitable plugins were identified>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> And when I'm selecting the file, there is no option for CarpetHDF5 in the dropdown list of supported file name/extension.
>
> Thank you for your help,
> Atul
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
--
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/
More information about the Users
mailing list