NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
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? Actually, there is again a mistake in the INSTALL.cmake. Line 119 by accident has '..' instead of './'. In addition the 'make' command is missing between lines 119 and 120. Cheers and thanks in advance, Stefan Btw. I previously built netCDF 4.2.1.1 successfully on precisely that environment and machine.
netcdfgroup
archives: