Hi Kunal,
On Jun 5, 2010, at 7:19 PM, kunal rao wrote:
> Hello:
>
> I am trying to compile and build hdf5 1.6 with parallel I/O on my laptop
> running Ubuntu 9.10 on a virtual machine.
>
> I have configured id with the following command:
>
> $CC=gcc F9X=/usr/bin/gfortran CPPFLAGS=-I/usr/include/mpi/
> FFLAGS=-I/usr/include/mpich2/ ./configure
> --prefix=/home/kunalgrao/Desktop/hdf5_parallel --enable-parallel
> --enable-fortran |tee configure_parallel.log
>
> But when I do $ make
> I get the following error after some time :
>
> make[3]: Entering directory
> `/home/kunalgrao/Desktop/hdf5-1.6.10/fortran/testpar'
> /usr/bin/gfortran -I. -I/usr/include/mpich2/ -I. -I../src -c
> thyperslab_wr.f90 -o thyperslab_wr.o
> thyperslab_wr.f90:54.26:
>
> comm = MPI_COMM_WORLD
> 1
> Error: Symbol 'mpi_comm_world' at (1) has no IMPLICIT type
> thyperslab_wr.f90:55.25:
>
> info = MPI_INFO_NULL
> 1
> Error: Symbol 'mpi_info_null' at (1) has no IMPLICIT type
> make[3]: *** [thyperslab_wr.lo] Error 1
> make[3]: Leaving directory
> `/home/kunalgrao/Desktop/hdf5-1.6.10/fortran/testpar'
>
> Can you please tell me how to rectify this?
>
> I am attaching the log file for configure for your reference.
First, you probably want the 1.8.5 release of HDF5, which should be
released next week. Here's the link for a release candidate:
ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/hdf5/hdf5-1.8.5-pre2/
Then, you should use the 'mpicc' command from MPICH2 as your compiler,
instead of trying to get the MPI include files and libraries correct.
Quincey
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org