Re: [netcdfgroup] Building netCDF 4.3.1-rc1 with parallel I/O support fails

  • To: Orion Poplawski <orion@xxxxxxxxxxxxx>
  • Subject: Re: [netcdfgroup] Building netCDF 4.3.1-rc1 with parallel I/O support fails
  • From: Gerry Creager - NOAA Affiliate <gerry.creager@xxxxxxxx>
  • Date: Mon, 26 Aug 2013 17:25:01 -0500
Aha! That's something I'd not explicitly tried. Thank you!
gerry


On Mon, Aug 26, 2013 at 4:01 PM, Orion Poplawski <orion@xxxxxxxxxxxxx>wrote:

> On 08/26/2013 07:21 AM, Stefan Mauerberger wrote:
>
>> Hello there,
>>
>> first of all, building serial netCDF on Ubuntu 12.10 works fine.
>> Therefore I installed the packages libhdf5-dev and libhdf5-7 1.8.8-9.
>> All tests pass through.
>>
>> Well, in INSTALL.cmake lines 72 and 90 are wrong. They should better
>> read as
>>      cmake ./ -DCMAKE_INSTALL_PREFIX=$HOME/**local ...
>> instead of
>>      ./cmake
>> In addition between lines 72-73 and 90-91 a 'make' is missing.
>>
>> In contrast to serial netCDF, I can not build netCDF with parallel I/O
>> support. Both CMake and ./configure complain that there is no hdf5.h
>> header file.
>>
>> Let me explain first what I have done so far. The packages libhdf5-dev
>> and libhdf5-7 got replaced by there MPI counterparts. That are
>> libhdf5-openmpi-dev and libhdf5-openmpi-7 also version 1.8.8-9.
>> After that I tried to run
>>      CC=mpicc.openmpi cmake . -DENABLE_PARALLEL=ON
>> -DCMAKE_INSTALL_PREFIX=$HOME/**local/
>> Unfortunately the output is:
>>
>>> ....
>>> -- Found CURL: /usr/lib/x86_64-linux-gnu/**libcurl.so (found version
>>> "7.27.0")
>>> CMake Error at CMakeLists.txt:572 (CHECK_LIBRARY_EXISTS):
>>>    CHECK_LIBRARY_EXISTS Macro invoked with incorrect arguments for
>>> macro
>>>    named: CHECK_LIBRARY_EXISTS
>>>
>>>
>>> CMake Error at CMakeLists.txt:576 (CHECK_LIBRARY_EXISTS):
>>>    CHECK_LIBRARY_EXISTS Macro invoked with incorrect arguments for
>>> macro
>>>    named: CHECK_LIBRARY_EXISTS
>>>
>>>
>>> -- Cannot find HDF5 library built with parallel support. Disabling
>>> parallel build.
>>> -- Looking for math.h
>>> -- Looking for math.h - found
>>> ....
>>>
>> Well, HDF5 with parallel IO support is installed. Why doesn't cmake
>> (2.8.9) as well as the configure script find it? Any ideas?
>>
>
> I have to explicitly give the location of the parallel hdf5 library, e.g.:
>
> -DENABLE_PARALLEL=ON
> -DHDF5_LIB=/usr/lib64/openmpi/**lib/libhdf5.so
> -DHDF5_HL_LIB=/usr/lib64/**openmpi/lib/libhdf5_hl.so
> -DHDF5_INCLUDE_DIR=/usr/**include/openmpi-x86_64
>
>
>
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA, Boulder/CoRA Office             FAX: 303-415-9702
> 3380 Mitchell Lane                       orion@xxxxxxxx
> Boulder, CO 80301                   http://www.nwra.com
>
>
> ______________________________**_________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/**mailing_lists/<http://www.unidata.ucar.edu/mailing_lists/>
>



-- 
Gerry Creager
NSSL/CIMMS
405.325.6371
++++++++++++++++++++++
“Big whorls have little whorls,
That feed on their velocity;
And little whorls have lesser whorls,
And so on to viscosity.”
Lewis Fry Richardson (1881-1953)
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: