The advice to focus more closely on the setup.py was helpful and the initial
problem was simply that the --hdf5='/usr/local/hdf5' needed an equal sign.
But, I am still not sure that the correct libraries are being used. The
following error appears when opening the hdf file in my python script -
Warning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application
continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
So, it's not clear that the HDF is installed appropriately. I did set the
LD_LIBRARY_PATH which does appear to have any impact.
Thanks,
Todd
On Sat, Feb 12, 2011 at 5:52 PM, Dr. Louis Wicker <louis.wic...@noaa.gov>wrote:
> Todd:
>
> I have found that sometimes I needed to go into the setup.py scripts, turn
> off looking for the HDF install, and set the directory right inside.
>
> I dont know what that makes a diff.
>
> L
>
> On Feb 12, 2011, at 10:21 AM, Todd Matthews wrote:
>
> > Hello,
> >
> > I am struggling with PyTables installation. It has been successfully
> installed for Python 2.6; but, I want to use Pytables for a second Python
> 2.7 installation. When installing with the following -
> >
> > easy_install-2.7 tables
> >
> > The following message (initial output not included) is produced -
> >
> > ...
> > Running tables-2.2.1/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-gMhvzt/tables-2.2.1/egg-dist-tmp-mS3ZYC
> > * Found numpy 1.5.1 package installed.
> > .. ERROR:: Could not find a local HDF5 installation.
> > You may need to explicitly state where your local HDF5 headers and
> > library can be found by setting the ``HDF5_DIR`` environment
> > variable or by using the ``--hdf5`` command-line option.
> > error: Setup script exited with 1
> >
> > I have attempted to be explicit with header file locations as suggested.
> Also, I have changed the hdf scripts according to HDF docs. But, without any
> luck. Not sure what to try next and I hope that some one can provide
> guidance.
> >
> > Thanks,
> > Todd
> >
> >
> ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> >
> http://p.sf.net/sfu/intel-dev2devfeb_______________________________________________
> > Pytables-users mailing list
> > Pytables-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pytables-users
>
>
> ----------------------------------------------------------------------------
> | Dr. Louis J. Wicker
> | NSSL/FRDD Rm 4368
> | National Weather Center
> | 120 David L. Boren Boulevard, Norman, OK 73072
> |
> | E-mail: louis.wic...@noaa.gov
> | HTTP: www.nssl.noaa.gov/~lwicker<http://www.nssl.noaa.gov/%7Elwicker>
> | Phone: (405) 325-6340
> | Fax: (405) 325-6780
> |
> | If you start a day without a clear plan about how you’re
> | going to spend your attention, you’ll end up wasting most
> | of it.—Martha Beck (2002)
> |
> | Assemby of Japanese bicycle requires great peace of mind.
> | Robert Pirsig, ZAMM
> |
>
> ----------------------------------------------------------------------------
> |
> | "The contents of this message are mine personally and
> | do not reflect any position of the Government or NOAA."
> |
>
> ----------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Pytables-users mailing list
> Pytables-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytables-users
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users