One more thing: I set the environment variable HDF5_DISABLE_VERSION_CHECK=2
On 5/15/12 11:01 AM, "Kelly, Bernard J. (GSFC-660.0)[UNIVERSITY OF MARYLAND BALTIMORE COUNTY]" bernard.j.kelly@nasa.gov wrote:
Hi Scott.
Thanks for the detailed walk-through, which of course, I'm *not* following to the letter. Unfortunately the results of my fiddlings are the same as before. Details below.
I really don't think it can be my HDF version per se. Perhaps it's my MPI? Any reason why MPICH shouldn't work?
Bernard
0th step: I'm using Snow Leopard, not Lion.
On 5/14/12 5:23 PM, "Scott Hawley" scott.hawley@belmont.edu wrote:
Here's what I did:
- Downloaded the 64-bit binary of Visit 2.4.2 from the Visit web site
check
- Downloaded the CarpetHDF directory via svn.
check
- Downloaded hdf5-1.8.9 source via ftp. I just put it in the CarpetHDF5
directory. Did a make and make installŠ. "HDF5 Directory" is then .../hdf5-1.8.9/hdf5/ (see below)
I've stuck with my MacPorts-installed 1.8.8
- Made sure "Remote Login" is enabled under "Sharing" in "System
Preferences". Visit uses this. Went ahead and did a "ssh localhost" just to make sure. I was actually prompted to confirm an address because I'm on LSU's network right now. (Presumably Visit needs a clean login with no pesky questions or password prompts.)
check
- Created symbolic links in /usr/lib to whichever MPI libraries I
planned to use. Older versions of OS X had native MPI support, and this is hard coded in the binary you get from the visit site. I use OpenMPI and MacPorts, so I went to /usr/lib and did "sudo ln -s /opt/local/lib/libmpi* ."
check. But I'm using MPICH (MacPorts again), so my MPI libraries are libmpich, libmpichcxx, libmpichf90. There is an old libmpi in /usr/local, which seems to have been installed with the OS. I don't want to delete this without a good reason.
- Deleted my ~/.visit directory entirely. This may not be necessary.
check
- Went in the CarpetHDF5 and ran ./install and Šbasically just did what
was in the readme, that is: in the xmledit window, clicked on "Cmake" and then updated the flags, as in
CXXFLAGS = -I/Applications/VisIt.app/Contents/Resources/2.4.2/darwin-x86_64/include -I/Users/shawley/apps/VizTools/CarpetHDF5/hdf5-1.8.9/hdf5/include LDFLAGS = -L/Applications/VisIt.app/Contents/Resources/2.4.2/darwin-x86_64/lib -L/Users/shawley/apps/VizTools/CarpetHDF5/hdf5-1.8.9/hdf5/lib Saved and closed the window, let it do its thing...
check (though my HDF installation is in /opt/local/include, /opt/local/lib)
- Ran visit from the command line, using the -noconfig option. The
latest version of Visit has a problem with "localhost" on Mac, for some reason. so visit -noconfig
..and then visit came up, I opened a .h5 file and was able to do all the usual things with it!
Sadly, UNcheck.