296
edits
(some more help for compiling with openMPI-HDF5) |
(→HDF5: simplify new bits added about old hdf5 problems) |
||
Line 309: | Line 309: | ||
HDF5 library not found. Octave will not be able to save or load HDF5 data files. | HDF5 library not found. Octave will not be able to save or load HDF5 data files. | ||
The problem is that there are multiple versions of the hdf5 package. Octave was written with the serial version in mind but it is likely to work with the others (OpenMPI and Mpich). Due to the naming scheme done in Debian, it | The problem is that there are multiple versions of the hdf5 package. Octave was written with the serial version in mind but it is likely to work with the others (OpenMPI and Mpich). Due to the naming scheme done in Debian, it may be required to specify the location of the libraries. See bug {{bug|38928}} for details (starting with comment #19) but basically, use the following when running configure: | ||
./configure --with-hdf5-includedir=/usr/include/hdf5/serial --with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/serial | ./configure --with-hdf5-includedir=/usr/include/hdf5/serial --with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/serial | ||
On older versions of Debian and Ubuntu, where only one flavor of the HDF5 library could be installed at a time, you may need to build Octave against one of the MPI-enabled flavors. On these older systems, configuring Octave like this may work: | |||
./configure CPPFLAGS="-I/usr/include/mpi -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX" | |||
[[Category:Building]] | [[Category:Building]] | ||
[[Category:Installation]] | [[Category:Installation]] | ||
[[Category:Debian]] | [[Category:Debian]] |
edits