Re: [CMake] [New Module] FindHDF5.cmake

2009-08-31 Thread Will Dicharry
James C. Sutherland wrote: I have a question about the static library option. I did: set( HDF5_USE_STATIC_LIBRARIES 1 ) which should trigger linkage with static libraries, right? But what I see in the link line is: /usr/lib/libz.dylib /usr/lib/libm.dylib

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-28 Thread James C. Sutherland
On Aug 24, 2009, at 10:20 AM, Will Dicharry wrote: All, I've committed the FindHDF5 and SelectLibraryConfigurations modules to the CMake CVS repository. Thanks for your input and feel free to contact me with questions regarding the modules. --Will Will, Thank you for your

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-28 Thread James C. Sutherland
On Aug 28, 2009, at 9:14 AM, James C. Sutherland wrote: On Aug 24, 2009, at 10:20 AM, Will Dicharry wrote: All, I've committed the FindHDF5 and SelectLibraryConfigurations modules to the CMake CVS repository. Thanks for your input and feel free to contact me with questions regarding

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-28 Thread James C. Sutherland
I have a question about the static library option. I did: set( HDF5_USE_STATIC_LIBRARIES 1 ) which should trigger linkage with static libraries, right? But what I see in the link line is: /usr/lib/libz.dylib /usr/lib/libm.dylib /jcs/apps/hdf5_serial/lib/ libhdf5_cpp.dylib

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-24 Thread Will Dicharry
All, I've committed the FindHDF5 and SelectLibraryConfigurations modules to the CMake CVS repository. Thanks for your input and feel free to contact me with questions regarding the modules. --Will Brad King wrote: John R. Cary wrote: Brad King wrote: John, how do autotools detect this?

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-24 Thread Brad King
Will Dicharry wrote: All, I've committed the FindHDF5 and SelectLibraryConfigurations modules to the CMake CVS repository. Thanks for your input and feel free to contact me with questions regarding the modules. Great. Thanks for your contribution! -Brad Brad King wrote: John R. Cary

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Brad King
Will Dicharry wrote: Sorry for the month of delay, but I've addressed Mike Jackson's concerns below and I think I'm close to having the HDF5 find module ready for submission. Excellent. I have a few comments from quickly glancing at them, but I don't have time for thorough testing. Overall

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Will Dicharry
Brad King wrote: Will Dicharry wrote: Sorry for the month of delay, but I've addressed Mike Jackson's concerns below and I think I'm close to having the HDF5 find module ready for submission. Excellent. I have a few comments from quickly glancing at them, but I don't have time for thorough

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Brad King
Will Dicharry wrote: What is the convention for keeping a macro out of the public interface? Leave it out of the documentation and name it with a '_hdf5_' prefix (starting in '_'). -Brad ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread John R. Cary
I am a real newbie here (exploring cmake) so my words should be taken with a grain of salt. But we find (in our current autotools setup), that it is good to have a flag that tells one whether the hdf5 was compiled with --enable-parallel. John Cary Will Dicharry wrote: Brad King wrote: Will

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Will Dicharry
John R. Cary wrote: I am a real newbie here (exploring cmake) so my words should be taken with a grain of salt. But we find (in our current autotools setup), that it is good to have a flag that tells one whether the hdf5 was compiled with --enable-parallel. I agree that would be useful. I

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Brad King
Will Dicharry wrote: John R. Cary wrote: I am a real newbie here (exploring cmake) so my words should be taken with a grain of salt. But we find (in our current autotools setup), that it is good to have a flag that tells one whether the hdf5 was compiled with --enable-parallel. I agree

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Brad King
John R. Cary wrote: Brad King wrote: John, how do autotools detect this? hdf5par=`grep HAVE_PARALLEL 1 $HDF5_INCDIR/H5config.h` I suppose there are other ways, but we have been doing this through several versions of hdf5. Great, thanks John. Will, you should be able to use the

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Will Dicharry
Brad King wrote: John R. Cary wrote: Brad King wrote: John, how do autotools detect this? hdf5par=`grep HAVE_PARALLEL 1 $HDF5_INCDIR/H5config.h` I suppose there are other ways, but we have been doing this through several versions of hdf5. Great, thanks John. Will, you should be able to

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread Will Dicharry
Brad King wrote: John R. Cary wrote: Brad King wrote: John, how do autotools detect this? hdf5par=`grep HAVE_PARALLEL 1 $HDF5_INCDIR/H5config.h` I suppose there are other ways, but we have been doing this through several versions of hdf5. Great, thanks John. Will, you should be able to

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-20 Thread John R. Cary
Will Dicharry wrote: Brad King wrote: John R. Cary wrote: Brad King wrote: John, how do autotools detect this? hdf5par=`grep HAVE_PARALLEL 1 $HDF5_INCDIR/H5config.h` I suppose there are other ways, but we have been doing this through several versions of hdf5. Great, thanks John. Will,

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-19 Thread Will Dicharry
Hi All, Sorry for the month of delay, but I've addressed Mike Jackson's concerns below and I think I'm close to having the HDF5 find module ready for submission. I've tested it on a number of Unix and Linux systems, including desktops and clusters, but it would be helpful if someone with

Re: [CMake] [New Module] FindHDF5.cmake

2009-08-10 Thread James C. Sutherland
Out of curiosity, was a module ever submitted for this? I would love to have a copy ;-) Specifically, I am interested in detecting statically linked libraries and the c++ library and header(s). I also would like to see a list of libraries like the z library for compression. Utility

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-10 Thread Brad King
Will Dicharry wrote: Mike Jackson wrote: Can you post your module or attach it to a bug/feature request? I also have a FindHDF5 module and I would like to compare the two. Sorry about that, I meant to attach the module to the first email. It is attached to this one. After you two have

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-10 Thread Michael Jackson
On Jul 10, 2009, at 11:13 AM, Brad King wrote: Will Dicharry wrote: Mike Jackson wrote: Can you post your module or attach it to a bug/feature request? I also have a FindHDF5 module and I would like to compare the two. Sorry about that, I meant to attach the module to the first email.

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-10 Thread Will Dicharry
Michael Jackson wrote: On Jul 10, 2009, at 11:13 AM, Brad King wrote: Will Dicharry wrote: Mike Jackson wrote: Can you post your module or attach it to a bug/feature request? I also have a FindHDF5 module and I would like to compare the two. Sorry about that, I meant to attach the module

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-10 Thread Michael Jackson
reponses in line.. On Jul 10, 2009, at 12:33 PM, Will Dicharry wrote: Michael Jackson wrote: On Jul 10, 2009, at 11:13 AM, Brad King wrote: Will Dicharry wrote: Mike Jackson wrote: Can you post your module or attach it to a bug/feature request? I also have a FindHDF5 module and I

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-10 Thread Will Dicharry
Michael Jackson wrote: reponses in line.. My responses are inline too. I'm snipping some of the front matter for brevity. On Jul 10, 2009, at 12:33 PM, Will Dicharry wrote: Michael Jackson wrote: Does it find the HDF5 C++ library? No, but I'll add that in by invoking the HDF5 C++

[CMake] [New Module] FindHDF5.cmake

2009-07-07 Thread Will Dicharry
Hi All, I have written a find module that invokes the hdf5 wrapper compiler to determine libraries and includes that are necessary for clients of HDF5. I tried to follow the guidelines for formatting and naming set forth in the module readme. At the moment, the module has been tested on

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-07 Thread Mike Jackson
Can you post your module or attach it to a bug/feature request? I also have a FindHDF5 module and I would like to compare the two. Mike Jackson www.bluequartz.net On Tue, Jul 7, 2009 at 11:03 AM, Will Dicharrywdicha...@stellarscience.com wrote: Hi All, I have written a find module that

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-07 Thread Will Dicharry
Mike Jackson wrote: Can you post your module or attach it to a bug/feature request? I also have a FindHDF5 module and I would like to compare the two. Sorry about that, I meant to attach the module to the first email. It is attached to this one. --Will Mike Jackson www.bluequartz.net

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-07 Thread Denis Scherbakov
I have written a find module that invokes the hdf5 wrapper compiler to determine libraries and includes that are necessary for clients of HDF5.  I tried to follow the guidelines for formatting and naming set forth in the module readme.  At the moment, the module has been tested on Linux,

Re: [CMake] [New Module] FindHDF5.cmake

2009-07-07 Thread Will Dicharry
Denis Scherbakov wrote: I have written a find module that invokes the hdf5 wrapper compiler to determine libraries and includes that are necessary for clients of HDF5. I tried to follow the guidelines for formatting and naming set forth in the module readme. At the moment, the module has been