[Users] HDF Output for Wavedemo

Jian Tao jtao at cct.lsu.edu
Thu May 29 12:40:49 CDT 2008


rsoares wrote:
> Hi,
> 
> Running Wavedemo generates several  .xg .asc .jpeg files. 
> 
> 1.) How do you specify output to be generated in hdf format rather than 
> .xg etc or in addition.
To output files in HDF format, you will need to add the thorn 
CactusPUGHIO/IOHDF5 (I assume you are using PUGH) and compile Cactus 
together with HDF5.

To compile HDF5 with Cactus, you need to insert the following in
your option file (from Cactus user manual):

HDF5=YES
HDF5_DIR=dir
You will probably need to specify the directory for libz or libsz.
They could be specified with
LIBZ DIR =dir
LIBSZ DIR =dir

A sample parameter file for outputting in HDF5 format can be found
at arrangements/CactusPUGHIO/IOHDF5/par/hdf5.par under your Cactus
directory.

There are several packages you can use to visualize the HDF5 files as
shown at
http://www.cactuscode.org/Visualization/ .

> 2.) the .xg files for Wavedemo are large and don't load into xgraph.  
> Can xgraph be configured to accept these?

You can try to output not so often by setting the parameter
"IO::out_every" to a big number.
to shrink the file size.

Xgraph should work out of box. What is the error message you got
when you used Xgraph ? The problem you encounter was likely caused by
the big output file.

For plotting ASCII files, gnuplot should be a better choice.
You can find more info on how to use it on Cactus output files at
http://www.cactuscode.org/Visualization/gnuPlot

Regards,
Jian

> Thanks for your time.
> 
> Sincerely,
> 
> R.Soares
> _______________________________________________
> Users mailing list
> Users at cactuscode.org
> http://www.cactuscode.org/mailman/listinfo/users
> 



More information about the Users mailing list