Hello MPB users:

I am interested in using some visualization software to plot the dielectric structure of the photonic crystal systems that I set up in MPB. Steven Johnson's wiki points to a handy little utility, h5tov5d that converts the standard .h5 output to the .v5d format so that it can be viewed with Vis5d. As I am sure you all know, to install h5tov5d I have to compile the h5utils source code after successfully installing the HDF5 drivers and a working version of Vis5d.

I had some difficulty in getting the Vis5d+ program to install on our system, but in the meantime I was able to compile the h5utils package to get most of the other utilities working. Two days ago I finally got Vis5d+ to compile (I had to alter the configure script) and tested it successfully on our system. Now, when I try to compile h5utils again to get the h5tov5d program, I am running into some strange problems that I am not sure how to solve.

The ./configure script ran completely without any major errors (some packages that actually existed weren't located by the script - more on that later) but any attempt to make the package ended with fatal errors. You can see the output from ./configure and make here:

./configure output      :  
www.truemerrill.com/Share/h5utils.configure-output.txt
make output             :  www.truemerrill.com/Share/h5utils.make-output.txt

The compiler (gcc 4.3.2) complains about undefined reference to `H5Dopen1', `H5Eget_auto1' ... etc. in the file arrayh5.c. I've searched the code - there is plenty of reference to `H5Dopen', but never to `H5Dopen1' or anything like that (I don't claim to be an expert on C, but that in itself seems very unusual).

Here is the code that seems to be giving the compiler some problems (Im sure Steven wouldn't mind)
arrayh5.c               :  www.truemerrill.com/Share/arrayh5.c

Has anyone ever had a problem like this before?

Another option would be to use another program that could read from the .h5 output files directly. Does anyone have any recommendations for another program to use? Ideally I would like to be able to write a script that goes in after MPB - cleans everything up and allows me to view the output by tunneling an X11 session through SSH.

Any help would be greatly appreciated

Regards,

True Merrill

Georgia Institute of Technology
251.648.4093
[EMAIL PROTECTED]

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to