Hi Elena,
Thank you for your prompt response. First answers to your questions:
On which platforms do you build and which compilers do you use?
I am using OpenSuse Linux 11.1, kernel 2.6.27.56-0.1. I am using gcc(version: 4.3.2) and gfortran(version: 4.3.2)
Can you see *.mod files in the fortran/src directory?
Yes I can see the *.mod files in the fortran/src directory.
Any chance that they were left their from the previous build?
Nope as this is the first time I am trying to use HDF5 or PHDF5.
Action Items:
I followed your instructions to do the build again.
Step 1:
- make distclean starting from the top directory
Step2:
- configuring with the simplified command
./configure --prefix=/opt/hdf5-1.6.10 --with-szlib=/opt/szip-2.1
--with-zlib=/lib64 --enable-fortran --enable-parallel
Outcome:
- configuring succeeded as earlier.
- make failed with similar errors as earlier.
I am attaching the console outputs for ./configure and make in two separate text files respectively:
- vtconfiglogfile-hdf5-1.6.10
- vtmakelogfile-hdf5-1.6.10.
As per your suggestion I also tried building hdf5-1.8.5-patch1 but again configure succeeded but make failed. The console outputs for ./configure and make (partial output as write to the output file could not complete) in two separate text files respectively:
- vtconfiglogfile-hdf5-1.8.5-patch1
- vtmakelogfile-hdf5-1.8.5-patch1.
I had earlier avoided installing the latest release hdf5-1.8.5-patch1 because there had been some bugs/problems reported in release notes with regard to using certain number of processors with PHDF5.
Looking forward to your response. Thanks once again.
Regards.
Vaibhav
Vaibhav Thakore
Graduate Research Assistant
416 NanoScience Technology Center
12424 Research Parkway
Orlando, FL 32826
Phone: 864 506 6563
Elena Pourmal <epourmal@hdfgroup.org> 01/06/11 9:54 AM >>>
Hi Vaibhav,
It looks to me as mpif90 cannot find HDF5 modules when it links Fortran tests. On which platforms do you build and which compilers do you use? Can you see *.mod files in the fortran/src directory? Any chance that they were left their from the previous build?
Could you please try
- make distclean starting from the top directory
- configuring with the simplified command
./configure --prefix=/opt/hdf5-1.6.10 --with-szlib=/opt/szip-2.1
--with-zlib=/lib64 --enable-fortran --enable-parallel
make
make check
Please save outputs of the configure command and make commands; if build doesn't work, we will need to look at the output.
I would also recommend to use 1.8.5-patch1 instead of 1.6.10. If your application uses 1.6 API, you can use --with-default-api-version=v16 configure flag when you configure and build the 1.8.5-patch1 library, or use -DH5_USE_16_API flag when you compile your application (and build the library as discussed above).
Thank you!
Elena
vtconfiglogfile-hdf5-1.6.10 (19.8 KB)
vtmakelogfile-hdf5-1.6.10 (122 KB)
vtconfiglogfile-hdf5-1.8.5-patch1 (21.7 KB)
vtmakelogfile-hdf5-1.8.5-patch1 (623 KB)
···
On Jan 5, 2011, at 4:26 PM, vthakore wrote:
Hi,
I have been trying to install hdf5 with the parallel option and ran
configure using the following options:./configure --prefix=/opt/hdf5-1.6.10 --with-szlib=/opt/szip-2.1
--with-zlib=/lib64 --enable-fortran --enable-linux-lfs --enable-debug=all
--enable-parallelAlso set environment variables using
export CC=mpicc and export FC=mpif90
After successful configuration, I ran make which failed due to errors.
Please see output below. I already had mpich2 installed on my system and I
have sucessfully used mpi calls several times in my Fortran programs.Can someone please point out as to what the issue might be and how can it be
remedied? Thanks a lot for your time and effort.Regards.
Vaibhav.