[Paraview] reading classic *.cosmo files in versions greater than 3

Berk Geveci berk.geveci at kitware.com
Wed Jul 1 08:08:18 EDT 2015


Hi Bucky,

ParaView 4.3 uses a reader code from the CosmoTools library. This is unlike
previous versions which had a built-in reader. The new reader code is
up-to-date with the current HACC output and is maintained the the HACC
team. Hence the difference. Looking at the CosmoTools library, there seems
to be a compile time option to set the integer types to 32 bits
(TYPE_IDS_64BITS). However, since this is a compile time option in
CosmoTools, the only way to get at this is to recompile CosmoTools and
ParaView. If you are interested in pursuing this option, we can help. We
can't really change the binaries we distribute since the 64 bit tags is
currently what HACC outputs.

Best,
-berk


On Tue, Jun 30, 2015 at 10:50 AM, Kashiwa, Bucky <bak at lanl.gov> wrote:

> We have been very happily reading classical *.cosmo formatted datafiles
> using version 3.98.1, but when reading the same files in subsequent
> versions (4.0, 4.1, 4.2, 4.3) the data get read, but wrongly interpreted.
> I did the diff of the PCosmoReader.h between v3.98.1 and v4.3.1 which
> suggested to me that the last number in the cosmo data (called ¹tag¹) is
> now int64_t rather than integer.  So if we write the cosmo data with type
> MPI_2INTEGER (~ fortran kind=SELECTED_INT_KIND(15)) then the data are read
> correctly by the v4.3.1 cosmo reader (without byte swap).
>
> If I select the ŒAdaptive cosmo reader¹ from the reader list, it displays
> a button for the ¹Tag Size¹ which can be 32-bit or 64-bit.  This button
> does not appear on the ŒCosmology Files¹ choice from the reader list.
>
> Could it be that the build system is somehow failing to place the ¹Tag
> Size¹ button on the ŒCosmology Files¹ Properties panel?  If so, it would
> be wonderful to get it put there so that we can have the choice of Tag
> Size on the very useful .cosmo datafiles.  If not, please let us know if
> we are stuck with a 64-bit Tag Size.
>
> Thanks very much.
> ======================================================================73
> <>Bucky Kashiwa PhD, PE  <> Post: MS B216, Los Alamos, NM  87545       <>
> <>  Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov, kashiwa at qwest.net      <>
> <>Voice: 505-667-8812    <>  Fax: 505-665-5926  <>
>                          <> Home: 505-988-7332  <> Cell: 505-795-5581  <>
> =======================================================================73
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150701/8d2ca3ae/attachment.html>


More information about the ParaView mailing list