Web-pages moved to new repo "H5Webpages"
@@ -13,33 +13,9 @@
|
||||
/config.sub -text
|
||||
/configure.ac -text
|
||||
/depcomp -text
|
||||
doc/Building.html -text
|
||||
doc/BuildingHDF5.html -text
|
||||
doc/Downloading.html -text
|
||||
doc/Doxyfile -text
|
||||
doc/H5PartExpress.html -text
|
||||
doc/H5PartIDL.html -text
|
||||
doc/H5PartParaview.html -text
|
||||
doc/H5PartTools.html -text
|
||||
doc/H5PartVisIt.html -text
|
||||
doc/H5PartVisIt/cloud_visit.png -text
|
||||
doc/H5PartVisIt/cloud_visit.s.png -text
|
||||
doc/H5PartVisIt/cloud_visit_2D.png -text
|
||||
doc/H5PartVisIt/cloud_visit_2D.s.png -text
|
||||
doc/H5PartVisIt/visit_query1.png -text
|
||||
doc/H5PartVisIt/visit_query1.s.png -text
|
||||
doc/H5X_File_Format.txt -text
|
||||
doc/H5tools/H5tools.html -text
|
||||
doc/H5tools/H5tools_files/snapshot1.jpg -text
|
||||
doc/InternalLayout.html -text
|
||||
doc/Makefile.am -text
|
||||
doc/UsingC.html -text
|
||||
doc/UsingF.html -text
|
||||
doc/collision_6.png -text
|
||||
doc/collision_6.s.png -text
|
||||
doc/doxyfooter -text
|
||||
doc/h5part.html -text
|
||||
doc/layout.png -text
|
||||
/install-sh -text
|
||||
/license.txt -text
|
||||
/missing -text
|
||||
|
||||
@@ -1,262 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Put your title here!!</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
|
||||
<head>
|
||||
<title>Building H5Part</title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#F0F0F0">
|
||||
<font face="arial,helvetica" size="+2" color="#555588"><h2>Building H5Part</h2></font>
|
||||
<UL>
|
||||
<LI><a href="#Quickstart">Quickstart guide for the impatient.</a>
|
||||
<LI><a href="#Details">Details of the Configuration Script</a>
|
||||
<!-- <LI><a href="UsingC++.html">Using the C++ interface</a> -->
|
||||
<LI><a href="#ConfigOptions">Important Configure Options</a>
|
||||
<LI><a href="#EnvVariables">Important Environment Variables</a>
|
||||
</UL>
|
||||
|
||||
<hr>
|
||||
<a name="Quickstart">
|
||||
<h2>Quickstart <i>for the impatient</i></h2>
|
||||
</a>
|
||||
|
||||
<OL>
|
||||
|
||||
<LI><b>Configure</b>:<br>
|
||||
For the serial implementation
|
||||
<pre>
|
||||
./configure
|
||||
</pre>
|
||||
For the parallel implementation configure with
|
||||
<pre>
|
||||
./configure --enable-parallel
|
||||
</pre>
|
||||
If you also want to build fortran bindings, add the
|
||||
<code>--enable-fortran</code> flag to the configure line.
|
||||
</LI><p>
|
||||
|
||||
<LI><b>Make the Library</b>:<br>
|
||||
Type <code>make</code> to build the library. The libraries are
|
||||
named accordingly.
|
||||
<UL>
|
||||
<LI>libH5Part.a: Serial C/C++ Library.</LI>
|
||||
<LI>libpH5Part.a: Parallel C/C++ library.</LI>
|
||||
<LI>libH5PartF.a: Serial F77/F90 library.</LI>
|
||||
<LI>libpH5PartF.a: Parallel F77/F90 library.</LI>
|
||||
</UL>
|
||||
</LI><p>
|
||||
|
||||
<LI><b>Make Regression Tests and Examples</b>:<br>
|
||||
Just type <code>make tests</code> to build regression tests
|
||||
and/or example programs for H5Part. These tests are
|
||||
<UL>
|
||||
<LI>H5PartF: Fortran example (only build if --enable-fortran
|
||||
is specified).</LI>
|
||||
<LI>H5PartFpar: Parallel Fortran example (only built if both
|
||||
--enable-fortran and --enable-parallel are specified).</LI>
|
||||
<LI>H5PartTest: Serial C example. This test writes a sample
|
||||
datafile and then reopens it for reading. It demonstrates
|
||||
the most basic reading/writing capabilities.</LI>
|
||||
<LI>H5PartTestP: Parallel C example (only built if
|
||||
--enable-parallel is specified). This program only works
|
||||
as an MPI/parallel program.</LI>
|
||||
<LI>Bench: This program will only be built if
|
||||
--enable-parallel is specified. It compares the
|
||||
performance of raw binary
|
||||
I/O (one file per processor), raw binary MPI-IO based
|
||||
parallel I/O to a single file, and the parallel H5Part/HDF5 to
|
||||
a single file. Generally, H5Part should be very close to the
|
||||
MPI-IO implementation in terms of performance, but slower
|
||||
than one-file-per-processor. If HDF5 is slower the
|
||||
MPI-IO, it would indicate that some performance tuning
|
||||
will be required for your platform (contact us, and we will
|
||||
see what we can do!).</LI>
|
||||
</UL>
|
||||
</LI><p>
|
||||
<LI><b>Building Your Own Programs</b>:<br>
|
||||
There are many different subtleties to linking on various
|
||||
computer platforms, but typically one does the following.
|
||||
<UL>
|
||||
<LI>C/C++ Serial:
|
||||
<br><code>#include
|
||||
< H5Part.h > </code> into your
|
||||
source file.
|
||||
<br><code>$CC -I<i>path_to_H5Part.h</i>
|
||||
-I<i>path_to_hdf5.h</i> -o outfile
|
||||
MyFile.cc -L<i>path_to_libH5Part.a</i> -lH5Part
|
||||
-L<i>path_to_libhdf5</i> -lhdf5 -lz <i>-lsz</i></code>
|
||||
</LI>
|
||||
<LI>C/C++ Parallel:
|
||||
<br><code>#include
|
||||
< H5Part.h > </code> into your
|
||||
source file.
|
||||
<br><code>$MPICC -I<i>path_to_H5Part.h</i>
|
||||
-I<i>path_to_hdf5.h</i> -DPARALLEL_IO
|
||||
-DH5_HAVE_PARALLEL -o outfile
|
||||
MyFile.cc -L<i>path_to_libH5Part.a</i> -lH5Part
|
||||
-L<i>path_to_libhdf5</i> -lhdf5 -lz <i>-lsz</i></code>
|
||||
</LI>
|
||||
|
||||
<LI>Fortran Serial:
|
||||
<br><code>include
|
||||
'H5Part.inc'</code> into your
|
||||
source file.
|
||||
<br><code>$FC -I<i>path_to_H5Part.h</i>
|
||||
-I<i>path_to_hdf5.h</i> -o outfile
|
||||
MyFile.cc -L<i>path_to_libH5PartF.a</i> -lH5PartF
|
||||
-L<i>path_to_libhdf5</i> -lhdf5 -lz <i>-lsz</i> -lc</code>
|
||||
</LI>
|
||||
<LI>Fortran Parallel:
|
||||
<br><code>include
|
||||
'H5Part.inc'</code> into your
|
||||
source file.
|
||||
<br><code>$MPIF90 -I<i>path_to_H5Part.h</i>
|
||||
-o outfile
|
||||
MyFile.cc -L<i>path_to_libpH5PartF.a</i> -lpH5PartF
|
||||
-L<i>path_to_libhdf5</i> -lhdf5 -lz <i>-lsz</i> -lc</code>
|
||||
</LI><p>
|
||||
</UL>
|
||||
|
||||
</OL>
|
||||
|
||||
<hr>
|
||||
|
||||
<a name="Details">
|
||||
<h1>Details for H5Part Configure and Build</h1>
|
||||
</a>
|
||||
|
||||
|
||||
<a name="ConfigOptions">
|
||||
<h2>Configure Options</h2>
|
||||
</a>
|
||||
H5Part uses GNU Autoconf to generate a Makefile from the makefile
|
||||
template called <code>Makefile.in</code>.
|
||||
The configure script pays attention to the following
|
||||
configure options;<p>
|
||||
|
||||
<UL>
|
||||
<LI><b>--prefix=PREFIX</b> Install files in PREFIX</LI>
|
||||
<LI><b>--enable-fortran</b> By default H5part will make no attempt to
|
||||
build Fortran bindings. If you add the
|
||||
<code>--enable-fortran</code> flag to the ./configure line, it
|
||||
will create a small test program to determine how to generate
|
||||
the fortran bindings and then create a library that includes
|
||||
those bindings. You may need to set the fortran compiler by
|
||||
setting the <code>FC</code> environment variable in your shell.</LI>
|
||||
<LI><b>--enable-parallel</b> The version of HDF5 that you build for
|
||||
Parallel I/O differs from the library you would build for
|
||||
serial I/O. Consequently, the H5Part libraries must be built
|
||||
specifically for the kind of I/O you have in mind (parallel or
|
||||
serial). The configure script will attempt to find an
|
||||
<code>mpicc</code> if it is available. If no
|
||||
<code>mpicc</code> is available it will use the regular
|
||||
C-compiler and will try to locate the location of the MPI
|
||||
include files and libraries. You can assist the configure
|
||||
program in its search by setting the <code>MPIROOT</code>
|
||||
environment variable.</LI>
|
||||
<LI><b>--enable-tools</b> Builds the currently available tools
|
||||
<br>
|
||||
<b>h5pAttrib</b>, an inspection tool that prints the number of timesteps in a file
|
||||
the file attributes, the step attributes, the dataset names and their values.
|
||||
<br>
|
||||
<b>h5pToGNUplot</b>, a converter to two column ASCII format to load in GNUplot.
|
||||
</LI>
|
||||
<LI><b>--enable-python</b><font color=red> Under construction</font> Option to build python bindings. It has not been tested.
|
||||
</LI>
|
||||
<LI><b>--help</b> Prints configure options.
|
||||
</LI>
|
||||
</UL>
|
||||
<p>
|
||||
|
||||
<a name="MakeOptions">
|
||||
<h2>Make Options</h2>
|
||||
</a>
|
||||
|
||||
<UL>
|
||||
<LI>make</LI>builds the libraries and test programs
|
||||
<LI>make install</LI>builds and installs
|
||||
<LI>make clean</LI>removes extraneous object files
|
||||
<LI>make distclean</LI>returns configuration to unconfigured state
|
||||
</UL>
|
||||
|
||||
<a name="EnvVariables">
|
||||
<h2>Environment Variables for Configure</h2>
|
||||
</a>
|
||||
The
|
||||
configuration script is of limited intelligence. Sometimes, you
|
||||
have to define the following environment variables in order to
|
||||
help it on its way. You will often only need to tell it where to
|
||||
find the HDF5 libraries (<code>H5ROOT</code> for serial or
|
||||
<code>PHDF5ROOT</code> for parallel builds). All of these
|
||||
environment variables can also be overidden in the Makefile that
|
||||
is generated by the autoconfigure script.
|
||||
The configure script pays attention to the following
|
||||
environment variables;
|
||||
<p>
|
||||
|
||||
<UL>
|
||||
<LI><b>CC</b>: Use the <code>CC</code> environment variable to tell the
|
||||
configure script where to find the C compiler. You can
|
||||
also directly modify this variable in the
|
||||
<code>Makefile</code> that is generated by the autoconfigure</LI>
|
||||
<LI><b>CXX</b>: Use the <code>CXX</code> environment variable to tell the
|
||||
configure script where to find the C++ compiler. You can
|
||||
also directly modify this variable in the
|
||||
<code>Makefile</code> that is generated by the autoconfigure</LI>
|
||||
<LI><b>FC</b>: Use the <code>FC</code> environment variable to tell the
|
||||
configure script where to find the fortran compiler. You can
|
||||
also directly modify this variable in the
|
||||
<code>Makefile</code> that is generated by the autoconfigure</LI>
|
||||
<LI><b>MPICC</b>: If you are building for parallel C I/O, then it is
|
||||
useful to tell the configure script where to find the
|
||||
<code>mpicc</code> script. Normally, <code>mpicc</code> is
|
||||
merely a wrapper script for a build using a regular C-compiler.
|
||||
If no <code>mpicc</code> is available, then the
|
||||
<code>configure</code> script will attempt to locate the mpi
|
||||
header files and libraries. In that case, it may be useful to
|
||||
define the <code>MPI_HOME</code> environment variable.</LI>
|
||||
<LI><b>MPICXX</b>If you are building for parallel C++</LI>
|
||||
<LI><b>MPIFC</b>: If you are building for parallel Fortran I/O, then it is
|
||||
useful to tell the configure script where to find the parallel fortran compiler.
|
||||
<LI><b>MPIROOT</b>: Set this environment variable to help the
|
||||
configure script to locate the MPI libraries that should be
|
||||
used to build the parallel version of the libraries. This
|
||||
variable will be ignored if configured only to build the
|
||||
serial implementation of the library.</LI>
|
||||
<LI><b>HDF5ROOT</b>: Find the path to your serial HDF5 installation. If you
|
||||
are building the serial version of H5part, then you should set
|
||||
the <code>PHDF5ROOT</code> environment variable.</LI>
|
||||
</UL><p>
|
||||
|
||||
<h3>Common compiler environemt variables for NERSC platforms</h3>
|
||||
<UL>
|
||||
<LI><b>DaVinci</b>: Linux ia64 </LI>
|
||||
CC=icc CXX=icc F90=ifort MPICC=icc MPIFC=ifort MPILIB=-L/usr/lib/ -lmpi MPIINC=-I/usr/include
|
||||
<LI><b>Bassi</b>: AIX</LI>
|
||||
CC=cc_r CXX=cc_r FC=xlf_r MPICC=mpcc_r MPICXX=mpcc_r MPIFC=mpxlf_r
|
||||
<LI><b>Jacquard</b>: Linux x86_64</LI>
|
||||
CC=pathcc CXX=pathCC FC=pathf90 MPICC=mpicc MPICXX=mpicxx MPIFC=mpif90
|
||||
<LI><b>Starsky.lbl.gov:</b> (Darwin) PowerPC</LI>
|
||||
CC=gcc CXX=g++ FC=g95
|
||||
</UL>
|
||||
<br>
|
||||
NOTE: You might need to set the MPI library path (MPILIB) and MPI includes (MPIIINC) if they are in non standard places. For example: <br>
|
||||
MPILIB=-L/usr/lpp/ppe.poe/lib -lmpi_r MPIINC=-I/usr/lpp/ppe.poe/include/thread
|
||||
<h3>How to set the variables for configure:</h3>
|
||||
It is very simple just call env with the variables together with configure. Notice the quotes in MPILIB.
|
||||
<pre>
|
||||
% env CC=icc CXX=icc F90=ifort MPICC=icc MPILIB=-L/usr/lib/ -lmpi MPIINC=-I/usr/include ./configure (configure options follow here)
|
||||
</pre>
|
||||
In the worst case, you can edit the <code>src/Makefile.am</code> and <code>test/Makefile.am</code> as
|
||||
needed to perform the proper build.
|
||||
</div>
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Put your title here!!</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
|
||||
<head>
|
||||
<title>Building HDF5</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<font face="arial,helvetica" size="+2" color="#555588"><h2>Building H5Part</h2></font>
|
||||
<UL>
|
||||
<LI><a href="#ConfigOptions">Configure Options</a>
|
||||
<LI><a href="#EnvVariables">Important Environment Variables</a>
|
||||
</UL>
|
||||
|
||||
<hr>
|
||||
<a name="ConfigOptions">
|
||||
<h2>Configure options</h2></a>
|
||||
</a>
|
||||
To set the installation path configure with
|
||||
<pre>
|
||||
./configure --prefix=your hdf5 installation full path, e.g.--prefix=/usr/local/hdf5
|
||||
</pre>
|
||||
For the serial implementation configure with
|
||||
<pre>
|
||||
./configure
|
||||
</pre>
|
||||
For the parallel implementation configure with
|
||||
<pre>
|
||||
./configure --enable-parallel
|
||||
</pre>
|
||||
To enable shared objects configure with
|
||||
<pre>
|
||||
./configure --enable-shared
|
||||
</pre>
|
||||
<a name="EnvVariables">
|
||||
<h2>Environment Variables</h2></a>
|
||||
</a>
|
||||
To add HDF5 to your PATH and LD_LIBRARY_PATH edit your
|
||||
.tcshr, or .cshrc depending on the shell you are using and add
|
||||
<pre>
|
||||
setenv HDF5 "your hdf5 installation full path"
|
||||
setenv PATH ${PATH}:${HDF5}/bin
|
||||
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${HDF5}/lib
|
||||
</pre>
|
||||
if you are using bash, add to your .bashrc
|
||||
<pre>
|
||||
export HDF5="your hdf5 installation full path"
|
||||
export PATH=$PATH:${HDF5}/bin
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HDF5}/lib
|
||||
</pre>
|
||||
|
||||
Open a new terminal or do a
|
||||
source .tcshr (.cshrc, .bashrc) in the one that you are using.
|
||||
|
||||
You can <a href="http://vis.lbl.gov/Research/AcceleratorSAPP/Downloading.html">continue <a/>downloading and installing H5Part.
|
||||
</div>
|
||||
@@ -1,37 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Downloading HDF5 and H5Part</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
<div id="maincenter">
|
||||
<head>
|
||||
<title>Downloading HDF5 and H5Part</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<font face="arial,helvetica" size="+2" color="#555588"><h2>Downloading H5Part</h2></font>
|
||||
<UL>
|
||||
<LI><a href="#hdf5">Downloading HDF5</a>
|
||||
<LI><a href="#h5part">Downloading H5Part</a>
|
||||
</UL>
|
||||
|
||||
<hr>
|
||||
<a name="hdf5">
|
||||
<h2>Downloading HDF5</h2></a>
|
||||
You will need to download and install the HDF5 library and link H5Part with it.
|
||||
<UL>
|
||||
<LI><a href="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.6.5.tar.gz">ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.6.5.tar.gz</a></LI>
|
||||
<LI><a href="http://www.zlib.net/zlib-1.2.3.tar.gz">http://www.zlib.net/zlib-1.2.3.tar.gz</a></LI>
|
||||
<LI><a href="ftp://ftp.hdfgroup.org/lib-external/szip/2.0/src/szip-2.0.tar.gz">ftp://ftp.hdfgroup.org/lib-external/szip/2.0/src/szib-2.0.tar.gz</a></LI>
|
||||
</UL>
|
||||
<P>
|
||||
Note: you might already have libz in your system and you will not need libsz unless you build hdf5 with support for it.
|
||||
</P>
|
||||
|
||||
<h2 id="h5part">Downloading H5Part</h2>
|
||||
H5Part is available for download from Berkeley Labs Codeforge system <a href="https://codeforge.lbl.gov/projects/h5part/">https://codeforge.lbl.gov/projects/h5part</a>.
|
||||
|
||||
</div>
|
||||
@@ -1,14 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Put your title here!!</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
Under construction, will be here soon.
|
||||
</div>
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Put your title here!!</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
Under construction, will be here soon.
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Put your title here!!</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
Under construction, will be here soon.
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,94 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Put your title here!!</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
|
||||
<head>
|
||||
<title>H5Part Utility Tools</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<font face="arial,helvetica" size="+2" color="#555588"><h2>H5Part Utility Tools</h2></font>
|
||||
<UL>
|
||||
<LI><a href="h5pAttrib">h5pAttrib</a>
|
||||
<LI><a href="h5pToGNUplot">h5pToGNUplot</a>
|
||||
</UL>
|
||||
|
||||
<hr>
|
||||
|
||||
<a name="h5pAttrib">
|
||||
<h2>h5pAttrib</h2>
|
||||
</a>
|
||||
|
||||
<b>h5pAttrib</b> is an inspection tool that prints to stdout the number of timesteps in a file
|
||||
the file attributes, the step attributes, the dataset names and their values. It's simpler to use than h5dump.
|
||||
Usage options are given by typing:
|
||||
<br><br>
|
||||
<PRE>
|
||||
% ./h5pAttrib -h
|
||||
usage: h5pAttrib [OPTIONS] file
|
||||
|
||||
OPTIONS
|
||||
-h, --help Print help page
|
||||
-n, --nstep Print number of steps
|
||||
-A, --fileA Print file attributes
|
||||
-a, --stepA Print step attributes & values for time step n
|
||||
-d, --dataset Print data sets names & values for time step n
|
||||
-H, --header Print shorter version without the values
|
||||
</PRE>
|
||||
|
||||
<h3>Examples</h3>
|
||||
<OL>
|
||||
<LI>
|
||||
Show file attribute names & values of sample.h5part
|
||||
</LI>
|
||||
h5pAttrib -A sample.h5part
|
||||
<LI>
|
||||
Show step attribute names for time step 5 of sample.h5part
|
||||
</LI>
|
||||
h5pAttrib -a 5 -H sample.h5part
|
||||
</OL>
|
||||
|
||||
<a name="h5pToGNUplot">
|
||||
<h2>h5pToGNUplot</h2>
|
||||
</a>
|
||||
|
||||
<b>h5pToGNUplot</b> is a converter from H5Part to two column ASCII text format for loading into GNUplot. Usage options are given by typing:
|
||||
<br><br>
|
||||
<PRE>
|
||||
% ./h5pToGNUplot -h
|
||||
|
||||
usage: h5pToGNUplot -t TIMESTEP -1 VARIABLE#1 -2 VARIABLE#2 -i INPUTFILE [OPTIONAL_FLAGS]
|
||||
|
||||
FLAGS
|
||||
-h, --help Print help page
|
||||
-1, --1var (REQUIRED) Takes first variable parameter
|
||||
-2, --2var (REQUIRED) Takes second variable parameter
|
||||
-i, --input (REQUIRED) Takes input file name
|
||||
-t, --timestep (REQUIRED) Sets the timestep (Value -1 will result in dumping values of all timesteps.)
|
||||
-o, --output (OPTIONAL) Takes output file name (without this flag, the program will print to stdout)
|
||||
-n, --number (OPTIONAL) Sets number of output points
|
||||
-s, --start (OPTIONAL) Sets the starting particle index
|
||||
</PRE>
|
||||
|
||||
<h3>Examples</h3>
|
||||
<OL>
|
||||
<LI>
|
||||
Create a GNU plot file output.txt from sample.h5part by ploting x vs px for timestep 54
|
||||
</LI>
|
||||
h5pToGNUplot -t 54 -1 x -2 px -i sample.h5part -o output.txt
|
||||
<LI>
|
||||
Create a GNU plot file output.txt from sample.h5part by ploting x vs px for timestep 54
|
||||
using 1200 points from particle index 76
|
||||
</LI>
|
||||
h5pToGNUplot -t 54 -1 x -2 px -i sample.h5part -o output.txt -s 76 -n 1200
|
||||
</OL>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>H5Part: VisIt Plugins</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
|
||||
<div id="maincenter">
|
||||
<font face="arial,helvetica"><h1>H5Part: VisIt Plugins</h1></font>
|
||||
<font face="arial,helvetica" color="#555588"><h2>Introduction</h2></font>
|
||||
<P>
|
||||
<a href="http://www.llnl.gov/visit">VisIt</a> is an open source point-and-click 3D scientific visualization application that supports most of the common visualization techniques on structured and unstructured grids. One of its advantages is that it employs a distributed and parallel architecture in order to handle extremely large data sets interactively. VisIt's rendering and data processing capabilities are split into viewer and engine components that may be distributed across multiple machines. See this link for <a href="http://vis.lbl.gov/NERSC/Software/visit/">details</a> on how to run VisIt in NERSC.
|
||||
</P>
|
||||
<P>
|
||||
VisIt achieves extensibility through the use of dynamically loaded plugins. All of VisIt's plots, operators, and database readers are implemented as plugins and are loaded at run-time from the plugin directory. New plugins can be added simply by installing them in this directory. VisIt comes with a graphical plugin creation tool, which greatly simplifies the process of creating new plugins. The user describes the properties of the plugin and then the tool generates most of the code necessary to implement the plugin. For example, in the case of an operator, the plugin creation tool creates the code necessary for the graphical user interface attribute window; the C++, Python, and Java interfaces; and the code necessary to interface to VisIt. The only code you need to write is the C++ code that actually performs the operation.
|
||||
</P>
|
||||
<font face="arial,helvetica" color="#555588"><h2>H5Part in VisIt</h2></font>
|
||||
<font face="arial,helvetica" color="#555588"><h3>Database Reader Plugin</h3></font>
|
||||
<P>
|
||||
We wrote a Multiple Time Step Multiple Domain database reader to read H5Part data into VisIt. H5Part datasets should be named with the extension <font color=red>".h5part"</font> to be recognized by the reader since VisIt does not have a format selection mechanism at the time of reading. Figure 1 shows a Pseudocolor plot of a data set and Figure 2 shows a Scatter plot x-y (any combination of x, px, y, py, z, pz, id are possible).
|
||||
</P>
|
||||
<P>
|
||||
<TABLE>
|
||||
<TR>
|
||||
<TD>
|
||||
<a href="H5PartVisIt/cloud_visit.png"><img src="H5PartVisIt/cloud_visit.s.png" width=400 height=300></a>
|
||||
</TD
|
||||
></TR>
|
||||
<TR>
|
||||
<TD width=300>
|
||||
Figure 1. VisIt User interface showing an H5Part particle file rendered as spheres using the Pseudocolor plot.
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<a href="H5PartVisIt/cloud_visit_2D.png"><img src="H5PartVisIt/cloud_visit_2D.s.png" width=300 height=300></a>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
Figure 2. A Scatter plot of the x-y projection of the particles.
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</P>
|
||||
|
||||
<P>
|
||||
VisIt provides a Query interface, for single time steps and for time series. Figure 3 shows the query interace over time for the sum of the x position and the z position of the particoes.
|
||||
</P>
|
||||
<P>
|
||||
<TABLE>
|
||||
<TR>
|
||||
<TD>
|
||||
<a href="H5PartVisIt/visit_query1.png"><img src="H5PartVisIt/visit_query1.s.png" width=400 height=300></a>
|
||||
</TD
|
||||
></TR>
|
||||
<TR>
|
||||
<TD width=300>
|
||||
Figure 3. VisIt's Time Query Output.
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</p>
|
||||
<font face="arial,helvetica" color="#555588"><h2>Operator Plugins</h2></font>
|
||||
<P>
|
||||
<font face="arial,helvetica" color="#555588"><h3>Particle Random Sampler</h3></font>
|
||||
|
||||
|
||||
</P>
|
||||
<P>
|
||||
<font face="arial,helvetica" color="#555588"><h3>Particle Binner</h3></font>
|
||||
</P>
|
||||
</div>
|
||||
|
Before Width: | Height: | Size: 329 KiB |
|
Before Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 79 KiB |
@@ -1,417 +0,0 @@
|
||||
<html><head><title>H5Part Tools How-to</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"></head>
|
||||
<body bgcolor="#ffffff" text="#000000">
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="987">
|
||||
<tbody><tr>
|
||||
<td height="6050" width="27"></td>
|
||||
<td colspan="3" valign="top">
|
||||
<div id="body">
|
||||
<div id="mainleft"><font face="Arial, Helvetica, sans-serif"><a name="TOP"></a>
|
||||
</font></div>
|
||||
<div id="maincenter"> <font face="arial,helvetica">
|
||||
<h1 align="center"><font face="Arial, Helvetica, sans-serif"><b><font color="#666699">H5Part
|
||||
Tools How-to</font></b></font></h1>
|
||||
</font><font color="#555588" face="arial,helvetica">
|
||||
<h2><font color="#666699" face="Arial, Helvetica, sans-serif">Table
|
||||
of Contents</font></h2>
|
||||
</font>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b><a href="#Quick%20Guide">
|
||||
[1] Quick Guide</a></b> </font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif" size="+1"><b><font color="#999999">---
|
||||
For h5pAttrib</font></b></font><font face="Arial, Helvetica, sans-serif"><br>
|
||||
<b><br>
|
||||
<a href="#timesteps">[2] To see number of timesteps in a h5part file</a><br>
|
||||
<br>
|
||||
<a href="#file%20attributes">[3] To see file attributes in a h5part
|
||||
file</a><br>
|
||||
<br>
|
||||
<a href="#step%20attributes"> [4] To see step attributes in a h5part
|
||||
file</a><br>
|
||||
<br>
|
||||
<a href="#dataset">[5] To see dataset in a h5part file</a><br>
|
||||
<br>
|
||||
<a href="#flags">[6] Providing more than one flag at once for h5pAttrib</a></b></font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif" size="+1"><b><font color="#999999">---
|
||||
For h5pToGNUplot</font></b></font><font face="Arial, Helvetica, sans-serif"><br>
|
||||
<br>
|
||||
<b><a href="#parameters">[7] What parameters to provide</a><br>
|
||||
<br>
|
||||
<a href="#input%20file">[8] How to create an input file to GNUplot</a></b></font></p>
|
||||
<p> </p>
|
||||
<p align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></p>
|
||||
<p> </p>
|
||||
<h2><font color="#555588" face="Arial, Helvetica, sans-serif"><a name="Quick Guide">[1]
|
||||
Quick Guide</a></font></h2>
|
||||
<p><font face="Arial, Helvetica, sans-serif">Executing the program with
|
||||
-h option will display a concise help page.</font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b><font face="Courier New, Courier, mono" size="+1">$></font></b><font face="Courier New, Courier, mono">./h5pAttrib
|
||||
-h</font></font></p>
|
||||
<p><font face="Courier New, Courier, mono">usage: h5pAttrib [OPTIONS]
|
||||
file</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> OPTIONS<br>
|
||||
-h, --help Print help page<br>
|
||||
-n, --nstep Print number of steps<br>
|
||||
-A, --fileA Print file attributes<br>
|
||||
-a n, --stepA n Print step attributes & values for time step n<br>
|
||||
-d n, --dataset n Print data sets names & values for time step
|
||||
n<br>
|
||||
-H, --header Print shorter version without the values</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> Examples:</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> 1) Show file attribute names
|
||||
& values of sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> h5pAttrib -A sample.h5part<br>
|
||||
OR<br>
|
||||
h5pAttrib --fileA sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> 2) Show step attribute names
|
||||
for time step 5 of sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> h5pAttrib -a 5 -H sample.h5part<br>
|
||||
OR<br>
|
||||
h5pAttrib --stepA 5 -H sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono"><br>
|
||||
<b><font size="+1">$></font></b> ./h5pToGNUplot -h</font></p>
|
||||
<p><font face="Courier New, Courier, mono">usage: h5pToGNUplot -t TIMESTEP
|
||||
-1 VARIABLE#1 -2 VARIABLE#2 -i INPUTFILE [OPTIONAL_FLAGS]</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> FLAGS<br>
|
||||
-h, --help Print help page</font><br>
|
||||
<font face="Courier New, Courier, mono">-1 par, --1var par (REQUIRED)
|
||||
Takes first variable parameter to "par"<br>
|
||||
-2 par, --2var par (REQUIRED) Takes second variable parameter to "par"<br>
|
||||
-i file, --input file (REQUIRED) Takes input file name to "file"<br>
|
||||
</font><font face="Courier New, Courier, mono">-t step, --timestep
|
||||
step (REQUIRED) Sets the timestep to "step" (Value -1 will
|
||||
result in dumping values of all timesteps.)<br>
|
||||
-o file, --output file (OPTIONAL) Takes output file name to "file"
|
||||
(without this flag, the program will print to stdout)<br>
|
||||
-n num, --number num (OPTIONAL) Sets number of output points to "num"<br>
|
||||
-s idx, --start idx (OPTIONAL) Sets the starting particle index to
|
||||
"idx"</font></p>
|
||||
<p><font face="Courier New, Courier, mono"><br>
|
||||
Examples:</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> 1) Create GNU plot file
|
||||
output.txt from sample.h5part by ploting x vs px for timestep 54</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> h5pToGNUplot -t 54 -1 x
|
||||
-2 px -i sample.h5part -o output.txt</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> 2) Create GNU plot file
|
||||
output.txt from sample.h5part by ploting x vs px for timestep 54<br>
|
||||
using 1200 points from particle index 76</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> h5pToGNUplot -t 54 -1 x
|
||||
-2 px -i sample.h5part -o output.txt -s 76 -n 1200</font></p>
|
||||
<p> </p>
|
||||
<p align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></p>
|
||||
<p> </p>
|
||||
<p><font face="Arial, Helvetica, sans-serif" size="+1"><b><font color="#999999">---
|
||||
For h5pAttrib</font></b></font></p>
|
||||
<p> </p>
|
||||
<h2><font color="#555588" face="Arial, Helvetica, sans-serif"><a name="timesteps">[2]
|
||||
To see number of timesteps in a h5part file</a></font></h2>
|
||||
<p>Executing the program h5pAttrib with -n flag will display the number
|
||||
of timesteps in the file.</p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b>EXAMPLE>></b></font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif" size="+1"><b><font face="Courier New, Courier, mono">$></font></b></font><font face="Courier New, Courier, mono">
|
||||
./h5pAttrib -n sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Printing number of timesteps
|
||||
for: sample.h5part ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">There are total 252 number
|
||||
of timesteps.<br>
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">done</font><font face="Arial, Helvetica, sans-serif"><br>
|
||||
</font></p>
|
||||
<p> </p>
|
||||
<p align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></p>
|
||||
<h2><font color="#666699" face="Arial, Helvetica, sans-serif"><br>
|
||||
<font color="#555588"><a name="file attributes">[3] To see file attributes
|
||||
in a h5part file</a></font></font></h2>
|
||||
<p>File attribute contains information about the file. (file description
|
||||
etc...) Executing the program h5pAttrib with -A flag will display
|
||||
the file attributes in the file.</p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b>EXAMPLE>></b></font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif" size="+1"><b><font face="Courier New, Courier, mono">$></font></b></font><font face="Courier New, Courier, mono">
|
||||
./h5pAttrib -A sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Printing file attributes
|
||||
for: sample.h5part ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">The number of file attributes
|
||||
for file sample.h5part is 0 ...<br>
|
||||
There are no file attributes.<br>
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">done</font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><br>
|
||||
<i>NOTE: -H option will omit the list of values of file attributes.</i></font></p>
|
||||
<p> </p>
|
||||
<p align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></p>
|
||||
<p align="center"> </p>
|
||||
<h2><font color="#555588" face="Arial, Helvetica, sans-serif"><a name="step attributes">[4]
|
||||
To see step attributes in a h5part file</a></font></h2>
|
||||
<p>Step attribute contains information that belongs to a specific step.
|
||||
(step name, timestep number, etc...) Executing the program h5pAttrib
|
||||
with -a flag will display the step attributes in the file.<br>
|
||||
Note that the timestep index should follow -a flag.</p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b>EXAMPLE>></b></font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b><font face="Courier New, Courier, mono" size="+1">$></font></b><font face="Courier New, Courier, mono">
|
||||
./h5pAttrib -a 2 sample.h5part</font></font></p>
|
||||
<p><font face="Courier New, Courier, mono">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Printing step attributes
|
||||
for: sample.h5part ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">The number of step attributes
|
||||
for timestep #2 is 10 ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Attribute #0 = Step<br>
|
||||
There are 1 elements in the attribute<br>
|
||||
Attribute Type is H5T_NATIVE_INT64<br>
|
||||
Printing 1 element value(s):<br>
|
||||
COUNT[0]: 2</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Attribute #1 = Spos<br>
|
||||
There are 1 elements in the attribute<br>
|
||||
Attribute Type is H5T_NATIVE_DOUBLE<br>
|
||||
Printing 1 element value(s):<br>
|
||||
COUNT[0]: 0.143580</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Attribute #2 = structLen<br>
|
||||
There are 1 elements in the attribute<br>
|
||||
Attribute Type is H5T_NATIVE_DOUBLE<br>
|
||||
Printing 1 element value(s):<br>
|
||||
COUNT[0]: 2.393000</font></p>
|
||||
<p><font face="Courier New, Courier, mono">.<br>
|
||||
.<br>
|
||||
.</font></p>
|
||||
<p><font face="Courier New, Courier, mono"><br>
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">done</font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><br>
|
||||
<i>NOTE: -H option will omit the list of values of step attributes.</i></font></p>
|
||||
<p> </p>
|
||||
<p align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></p>
|
||||
<h2><font color="#555588" face="Arial, Helvetica, sans-serif"><br>
|
||||
<a name="dataset">[5] To see dataset in a h5part file</a></font></h2>
|
||||
<p>Executing the program h5pAttrib with -d flag will display the datasets
|
||||
information in the file. (dataset name, type, number of elements,
|
||||
etc...) Executing the program h5pAttrib with -d flag will display
|
||||
the datasets information in the file.<br>
|
||||
Note that the timestep index should follow -d flag.</p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b>EXAMPLE>></b></font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif" size="+1"><b><font face="Courier New, Courier, mono">$></font></b></font><font face="Courier New, Courier, mono">
|
||||
./h5pAttrib -d 2 -H sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Printing names of datasets
|
||||
for: sample.h5part ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">The number of datasets for
|
||||
timestep #2 is 7 ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #0 = id<br>
|
||||
Dataset Type is H5T_NATIVE_INT64<br>
|
||||
Number of elements: 67587</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #1 = px<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 67587</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #2 = py<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 67587</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #3 = pz<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 67587</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #4 = x<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 67587</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #5 = y<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 67587</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #6 = z<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 67587</font></p>
|
||||
<p><font face="Courier New, Courier, mono">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">done</font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><br>
|
||||
<i>NOTE: -H option will omit the list of values of datasets.</i></font></p>
|
||||
<p> </p>
|
||||
<p align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></p>
|
||||
<p> </p>
|
||||
<h2><font color="#555588" face="Arial, Helvetica, sans-serif"><a name="flags">[6]
|
||||
Providing more than one flag at once</a></font></h2>
|
||||
<p><font face="Arial, Helvetica, sans-serif">When more than one flags
|
||||
are provided, one result after another will be displayed.</font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b>EXAMPLE>></b></font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif" size="+1"><b><font face="Courier New, Courier, mono">$></font></b></font><font face="Courier New, Courier, mono">
|
||||
./h5pAttrib -H -a 1 -d 1 sample.h5part</font></p>
|
||||
<p><font face="Courier New, Courier, mono">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Printing step attributes
|
||||
for: sample.h5part ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">The number of step attributes
|
||||
for timestep #1 is 10 ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Attribute #0 = Step<br>
|
||||
Attribute #1 = Spos<br>
|
||||
Attribute #2 = structLen<br>
|
||||
Attribute #3 = org<br>
|
||||
Attribute #4 = maxX<br>
|
||||
Attribute #5 = minX<br>
|
||||
Attribute #6 = maxP<br>
|
||||
Attribute #7 = minP<br>
|
||||
Attribute #8 = centroid<br>
|
||||
Attribute #9 = nloc<br>
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono"><br>
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Printing names of datasets
|
||||
for: sample.h5part ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">The number of datasets for
|
||||
timestep #1 is 7 ...</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #0 = id<br>
|
||||
Dataset Type is H5T_NATIVE_INT64<br>
|
||||
Number of elements: 60214</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #1 = px<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 60214</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #2 = py<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 60214</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #3 = pz<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 60214</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #4 = x<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 60214</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #5 = y<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 60214</font></p>
|
||||
<p><font face="Courier New, Courier, mono">Dataset Name #6 = z<br>
|
||||
Dataset Type is H5T_NATIVE_DOUBLE<br>
|
||||
Number of elements: 60214</font></p>
|
||||
<p><font face="Courier New, Courier, mono">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font></p>
|
||||
<p><font face="Courier New, Courier, mono">done</font></p>
|
||||
<p> </p>
|
||||
<div align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="80"></td>
|
||||
<td colspan="3" valign="top">
|
||||
<h2><font face="Arial, Helvetica, sans-serif" size="+1"><b><font color="#999999">---
|
||||
For h5pToGNUplot</font></b></font></h2>
|
||||
<h2><font color="#555588" face="Arial, Helvetica, sans-serif"><a name="parameters">[7]
|
||||
What parameters to provide</a></font></h2>
|
||||
<p><font face="Arial, Helvetica, sans-serif">When you execute the program
|
||||
with -h option, it displays what flags are necessary and what flags are
|
||||
optional.</font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="200"></td>
|
||||
<td valign="top" width="137">
|
||||
<p align="left"><b><font face="Arial, Helvetica, sans-serif">Short Version</font></b></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif">-h<br>
|
||||
-1<br>
|
||||
-2<br>
|
||||
-i<br>
|
||||
-t<br>
|
||||
-o<br>
|
||||
-n<br>
|
||||
-s </font></p>
|
||||
</td>
|
||||
<td valign="top" width="144">
|
||||
<p align="left"><b><font face="Arial, Helvetica, sans-serif">Long Version</font></b></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif">--help<br>
|
||||
--1var<br>
|
||||
--2var<br>
|
||||
--input<br>
|
||||
--timestep<br>
|
||||
--output<br>
|
||||
--number<br>
|
||||
--start </font></p>
|
||||
</td>
|
||||
<td valign="top" width="679">
|
||||
<p align="left"><b><font face="Arial, Helvetica, sans-serif">Meanings</font></b></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif">Print help page<br>
|
||||
(REQUIRED) Takes first variable parameter<br>
|
||||
(REQUIRED) Takes second variable parameter<br>
|
||||
(REQUIRED) Takes input file name<br>
|
||||
(REQUIRED) Sets the timestep (Value -1 will result in dumping values of
|
||||
all timesteps.)<br>
|
||||
(OPTIONAL) Takes output file name (without this flag, the program will
|
||||
print to stdout)<br>
|
||||
(OPTIONAL) Sets number of output points<br>
|
||||
(OPTIONAL) Sets the starting particle index</font> </p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="1786"></td>
|
||||
<td colspan="3" valign="top">
|
||||
<p> </p>
|
||||
<p align="center"><font face="Arial, Helvetica, sans-serif"><a href="#TOP"><back
|
||||
to top></a></font></p>
|
||||
<h2><font color="#555588" face="Arial, Helvetica, sans-serif"><br>
|
||||
<a name="input file">[8] How to create an input file to GNUplot</a></font></h2>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b>EXAMPLE>></b><br>
|
||||
<i>Create input file to GNUplot that plots x vs. y.</i></font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><b><font face="Courier New, Courier, mono" size="+1">$></font></b><font face="Courier New, Courier, mono">
|
||||
./h5pToGNUplot -1 x -2 y -t 1 -i sample.h5part -o output.txt<br>
|
||||
<b><font size="+1">$></font></b> cat output.txt<br>
|
||||
-0.390779 -0.254793<br>
|
||||
-0.396527 -0.252781<br>
|
||||
-0.375362 -0.285137<br>
|
||||
-0.396527 -0.252781<br>
|
||||
-0.379917 -0.283147<br>
|
||||
-0.390779 -0.254793<br>
|
||||
-0.387536 -0.287346<br>
|
||||
-0.371787 -0.319797<br>
|
||||
-0.379917 -0.283147<br>
|
||||
-0.378967 -0.326058<br>
|
||||
-0.378976 -0.326078<br>
|
||||
-0.387536 -0.287346<br>
|
||||
-0.378957 -0.326069<br>
|
||||
-0.379917 -0.283147<br>
|
||||
-0.388762 -0.265390<br>
|
||||
-0.371787 -0.319797<br>
|
||||
-0.390779 -0.254793<br>
|
||||
-0.376825 -0.266804<br>
|
||||
-0.379917 -0.283147<br>
|
||||
-0.375362 -0.285137<br>
|
||||
...</font></font></p>
|
||||
<p><font face="Courier New, Courier, mono"><i>Then run GNUplot...</i></font></p>
|
||||
<p><font face="Courier New, Courier, mono"><b><font size="+1">$></font></b>
|
||||
gnuplot</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> G N U P L O T<br>
|
||||
Version 4.0 patchlevel 0<br>
|
||||
last modified Thu Apr 15 14:44:22 CEST 2004<br>
|
||||
System: Linux 2.6.11.4-21.11-smp</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> Copyright (C) 1986 - 1993, 1998,
|
||||
2004<br>
|
||||
Thomas Williams, Colin Kelley and many others</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> This is gnuplot version 4.0.
|
||||
Please refer to the documentation<br>
|
||||
for command syntax changes. The old syntax will be accepted<br>
|
||||
throughout the 4.0 series, but all save files use the new syntax.</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> Type `help` to access the on-line
|
||||
reference manual.<br>
|
||||
The gnuplot FAQ is available from<br>
|
||||
http://www.gnuplot.info/faq/</font></p>
|
||||
<p><font face="Courier New, Courier, mono"> Send comments and requests for
|
||||
help to<br>
|
||||
<gnuplot-info@lists.sourceforge.net><br>
|
||||
Send bugs, suggestions and mods to<br>
|
||||
<gnuplot-bugs@lists.sourceforge.net></font></p>
|
||||
<p><font face="Courier New, Courier, mono"><br>
|
||||
Terminal type set to 'x11'<br>
|
||||
<font size="+1"><b>gnuplot></b></font> plot "output.txt"</font></p>
|
||||
<p><font face="Arial, Helvetica, sans-serif"><i>This will open a GNUplot
|
||||
window that plots output.txt.</i></font></p>
|
||||
<p align="center"><img src="H5tools_files/snapshot1.jpg" height="541" width="672"><br>
|
||||
<font face="Arial, Helvetica, sans-serif"><Sample screen shot of GNUplot
|
||||
with input datafile generated by h5pToGNUplot></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="44"></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</body></html>
|
||||
|
Before Width: | Height: | Size: 239 KiB |
@@ -1,54 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>H5Part, Logical Internal HDF5 File Layout</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
|
||||
<div id="maincenter">
|
||||
<font face="arial,helvetica"><h1>H5Part: Logical Internal HDF5 File Layout</h1></font>
|
||||
<P>
|
||||
HDF5 is extremely flexible in the sense that it allows the user to define a higher level data model to describe domain-specific data relationships. This flexibility however makes it necessary to develop an agreement on the logical layout of the data. The H5Part data model consists of Particle groups corresponding to the simulation time steps, each with seven datasets corresponding to x, px, y, py, z, pz, id for each particle. Attributes can be added to the file and to the datasets.
|
||||
</P>
|
||||
<center><img src="layout.png"></center>
|
||||
<PRE>
|
||||
HDF5 "parttest.h5" {
|
||||
GROUP "/" {
|
||||
GROUP "Particles#0" {
|
||||
DATASET "id" {
|
||||
DATATYPE H5T_STD_I64LE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
}
|
||||
DATASET "px" {
|
||||
DATATYPE H5T_IEEE_F64LE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
}
|
||||
DATASET "py" {
|
||||
DATATYPE H5T_IEEE_F64LE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
}
|
||||
DATASET "pz" {
|
||||
DATATYPE H5T_IEEE_F64LE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
}
|
||||
DATASET "x" {
|
||||
DATATYPE H5T_IEEE_F64LE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
}
|
||||
DATASET "y" {
|
||||
DATATYPE H5T_IEEE_F64LE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
}
|
||||
DATASET "z" {
|
||||
DATATYPE H5T_IEEE_F64LE
|
||||
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
||||
}
|
||||
}
|
||||
</PRE>
|
||||
<P>
|
||||
See <a href="http://www-vis.lbl.gov/Publications/2002/hdf5.pdf">hdf5.pdf</a> for an introduction on the use of HDF5.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
EXTRA_DIST = \
|
||||
Doxyfile doxyfooter \
|
||||
$(wildcard *.html) \
|
||||
$(wildcard *.png) \
|
||||
$(wildcard H5PartVisIt/*.png) \
|
||||
$(wildcard H5tools/*.html) \
|
||||
$(wildcard H5tools/H5tools_files/*.jpg)
|
||||
@@ -1,603 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>H5Part, the C/C++ API</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
<h1>The C/C++ Application Programming Interface (API)</h1>
|
||||
<UL>
|
||||
<LI><a href="#Opening">Opening, Closing, and Validating Datafiles</a>
|
||||
<LI><a href="#SetStep">Setting the Simulation Timestep</a>
|
||||
<LI><a href="#SetNumParticles">Setting the Number of Particles</a>
|
||||
<LI><a href="#Writing">Writing Datasets</a>
|
||||
<LI><a href="#ReadingNumTimeSteps">Reading the Number of Time Steps</a>
|
||||
<LI><a href="#ReadingNumParticles">Reading the Number of Particles</a>
|
||||
<LI><a href="#Reading">Reading Datasets</a>
|
||||
<LI><a href="#DatasetsInfo">Reading the Number and the Names of Datasets</a>
|
||||
<LI><a href="#AttributesInfo">Attributes Interface</a>
|
||||
<LI><a href="#WriteAttribs">Writing Additional Attributes</a>
|
||||
<LI><a href="#ReadAttribs">Reading Attributes</a>
|
||||
</UL>
|
||||
<br>
|
||||
<a href="ReferencePages/index.html">Reference Manual (Doxygen)</a>
|
||||
<br>
|
||||
<hr>
|
||||
<a name="Opening"><h2>Opening Datafiles</h2></a>
|
||||
<P>
|
||||
Just like the familiar <code>FILE*</code> type for C stdio operations, all
|
||||
H5Part file operations require a file handle. The type of this handle is
|
||||
<code>(H5PartFile*)</code>.
|
||||
<br>
|
||||
<code>H5PartOpenFile()</code> is
|
||||
used to open a serial file and
|
||||
<code>HDFPartOpenFileParallel()</code> is used to open a file for
|
||||
Parallel I/O (in an MPI program).
|
||||
After you open the file handle you can use the same set of
|
||||
subroutines for operations on the file regardless of whether the
|
||||
file is a parallel or serial I/O file.
|
||||
The libraries manage all of this internally.<p>
|
||||
</P>
|
||||
<b>C Prototypes</b><br>
|
||||
<P>
|
||||
<b>Serial File</b><br>
|
||||
<code>H5PartFile *H5PartOpenFile(const char *filename, unsigned
|
||||
accessmode);</code><br>
|
||||
<b>Parallel File</b><br>
|
||||
<code>H5PartFile *H5PartOpenFileParallel(char *filename,int
|
||||
accessmode,MPI_Comm communicator);</code><br>
|
||||
<DT><i>filename</i>: </DT><DD>The name of the IEEEIO data file to
|
||||
open. The typical extension for these files is <i>.h5</i></DD>
|
||||
<DT><i>accessmode</i>: </DT><DD>The accessmode for the file. This is
|
||||
one of 2 different access modes<br>
|
||||
<code>H5PART_READ</code> : Opens a file in read-only mode.</DT><br>
|
||||
<code>H5PART_WRITE</code> : Opens a file in write-only mode.
|
||||
If the
|
||||
file does not exist, it will be created. If it does
|
||||
exist, it will be
|
||||
truncated.
|
||||
<DT><i>communicator</i>: </DT>
|
||||
<DD>This argument is only available if the program has been
|
||||
compiled with the <code>PARALLEL_IO</code> C-preprocessor flag
|
||||
defined. It is used to pass in the communicator that will be
|
||||
used for all collective I/O operations that target the same
|
||||
file on disk.</DD>
|
||||
<DT><i>Returns</i>:</DT><DD>A new filehandle with an open file or NULL if error.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
. . . code . . .
|
||||
/* Open an HDF5 file for writing */
|
||||
H5PartFile *writer = H5PartOpenFile("datafileout.h5",H5PART_WRITE);
|
||||
/* Open an HDF5 file for Parallel I/O */
|
||||
H5PartFile *writer = H5PartOpenFileParallel("datafileout.h5",H5PART_WRITE,MPI_COMM_WORLD);
|
||||
/* open HDF5 file for reading */
|
||||
H5PartFile *reader = H5PartOpenFile("datafilein.h5",H5PART_READ);
|
||||
/* open HDF5 file for parallel reads */
|
||||
H5PartFile *reader = H5PartOpenFileParallel("datafilein.h5",H5PART_READ,MPI_COMM_WORLD);
|
||||
. . . more code . . .
|
||||
</pre> <br>
|
||||
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<h2>Closing Datafiles</h2>
|
||||
<P>
|
||||
To close the file, you simply use H5PartCloseFile() for both
|
||||
parallel and serial files. You must call H5PartCloseFile() on any
|
||||
file descriptor created by H5PartFileOpen() regardless of
|
||||
whether the file turns out to be valid or not.
|
||||
</P>
|
||||
<b>C Prototypes</b><br>
|
||||
<P>
|
||||
<code>void H5PartCloseFile(H5PartFile *fileID);</code>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
H5PartOpenFile() or H5PartOpenFileParallel().</DD>
|
||||
<DT><i>Returns</i>:</DT><DD>void.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *file;
|
||||
... code ...
|
||||
file=H5PartOpenFileParallel("parttest.h5",H5PART_WRITE,comm);
|
||||
... more code ...
|
||||
H5PartCloseFile(file);
|
||||
</pre>
|
||||
<br>
|
||||
<hr>
|
||||
|
||||
|
||||
<h2>Validating Datafiles</h2>
|
||||
<P>
|
||||
You can test if the file was opened successfully using the
|
||||
H5PartFileIsValid() function. It returns 1 if valid, 0 if invalid.<p>
|
||||
</P>
|
||||
<b>C Prototype</b><br>
|
||||
<P>
|
||||
<code>int H5PartFileIsValid(H5PartFile *fileID);</code>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
H5PartOpenFile() or H5PartOpenFileParallel().</DD>
|
||||
<DT><i>Returns</i>:</DT><DD>1 if valid, 0 if invalid.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<P>
|
||||
Here is an example of validating a newly opened file. Even if
|
||||
the file is invalid, you must use H5PartCloseFile() to reclaim
|
||||
the file handle.
|
||||
</P>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
. . . code . . .
|
||||
H5PartFile *fileID = H5PartOpenFile("datafileout.h5",H5PART_WRITE);
|
||||
if(!H5PartFileIsValid(fileID)){
|
||||
puts("The file you specified does not exist or is not in a
|
||||
readable format");
|
||||
H5PartClose(fileID); /* must reclaim fileID even if file is invalid */
|
||||
. . . do other cleanup . . .
|
||||
}
|
||||
. . . more code . . .
|
||||
</pre><br>
|
||||
|
||||
<hr>
|
||||
|
||||
<a name="SetStep">
|
||||
<h2>Setting the Timestep</h2>
|
||||
</a>
|
||||
<P>
|
||||
When writing data to a file the current time step must be set (even if there is only one). In a file with N time steps, the steps are numbered from 0 to N-1.
|
||||
</P>
|
||||
<b>C Prototype</b><br>
|
||||
<P>
|
||||
<code>void H5PartSetStep((H5PartFile *fileID,int step);</code>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
H5PartOpenFile() or H5PartOpenFileParallel().</DD>
|
||||
<DT><i>step</i>: </DT><DD>An integer time step.
|
||||
</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>void.</DD>
|
||||
</DL>
|
||||
<br><b>Example Use</b><br>
|
||||
</P>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
int timeStep;
|
||||
....
|
||||
H5PartSetStep(fileID,timeStep);
|
||||
....
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
<a name="SetNumParticles">
|
||||
</a>
|
||||
<h2>Setting the Number of Particles</h2>
|
||||
<P>
|
||||
H5PartSetNumParticles: This function's sole purpose is to
|
||||
prevent needless creation of new HDF5 DataSpace handles if
|
||||
the number of particles is invariant throughout the sim.
|
||||
That's its only reason for existence. After you call this
|
||||
subroutine, all subsequent operations will assume this
|
||||
number of particles will be written.
|
||||
</P>
|
||||
<b>C Prototype</b><br>
|
||||
<P>
|
||||
<code>void H5PartSetNumParticles(H5PartFile *fileID,long long nparticles);</code>
|
||||
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
H5PartOpenFile() or H5PartOpenFileParallel().</DD>
|
||||
<DT><i>nparticles</i>: </DT><DD>A long long integer specifying the number of particles.
|
||||
</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>void.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
long long nparticles;
|
||||
....
|
||||
H5PartSetStep(fileID,nparticles);
|
||||
....
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
|
||||
<a name="Writing">
|
||||
<h2>Writing Datasets</h2>
|
||||
</a>
|
||||
<P>
|
||||
After setting the number of particles with
|
||||
<a href="#SetNumParticles">H5PartSetNumParticles()</a>
|
||||
and the current timestep using
|
||||
<a href="#SetStep">H5PartSetStep()</a>, you can start
|
||||
writing datasets into the file. Each dataset has a name
|
||||
associated with it (chosen by the user) in order to facilitate
|
||||
later retrieval. The writing routines also implicitly store
|
||||
the datatype of the array so that the array can be
|
||||
reconstructed properly on other systems with incompatible type
|
||||
representations. The data is committed to disk before the
|
||||
routine returns. All data that is written after setting the
|
||||
timestep is associated with that timestep. While the number of
|
||||
particles can change for each timestep, you cannot change the
|
||||
number of particles in the middle of a given timestep.
|
||||
</P>
|
||||
<b>C Prototypes</b><br>
|
||||
<P>
|
||||
<code>int H5PartWriteDataFloat64(H5PartFile *fileID,char
|
||||
*name,double *array);</code></br>
|
||||
<code>int H5PartWriteDataInt64(H5PartFile *fileID,char
|
||||
*name,double *array);</code>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>name</i>: </DT><DD>A null-terminated string for the
|
||||
name of the array. When retrieving datasets from disk,
|
||||
you ask for them by name. There are no restrictions on
|
||||
naming of arrays, but it is useful to arrive at some common
|
||||
naming convention when sharing data with other groups.</DD>
|
||||
<DT><i>array</i>: </DT><DD>A buffer containing an array of
|
||||
particle data to commit to disk. The datatype for
|
||||
elements in the buffer is implicit in the name of the
|
||||
subroutine call.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>1 on success, 0 on failure.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
double *x,*y,*z;
|
||||
int timeStep;
|
||||
long long nparticles;
|
||||
|
||||
...
|
||||
|
||||
H5PartSetStep(fileID,timeStep); /* must set the current timestep in file */
|
||||
H5PartSetNumParticles(fileID,nparticles); /* then set number of particles to store */
|
||||
|
||||
/* now write different tuples of data into this timestep of the file */
|
||||
H5PartWriteDataFloat64(fileID,"x",x);
|
||||
H5PartWriteDataFloat64(fileID,"y",y);
|
||||
H5PartWriteDataFloat64(file,"z",z);
|
||||
..
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
<a name="ReadingNumTimeSteps">
|
||||
<h2>Reading the Number of Time Steps</h2>
|
||||
</a>
|
||||
<P>
|
||||
This reads the number of datasteps that are
|
||||
currently stored in the datafile.
|
||||
It works for both reading and writing of files, but is probably
|
||||
only typically used when you are reading.
|
||||
|
||||
</P>
|
||||
<b>C Prototype</b><br>
|
||||
<P>
|
||||
<code>int H5PartGetNumSteps (H5PartFile *fileID);</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by <a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>The number of timesteps currently stored in the file.
|
||||
</DL>
|
||||
</P>
|
||||
<hr>
|
||||
|
||||
<a name="ReadingNumParticles">
|
||||
<h2>Reading the Number of Particles</h2>
|
||||
</a>
|
||||
<P>
|
||||
This reads the number of particles that are
|
||||
currently stored in the current time step.
|
||||
It will arbitrarily select a timestep if you haven't
|
||||
already set the timestep with H5PartSetStep().
|
||||
|
||||
</P>
|
||||
<b>C Prototype</b><br>
|
||||
<P>
|
||||
<code>long long H5PartGetNumParticles (H5PartFile *fileID);</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by <a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>The number of particles in current timestep.
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
int timeStep;
|
||||
long long nparticles;
|
||||
|
||||
H5PartSetStep(fileID,0);
|
||||
nparticles=H5PartGetNumParticles(fileID);
|
||||
...
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
|
||||
<a name="Reading">
|
||||
<h2>Reading Datasets</h2>
|
||||
</a>
|
||||
<P>
|
||||
After setting the time step and getting the number of particles to allocate the data arrays, you can start to read the data.
|
||||
</P>
|
||||
<b>C Prototypes</b><br>
|
||||
<P>
|
||||
<code>int H5PartReadDataFloat64(H5PartFile *fileID,char *name,double *array);</code><br>
|
||||
<code>int H5PartReadDataInt64(H5PartFile *fileID,char *name,long long *array);</code><br>
|
||||
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>name</i>: </DT><DD>A null-terminated string for the
|
||||
name of the array. When retrieving datasets from disk,
|
||||
you ask for them by name. There are no restrictions on
|
||||
naming of arrays, but it is useful to arrive at some common
|
||||
naming convention when sharing data with other groups.</DD>
|
||||
<DT><i>array</i>: </DT><DD>A buffer to which the particle data will be read.i
|
||||
The datatype for
|
||||
elements in the buffer is implicit in the name of the
|
||||
subroutine call.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>1 on success, 0 on failure.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
double *x,*y,*z;
|
||||
int timeStep;
|
||||
long long nparticles;
|
||||
|
||||
H5PartSetStep(fileID,0);
|
||||
nparticles=H5PartGetNumParticles(fileID);
|
||||
...
|
||||
|
||||
H5PartReadDataFloat64(file,"x",x);
|
||||
H5PartReadDataFloat64(file,"y",y);
|
||||
H5PartReadDataFloat64(file,"z",z);
|
||||
...
|
||||
</pre>
|
||||
<hr>
|
||||
<a name="DatasetsInfo"><h2>Reading the Number and Names of Datasets</h2></a>
|
||||
<P>
|
||||
H5Part provides funtions to find out how many datasets are stored at a particular timestep
|
||||
and what their names are if you don't know what they are a-priori.
|
||||
</P>
|
||||
<b>C Prototypes</b><br>
|
||||
<P>
|
||||
<code>int H5PartGetNumDatasets(H5PartFile *fileID);</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>The number of datasets.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<P>
|
||||
<code>int H5PartGetDatasetName(H5PartFile *fileID,int index,char *name,int maxlen);</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>index</i>:</DT><DD> integer specifying the index of the dataset. If the number of datasets is
|
||||
nds, the range of index is 0 to nds-1.</DD>
|
||||
<DT><i>name</i>:</DT><DD> A null-terminated string for the name of the dataset.</DD>
|
||||
<DT><i>maxlen</i>:</DT><DD> An integer specifying the maximum length of the name array.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>1 on success, 0 on failure.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
char name[64];
|
||||
int index, nds;
|
||||
|
||||
...
|
||||
nds=H5PartGetNumDatasets(fileID);
|
||||
for(index=0;index< nds;index++){
|
||||
H5PartGetDatasetName(fileID,index,name,64);
|
||||
printf("\tDataset[%u] name=[%s]\n", index,name);
|
||||
}
|
||||
...
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
|
||||
<a name="AttributesInfo">
|
||||
<h2>Attributes Interface</h2></a>
|
||||
<P>
|
||||
In the current H5Part implemtation there are two types of attributes: file attributes which are bound to the file
|
||||
and step attributes which are bound to the current timestep. You
|
||||
must set the timestep explicitly before writing the attributes (just
|
||||
as you must do when you write a new dataset. Currently there are no
|
||||
attributes that are bound to a particular data array, but this could
|
||||
easily be done if required.
|
||||
</P>
|
||||
<P>H5PartGetNumStepAttribs and H5PartGetNumFileAttribs return the number of attributes bound to a step and to a file respectively. H5PartGetStepAttribInfo and H5PartGetFileAttribInfo return the name, type and number of elements of type "type" bound to a step and a file respectively.
|
||||
</P>
|
||||
<b>C Prototypes:</b><br>
|
||||
<code>int H5PartGetNumStepAttribs(H5PartFile *fileID);
|
||||
</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>Returns</i> </DT><DD> The number of step attributes for the current step.</DD>
|
||||
</DL>
|
||||
<code>int H5PartGetNumFileAttribs(H5PartFile *fileID);
|
||||
</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>Returns</i> </DT><DD> The number of file attributes.</DD>
|
||||
</DL>
|
||||
<code>void H5PartGetStepAttribInfo(H5PartFile *fileID,int idx, char *name,size_t maxnamelen,hid_t *type,int *nelem);
|
||||
</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>idx</i>: </DT><DD>Index of the attribute.</DD>
|
||||
<DT><i>name</i>: </DT><DD>A null-terminated string with the name of the attribute.</DD>
|
||||
<DT><i>maxnamelen</i></DT><DD>the length of the name of the attribute.</DD>
|
||||
<DT><i>type</i>: </DT><DD>One of the following: H5T_NATIVE_DOUBLE H5T_NATIVE_INT64 H5T_NATIVE_CHAR.</DD>
|
||||
<DT><i>nelem</i>: </DT><DD>Number of elements of type "type".</DD>
|
||||
<DT><i>Returns</i> </DT><DD> void.</DD>
|
||||
</DL>
|
||||
|
||||
<code>void H5PartGetFileAttribInfo(H5PartFile *fileID,int idx, char *name,size_t maxnamelen, hid_t *type,int *nelem);
|
||||
</code><br>
|
||||
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>idx</i>: </DT><DD>Index of the attribute.</DD>
|
||||
<DT><i>name</i>: </DT><DD>A null-terminated string with the name of the attribute.</DD>
|
||||
<DT><i>maxnamelen</i></DT><DD>the length of the name of the attribute.</DD>
|
||||
<DT><i>type</i>: </DT><DD>One of the following: H5T_NATIVE_DOUBLE H5T_NATIVE_INT64 H5T_NATIVE_CHAR.</DD>
|
||||
<DT><i>nelem</i>: </DT><DD>Number of elements of type "type".</DD>
|
||||
<DT><i>Returns</i> </DT><DD> void.</DD>
|
||||
</DL>
|
||||
|
||||
|
||||
<a name="WriteAttribs">
|
||||
<h2>Writing Attributes</h2>
|
||||
</a>
|
||||
<P>
|
||||
An attribute can be bound to the file or after setting the time step to this time step.
|
||||
</P>
|
||||
|
||||
<b>C Prototypes: Generic Attributes</b><br>
|
||||
<P>
|
||||
<code>int H5PartWriteFileAttrib(H5PartFile *fileID,char *name, hid_t type,void *value,int nelem);</code><br>
|
||||
<code>int H5PartWriteStepAttrib(H5PartFile *fileID,char *name, hid_t type,void *value,int nelem);</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>name</i>: </DT><DD>A null-terminated string for the
|
||||
name of the array. When retrieving datasets from disk,
|
||||
you ask for them by name. There are no restrictions on
|
||||
naming of arrays, but it is useful to arrive at some common
|
||||
naming convention when sharing data with other groups.</DD>
|
||||
<DT><i>type</i>: One of H5T_NATIVE_DOUBLE, H5T_NATIVE_INT64, H5T_NATIVE_CHAR.</DD>
|
||||
<DT><i>value</i>: value of the attribute.</DD>
|
||||
<DT><i>nelem</i>: number of elements of type "type".</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>1 on success, 0 on failure.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
double actPos;
|
||||
|
||||
...
|
||||
H5PartWriteStepAttrib(file_m,"Spos",H5T_NATIVE_DOUBLE,&actPos,1);
|
||||
...
|
||||
</pre>
|
||||
|
||||
|
||||
<b>C Prototypes: String Attributes</b><br>
|
||||
<P>
|
||||
<code>int H5PartWriteStepAttribString(H5PartFile *fileID,char *name, char *attrib);</code><br>
|
||||
<code>int H5PartWriteFileAttribString(H5PartFile *fileID,char *name, char *attrib);</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>name</i>: </DT><DD>A null-terminated string for the
|
||||
name of the array. When retrieving datasets from disk,
|
||||
you ask for them by name. There are no restrictions on
|
||||
naming of arrays, but it is useful to arrive at some common
|
||||
naming convention when sharing data with other groups.</DD>
|
||||
<DT><i>attrib</i>: the attribute character string.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>1 on success, 0 on failure.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
char *newattrib;
|
||||
char *newname;
|
||||
|
||||
...
|
||||
H5PartWriteFileAttribString(fileID, newname,newattrib);
|
||||
...
|
||||
</pre>
|
||||
<hr>
|
||||
|
||||
<a name="ReadAttribs">
|
||||
<h2>Reading Attributes</h2>
|
||||
</a>
|
||||
<P>
|
||||
<P>
|
||||
As with the writing of attributes, there are two basic reading interfaces one that reads file bound attributes and one that reads
|
||||
step bound attributes. If the step is not set the current one will be used.
|
||||
</P>
|
||||
</P>
|
||||
<b>C Prototypes</b><br>
|
||||
<P>
|
||||
<code>void H5PartReadStepAttrib(H5PartFile *fileID,char *name,void *value);</code><br>
|
||||
<code>void H5PartReadAttrib(H5PartFile *fileID,char *name,void *value);</code><br>
|
||||
<code>int H5PartReadFileAttrib(H5PartFile *fileID,char *name,void *value);</code><br>
|
||||
<DL>
|
||||
<DT><i>fileID</i>: </DT><DD>A FileHandle opened by
|
||||
<a href="#Opening">H5PartOpenFile()</a> or
|
||||
<a href="#Opening">H5PartOpenFileParallel()</a>.</DD>
|
||||
<DT><i>name</i>: </DT><DD>A null-terminated string for the
|
||||
name of the array. When retrieving datasets from disk,
|
||||
you ask for them by name. There are no restrictions on
|
||||
naming of arrays, but it is useful to arrive at some common
|
||||
naming convention when sharing data with other groups.</DD>
|
||||
<DT><i>value</i>: value of the attribute.</DD>
|
||||
<DT><i>Returns</i>: </DT><DD>1 on success, 0 on failure.</DD>
|
||||
</DL>
|
||||
</P>
|
||||
<br>
|
||||
NOTE: H5PartReadAttrib has been superseeded by H5PartSetStep.
|
||||
<br>
|
||||
<br><b>Example Use</b><br>
|
||||
<pre>
|
||||
#include < H5Part.h >
|
||||
H5PartFile *fileID;
|
||||
int step;
|
||||
char name[MAXNAME];
|
||||
|
||||
...
|
||||
|
||||
H5PartSetStep(fileID, step);
|
||||
if (H5PartReadStepAttrib(file, "filename", &name[0]) == 1){
|
||||
printf("Read step from file: %s\n", name);
|
||||
}
|
||||
|
||||
...
|
||||
</pre>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,500 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>H5part, the Fortran API</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
<div id="maincenter">
|
||||
|
||||
|
||||
<h1>The FORTRAN Application Programming Interface (API)</h1>
|
||||
<P>
|
||||
These references contain the information on how to access the H5Part API using FORTRAN bindings. All pointers are cast to haddr_t (a unint64_t) within the C/C++ code. In fortran, these pointers (handles) are carried as INTEGER*8
|
||||
</P>
|
||||
<UL>
|
||||
<LI><a href="#Opening">Opening, Closing, and Validating Datafiles</a>
|
||||
<LI><a href="#SetStep">Setting the Simulation Timestep</a>
|
||||
<LI><a href="#SetNumParticles">Setting the Number of Particles</a>
|
||||
<LI><a href="#Writing">Writing Datasets</a>
|
||||
<LI><a href="#ReadingNumTimeSteps">Reading the Number of Time Steps</a>
|
||||
<LI><a href="#ReadingNumTimeSteps">Reading the Number of Particles</a>
|
||||
<LI><a href="#Reading">Reading Datasets</a>
|
||||
<LI><a href="#DatasetsInfo">Reading the Number and the Names of Datasets</a>
|
||||
<LI><a href="#AttributesInfo">Attributes Interface</a>
|
||||
<LI><a href="#WriteAttribs">Writing Additional Attributes</a>
|
||||
<LI><a href="#ReadAttribs">Reading Attributes</a>
|
||||
</UL>
|
||||
<hr>
|
||||
<a name="Opening"><h2>Opening Datafiles</h2></a>
|
||||
<P>
|
||||
Like the familiar OPEN in FORTRAN files can be opened to read and write. Different functions are used for the serial and parallel case.
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<P>
|
||||
<b>Serial File</b><br>
|
||||
<code>INTEGER*8 h5pt_openr</code><br>
|
||||
<code>FUNCTION h5pt_openw(file)<br>
|
||||
in CHARACTER file(*) : the filename to open for writing </code><br>
|
||||
returns INTEGER*8 : and open filehandle for serial reads</code><br>
|
||||
<br>
|
||||
<code>INTEGER*8 h5pt_openw</code><br>
|
||||
<code>FUNCTION h5pt_openw(file)<br>
|
||||
in CHARACTER file(*) : the filename to open for writing<br>
|
||||
returns INTEGER*8 : and open filehandle for serial writes</code><br>
|
||||
<br>
|
||||
<b>Parallel File</b><br>
|
||||
<code>INTEGER*8 h5pt_openr_par</code><br>
|
||||
<code>FUNCTION h5pt_openr_par(file,mpi_communicator)<br>
|
||||
in CHARACTER file(*) : the filename to open for writing<br>
|
||||
in INTEGER mpi_communicator : the MPI_Communicator used by the program<br>
|
||||
returns INTEGER*8 : and open filehandle for parallel reads</code><br>
|
||||
<br>
|
||||
<code>INTEGER*8 h5pt_openw_par</code><br>
|
||||
<code>FUNCTION h5pt_openw_par(file,mpi_communicator)<br>
|
||||
in CHARACTER file(*) : the filename to open for writing<br>
|
||||
in INTEGER mpi_communicator : the MPI_Communicator used by the program<br>
|
||||
returns INTEGER*8 : and open filehandle for parallel reads</code><br>
|
||||
</P>
|
||||
<P>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
...
|
||||
file = h5pt_openw("testfilef.h5")
|
||||
...
|
||||
</pre>
|
||||
</P>
|
||||
<hr>
|
||||
<h2>Closing Datafiles</h2>
|
||||
<P>
|
||||
To close the file, you simply use h5pt_close() for both parallel and serial files. You must call h5pt_close() on any file descriptor created by h5pt_open*() regardless of whether the file turns out to be valid or not.</P>
|
||||
<b>FORTRAN Prototype</b><br>
|
||||
<code>EXTERNAL h5pt_close</code><br>
|
||||
<code>SUBROUTINE h5pt_close(filehandle)<br>
|
||||
in INTEGER*8 filehandle : close this open filehandle</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
...
|
||||
call h5pt_close(file)
|
||||
...
|
||||
</pre>
|
||||
</P>
|
||||
<hr>
|
||||
<h2> Validating Datafiles</h2>
|
||||
<P>
|
||||
You can test if the file was opened successfully using the
|
||||
h5p_isvalid() function. It returns 1 if valid, 0 if invalid.
|
||||
</P>
|
||||
<b>FORTRAN Prototype</b><br>
|
||||
<code>INTEGER h5pt_isvalid</code><br>
|
||||
<code>FUNCTION h5pt_isvalid(filehandle)<br>
|
||||
in INTEGER*8 filehandle: an open filehandle <br>
|
||||
returns INTEGER : 1 if the file is valid, 0 if it is not</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER status
|
||||
...
|
||||
status = h5pt_isvalid(file)
|
||||
...
|
||||
</pre>
|
||||
</P>
|
||||
<hr>
|
||||
<a name="SetStep">
|
||||
<h2>Setting the Timestep</h2>
|
||||
</a>
|
||||
<P>
|
||||
When writing data to a file the current time step must be set (even if there is only one). In a file with N time steps, the steps are numbered from 0 to N-1.
|
||||
</P>
|
||||
<b>FORTRAN Prototype</b><br>
|
||||
<code>EXTERNAL h5pt_setstep</code><br>
|
||||
<code>SUBROUTINE h5pt_setstep(filehandle,step)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in INTEGER step : Set the current timestep in the file to this
|
||||
</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER I
|
||||
INTEGER nstep
|
||||
...
|
||||
do I=1,nstep
|
||||
call h5pt_setstep(file,I)
|
||||
... more code ...
|
||||
enddo
|
||||
</pre>
|
||||
</P>
|
||||
<hr>
|
||||
|
||||
<a name="SetNumParticles">
|
||||
</a>
|
||||
<h2>Setting the Number of Particles</h2>
|
||||
<P>
|
||||
This function's sole purpose is to
|
||||
prevent needless creation of new HDF5 DataSpace handles if
|
||||
the number of particles is invariant throughout the sim.
|
||||
That's its only reason for existence. After you call this
|
||||
subroutine, all subsequent operations will assume this
|
||||
number of particles will be written.
|
||||
</P>
|
||||
<b>FORTRAN Prototype</b><br>
|
||||
<code>EXTERNAL h5pt_setnpoints</code><br>
|
||||
<code>SUBROUTINE h5pt_setnpoints(filehandle,npoints)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in INTEGER*8 npoints : The number of particles on *this* processor</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER*8 npoints
|
||||
|
||||
...
|
||||
call h5pt_setnpoints(file,npoints)
|
||||
...
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
<a name="Writing">
|
||||
<h2>Writing Datasets</h2>
|
||||
</a>
|
||||
<P>
|
||||
After setting the number of particles with
|
||||
<a href="#SetNumParticles">h5pt_setnpoints()</a>
|
||||
and the current timestep using
|
||||
<a href="#SetStep">h5pt_setstep()</a>, you can start
|
||||
writing datasets into the file. Each dataset has a name
|
||||
associated with it (chosen by the user) in order to facilitate
|
||||
later retrieval. The writing routines also implicitly store
|
||||
the datatype of the array so that the array can be
|
||||
reconstructed properly on other systems with incompatible type
|
||||
representations. The data is committed to disk before the
|
||||
routine returns. All data that is written after setting the
|
||||
timestep is associated with that timestep. While the number of
|
||||
particles can change for each timestep, you cannot change the
|
||||
number of particles in the middle of a given timestep.
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<P>
|
||||
The two data types supported for the moment are REAL*8 and INTEGER*8 (float64 and int64).
|
||||
</P>
|
||||
<code>EXTERNAL h5pt_writedata_r8</code><br>
|
||||
<code>SUBROUTINE h5pt_writedata_r8(filehandle,name,data)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the data we are writing eg. "X" or "Y" or "PX" etc...<br>
|
||||
in REAL*8 data(*) : The dataarray to write</code><br>
|
||||
<br>
|
||||
<code>EXTERNAL h5pt_writedata_i8</code><br>
|
||||
<code>SUBROUTINE h5pt_writedata_i8(filehandle,name,data)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the data we are writing eg. "X" or "Y" or "PX" etc...<br>
|
||||
in INTEGER*8 data(*) : The dataarray to write</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER nstep
|
||||
INTEGER I
|
||||
REAL*8,ALLOCATABLE:: X(:)
|
||||
|
||||
...
|
||||
do I=1,nstep
|
||||
call h5pt_setstep(file,I)
|
||||
call h5pt_writedata_r8(file,"x",X)
|
||||
enddo
|
||||
...
|
||||
</pre>
|
||||
<hr>
|
||||
<a name="ReadingNumTimeSteps">
|
||||
<h2>Reading the Number of Time Steps</h2>
|
||||
</a>
|
||||
<P>
|
||||
This reads the number of datasteps that are
|
||||
currently stored in the datafile.
|
||||
It works for both reading and writing of files, but is probably
|
||||
only typically used when you are reading.
|
||||
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<code>INTEGER h5pt_getnsteps</code><br>
|
||||
<code>FUNCTION h5pt_getnsteps(filehandle)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
returns INTEGER : number of timesteps stored in the file</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER nstep
|
||||
|
||||
file = h5pt_openr("testfilef.h5")
|
||||
nstep = h5pt_getnsteps(file)
|
||||
</pre>
|
||||
<hr>
|
||||
|
||||
<a name="ReadingNumParticles">
|
||||
<h2>Reading the Number of Particles</h2>
|
||||
</a>
|
||||
<P>
|
||||
This reads the number of particles that are currently stored in the current time step. It will arbitrarily select a timestep if you haven't already set the timestep with H5PartSetStep().
|
||||
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<code>INTEGER h5pt_getnpointss</code><br>
|
||||
<code>FUNCTION h5pt_getnpoints(filehandle)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
returns INTEGER : number of particles in the current time step</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER*8 npoints
|
||||
INTEGET step;
|
||||
|
||||
file = h5pt_openr("testfilef.h5")
|
||||
call h5pt_setstep(file,0)
|
||||
npoints = h5pt_getnpoints(file)
|
||||
...
|
||||
</pre>
|
||||
<hr>
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="Reading">
|
||||
<h2>Reading Datasets</h2>
|
||||
</a>
|
||||
<P>
|
||||
After setting the time step and getting the number of particles to allocate the data arrays, you can start to read the data.
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<code>INTEGER h5pt_readdata_r8</code><br>
|
||||
<code>FUNCTION h5pt_readdata_r8(filehandle,name,data)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the data we are writing, eg. "X" or "Y" or "PX" etc...<br>
|
||||
out REAL*8 data(*) : The data array to read. The number of points to read is either the number within
|
||||
the view setby h5pt_setview() or the default (the total number of particles in the file).<br>
|
||||
|
||||
|
||||
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER err
|
||||
INTEGER*8,ALLOCATABLE:: ID(:)
|
||||
|
||||
...
|
||||
call h5pt_setstep(file,step)
|
||||
err=h5pt_readdata_i8(file,"id",ID)
|
||||
...
|
||||
</pre>
|
||||
<hr>
|
||||
<a name="DatasetsInfo"><h2>Reading the Number and Names of Datasets</h2></a>
|
||||
<P>
|
||||
H5Part provides funtions to find out how many datasets are stored at a particular timestep
|
||||
and what their names are if you don't know what they are a-priori.
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<code>INTEGER h5pt_getndatasets</code><br>
|
||||
<code>FUNCTION h5pt_getndatasets(filehandle)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
returns INTEGER*8 : number of datasets stored per timestep</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER ndata
|
||||
|
||||
...
|
||||
call h5pt_setstep(file,1)
|
||||
ndata = h5pt_getndatasets(file)
|
||||
...
|
||||
|
||||
</pre>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<code>INTEGER h5pt_getdatasetname</code><br>
|
||||
<code>FUNCTION h5pt_getdatasetname(filehandle,index,name)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in INTEGER index : Index for a given dataset name<br>
|
||||
out CHARACTER name(*) returns the name of the dataset at that index<br>
|
||||
returns INTEGER, 1 on success 0 on failure.</code><br>
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
INTEGER err
|
||||
CHARACTER,ALLOCATABLE:: name(:)
|
||||
|
||||
...
|
||||
err=h5pt_getdatasetname(file, 1, name)
|
||||
...
|
||||
</pre>
|
||||
<hr>
|
||||
|
||||
<a name="AttributesInfo">
|
||||
<h2>Attributes Interface</h2></a>
|
||||
<P>
|
||||
In the current H5Part implemtation there are two types of attributes: file attributes which are bound to the file
|
||||
and step attributes which are bound to the current timestep. You
|
||||
must set the timestep explicitly before writing the attributes (just
|
||||
as you must do when you write a new dataset. Currently there are no
|
||||
attributes that are bound to a particular data array, but this could
|
||||
easily be done if required.
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<code>INTEGER h5pt_getnstepattribs</code><br>
|
||||
<code>FUNCTION h5pt_getnstepattribs(filehandle)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
returns INTEGER : number of attributes bound to this particular step<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_getnfileattribs</code><br>
|
||||
<code>FUNCTION h5pt_getnfileattribs(filehandle)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
returns INTEGER : number of attributes bound to the file<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_getstepattribinfo</code><br>
|
||||
<code>FUNCTION h5pt_getstepattribinfo(filehandle,idx,attribname,nelem)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in INTEGER idx : index of the attribute being queried<br>
|
||||
out CHARACTER name(*) : The name of the attribute<br>
|
||||
out INTEGER nelem : Number of elements in the attrib array<br>
|
||||
returns INTEGER, 1 on success 0 on failure.<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_getfileattribinfo</code><br>
|
||||
<code>FUNCTION h5pt_getfileattribinfo(filehandle,idx,attribname,nelem)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in INTEGER idx : index of the attribute being queried<br>
|
||||
out CHARACTER name(*) : The name of the attribute<br>
|
||||
out INTEGER nelem : Number of elements in the attrib array<br>
|
||||
returns INTEGER, 1 on success 0 on failure.
|
||||
</code>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<hr>
|
||||
<a name="WriteAttribs">
|
||||
<h2>Writing Attributes</h2>
|
||||
</a>
|
||||
<P>
|
||||
An attribute can be bound to the file or after setting the time step to this time step.
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
<code>INTEGER h5pt_writefileattrib_r8</code><br>
|
||||
<code>
|
||||
FUNCTION h5pt_writefileattrib_r8(filehandle,name,attrib,nelem)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the attribute<br>
|
||||
in REAL*8 attrib(*) : The array of data to write into the attribute<br>
|
||||
in INTEGER nelem : Number of elements in the attrib array<br>
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_writefileattrib_i8</code><br>
|
||||
<code>FUNCTION h5pt_writefileattrib_i8(filehandle,name,attrib,nelem)<br>
|
||||
in INTEGER*8 filehandle : The filehandle<br>
|
||||
in CHARACTER name(*) : The name of the attribute<br>
|
||||
in INTEGER*8 attrib(*) : The array of data to write into the attribute<br>
|
||||
in INTEGER nelem : Number of elements in the attrib array<br>
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_writefileattrib_string</code><br>
|
||||
<code>FUNCTION h5pt_writefileattrib_string(filehandle,name,string)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the attribute<br>
|
||||
in CHARACTER*8 attrib(*) : The array of data to write into the attribute<br>
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_writestepattrib_r8</code><br>
|
||||
<code>FUNCTION h5pt_writestepattrib_r8(filehandle,name,attrib,nelem)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the attribute<br>
|
||||
in REAL*8 attrib(*) : The array of data to write into the attribute<br>
|
||||
in INTEGER nelem : Number of elements in the attrib array
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_writestepattrib_i8</code><br>
|
||||
<code>FUNCTION h5pt_writestepattrib_i8(filehandle,name,attrib,nelem)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the attribute<br>
|
||||
in INTEGER*8 attrib(*) : The array of data to write into the attribute<br>
|
||||
in INTEGER nelem : Number of elements in the attrib array<br>
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_writestepattrib_string</code><br>
|
||||
<code>FUNCTION h5pt_writestepattrib_string(filehandle,name,string)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER name(*) : The name of the attribute<br>
|
||||
in CHARACTER*8 attrib(*) : The array of data to write into the attribute<br>
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
REAL*8 REALTIME
|
||||
INTEGER err
|
||||
|
||||
...
|
||||
err=h5pt_writefileattrib_string(file,"Annotation","Testing 1 2 3")
|
||||
err=h5pt_writestepattrib_r8(file,"RealTime",REALTIME,1)
|
||||
...
|
||||
|
||||
</pre>
|
||||
|
||||
<hr>
|
||||
<a name="ReadAttribs">
|
||||
<h2>Reading Attributes</h2>
|
||||
</a>
|
||||
<P>
|
||||
As with the writing of attributes, there are two basic reading interfaces one that reads file bound attributes and one that reads
|
||||
step bound attributes. If the step is not set the current one will be used.
|
||||
</P>
|
||||
<b>FORTRAN Prototypes</b><br>
|
||||
|
||||
<code>INTEGER h5pt_readstepattrib</code><br>
|
||||
<code>FUNCTION h5pt_readstepattrib(filehandle,name,data)<br>
|
||||
in INTEGER*8 filehandle : an open filehandle<br>
|
||||
in CHARACTER attributename(*) : name of the attribute to read<br>
|
||||
out <anytype> data(*) : the attribute data will be read into this array<br>
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
<br>
|
||||
<code>INTEGER h5pt_readfileattrib</code><br>
|
||||
<code>FUNCTION h5pt_readfileattrib(filehandle,name,data)<br>
|
||||
in INTEGER*8 filehandle an open filehandle<br>
|
||||
in CHARACTER attributename(*) : name of the attribute to read<br>
|
||||
out <anytype> data(*) : the attribute data will be read into this array<br>
|
||||
returns INTEGER, 1 on success 0 on failure<br>
|
||||
</code>
|
||||
|
||||
<b>Example Use</b><br>
|
||||
<pre>
|
||||
include 'H5Part.inc'
|
||||
INTEGER*8 file
|
||||
REAL*8 REALTIME
|
||||
|
||||
...
|
||||
call h5pt_setstep(file,0)
|
||||
err=h5pt_readstepattrib(file,"RealTime",data)
|
||||
...
|
||||
</pre>
|
||||
|
||||
|
||||
</div>
|
||||
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 187 KiB |
@@ -1,121 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>H5Part: a Portable High Performance Parallel Data Interface to HDF5</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
<meta name="keywords" content="scientific visualization">
|
||||
<meta name="sitemap" content="put a brief descriptive phrase here that will show up in the site map:foo">
|
||||
|
||||
|
||||
<div id="maincenter">
|
||||
<font face="arial,helvetica"><h1>H5Part: a Portable High Performance Parallel Data Interface to HDF5</h1></font>
|
||||
<!--<h2><font color="red"> THESE PAGES ARE UNDER CONSTRUCTION, September 2006</h2></font>-->
|
||||
<font face="arial,helvetica" color="#555588"><h2>Motivation</h2></font>
|
||||
<P>
|
||||
<TABLE>
|
||||
<TR>
|
||||
<TD>
|
||||
<a href="collision_6.png"><img src="collision_6.s.png" width=300 height=300></a>
|
||||
</TD
|
||||
></TR>
|
||||
<TR>
|
||||
<TD>
|
||||
Beam-beam collision simulation.
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</P>
|
||||
<P>
|
||||
Particle based simulations of accelerator beam-lines, especially in
|
||||
six dimensional phase space, generate vast amounts of data. Even
|
||||
though a subset of statistical information regarding phase space
|
||||
or analysis needs to be preserved, reading and writing such
|
||||
enormous restart files on massively parallel supercomputing
|
||||
systems remains challenging.<p>
|
||||
</P>
|
||||
|
||||
<P>
|
||||
H5Part is a very simple data storage schema and provides an
|
||||
API that simplifies the reading/writing of the data to the HDF5
|
||||
file format. An important foundation for a stable visualization and data
|
||||
analysis environment is a stable and portable file storage format and
|
||||
its associated APIs. The presence of a "common file storage format,"
|
||||
including associated APIs, will help foster a fundamental level of
|
||||
interoperability across the project's software infrastructure. It will
|
||||
also help ensure that key data analysis capabilities are present
|
||||
during the earliest phases of the software development effort.
|
||||
</P>
|
||||
<P>
|
||||
H5Part is built on top of the <a href="http://hdf.ncsa.uiuc.edu/HDF5">HDF5 (Hierarchical Data Format).</a>
|
||||
HDF5 offers a self-describing machine-independent
|
||||
binary file format that supports scalable parallel I/O
|
||||
performance for MPI codes on a variety of supercomputing
|
||||
systems, and works equally well on laptop computers. The API is
|
||||
available for C, C++, and Fortran codes. The H5Part file format and APIs
|
||||
enable disparate research groups with different simulation
|
||||
implementations to transparently share datasets and data
|
||||
analysis tools. For instance, the common file format will enable
|
||||
groups that depend on completely different simulation
|
||||
implementations to share data analysis tools.
|
||||
</P>
|
||||
<font face="arial,helvetica" color="#555588"><h2>H5Part file organization and API</h2></font>
|
||||
<P>
|
||||
The proposed file storage format uses HDF5 for the lowlevel
|
||||
file storage and a simple API to provide a high-level
|
||||
interface to that file format. A programmer can either use
|
||||
the H5Part API to access the data files or write directly to
|
||||
the file format using some simple conventions for organizing
|
||||
and naming the objects stored in the file.
|
||||
</P>
|
||||
<P>
|
||||
In order to store Particle Data in the HDF5 file format,
|
||||
we have formalized the hierarchical arrangement of the
|
||||
datasets and naming conventions for the groups and associated
|
||||
datasets. The sample H5Part API formally encodes
|
||||
these conventions in order to provide a simple and uniform
|
||||
way to access these files from C, C++, and Fortran codes.
|
||||
The API makes it easier to write very portable data adaptors
|
||||
for visualization tools in order to expand the number of
|
||||
tools available to access the data. Even so, anyone can use
|
||||
the HDF5 h5ls utility to examine the organization of the
|
||||
H5Part files and even write their own HDF5-based interface
|
||||
for reading and writing the file format. The standards
|
||||
offered by the sample API are completely independent of
|
||||
the standard for organizing data within the file.The file
|
||||
format supports the storage of multiple timesteps
|
||||
of datasets that contain multiple fields.
|
||||
</P>
|
||||
<!--
|
||||
<font face="arial,helvetica" color="#555588"><h2>Requirements Specification</h2></font>
|
||||
<UL>
|
||||
<LI><a href="H5PartSpecs.html">H5Part API specifications
|
||||
</UL>
|
||||
</a>
|
||||
-->
|
||||
|
||||
<font face="arial,helvetica" color="#555588"><h2>Downloading and Installing H5Part</h2></font>
|
||||
<UL>
|
||||
<LI><a href="Downloading.html">Downloading HDF5 and H5Part
|
||||
<LI><a href="BuildingHDF5.html">Building the HDF5 Library</a>
|
||||
<LI><a href="Building.html">Building the H5Part Library</a>
|
||||
</UL>
|
||||
<font face="arial,helvetica" color="#555588"><h2>Bindings</h2></font>
|
||||
<UL>
|
||||
<LI><a href="UsingC.html">Using the C/C++ interface</a>
|
||||
<LI><a href="UsingF.html">Using the F77/F90 interface</a>
|
||||
<LI><a href="InternalLayout.html">Logical Internal HDF5 File</a>
|
||||
<LI><a href="H5PartTools.html">H5Part Utility Tools</a>
|
||||
<LI><a href="ReferencePages/index.html">Reference Manual</a> (Note: Requires doxygen
|
||||
to be run in the directory /doc)
|
||||
</UL>
|
||||
|
||||
<font face="arial,helvetica" color="#555588"><h2>H5Part Visualization Tools</h2></font>
|
||||
<UL>
|
||||
<!--<LI><a href="H5PartExpress.html">H5Part Express Reader</a>-->
|
||||
<LI><a href="H5PartVisIt.html">H5Part VisIt Reader</a>
|
||||
<!--<LI><a href="H5PartIDL.html">H5Part IDL Reader</a>-->
|
||||
<LI><a href="http://www.cscs.ch/a-display.php?id=170">H5Part sparticles Reader: developed at CSCS, Switzerland</a>
|
||||
<LI><a href="http://vis.lbl.gov/Vignettes/PartView/index.html">PartView Visualization Application</a>
|
||||
</UL>
|
||||
</div>
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB |