alfreale,<br><br>Looks like this problem is related to hdf5 and mpi. IMHO you should check your mpi and hdf5 packages.<br><br><div class="gmail_quote">On Wed, Oct 21, 2009 at 7:22 PM, alfreale <span dir="ltr">&lt;<a href="mailto:alfreale74@gmail.com">alfreale74@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
<br>
I try to compile gdal with hdf5 support, but the compile fail:<br>
<br>
<br>
In file included from /usr/include/hdf5.h:24,<br>
                 from hdf5dataset.cpp:34:<br>
/usr/include/H5public.h:57:20: error: mpi.h: No such file or directory<br>
In file included from /usr/include/hdf5.h:46,<br>
                 from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpi.h:66: error: expected identifier before &#39;*&#39; token<br>
/usr/include/H5FDmpi.h:66: error: &#39;MPI_Comm&#39; declared as function returning<br>
a function<br>
In file included from /usr/include/H5FDmpi.h:71,<br>
                 from /usr/include/hdf5.h:46,<br>
                 from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpio.h:50: error: &#39;MPI_Comm&#39; has not been declared<br>
/usr/include/H5FDmpio.h:50: error: &#39;MPI_Info&#39; has not been declared<br>
/usr/include/H5FDmpio.h:51: error: &#39;MPI_Comm&#39; has not been declared<br>
/usr/include/H5FDmpio.h:52: error: &#39;MPI_Info&#39; has not been declared<br>
In file included from /usr/include/H5FDmpi.h:72,<br>
                 from /usr/include/hdf5.h:46,<br>
                 from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpiposix.h:46: error: &#39;MPI_Comm&#39; has not been declared<br>
/usr/include/H5FDmpiposix.h:47: error: &#39;MPI_Comm&#39; has not been declared<br>
In file included from /usr/include/hdf5.h:46,<br>
                 from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpi.h:99: error: &#39;MPI_Offset&#39; was not declared in this<br>
scope<br>
/usr/include/H5FDmpi.h:100: error: &#39;MPI_Offset&#39; has not been declared<br>
/usr/include/H5FDmpi.h:101: error: &#39;MPI_Comm&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:101: error: &#39;MPI_Info&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: &#39;MPI_Comm&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: &#39;comm_new&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: &#39;MPI_Info&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: &#39;info_new&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: initializer expression list treated as<br>
compound expression<br>
/usr/include/H5FDmpi.h:103: error: &#39;MPI_Comm&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: &#39;comm&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: &#39;MPI_Info&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: &#39;info&#39; was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: initializer expression list treated as<br>
compound expression<br>
/usr/include/H5FDmpi.h:108: error: &#39;MPI_Datatype&#39; has not been declared<br>
/usr/include/H5FDmpi.h:109: error: &#39;MPI_Datatype&#39; has not been declared<br>
/usr/include/H5FDmpi.h:115: error: &#39;MPI_Comm&#39; does not name a type<br>
make[2]: *** [../o/hdf5dataset.lo] Error 1<br>
make[2]: Leaving directory<br>
`/home/alfredo/archivio/GRASS_INSTALL/gdal-1.6.2/frmts/hdf5&#39;<br>
make[1]: *** [hdf5-install-obj] Error 2<br>
make[1]: Leaving directory<br>
`/home/alfredo/archivio/GRASS_INSTALL/gdal-1.6.2/frmts&#39;<br>
make: *** [frmts-target] Error 2<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/gdal-1-6-2-compile-fail-mpi-h-tp3865413p3865413.html" target="_blank">http://n2.nabble.com/gdal-1-6-2-compile-fail-mpi-h-tp3865413p3865413.html</a><br>
Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>