Hi everyone. I am totally new to HDF5 and trying to install it on my Ubuntu 12.04 with fortran and parallel enabled. (struggling for more than 3 hours...)
And could not even go thru configuring part. This is what I typed. export CC=/usr/bin/mpicc export FC=/usr/bin/mpif90 ./configure --prefix=/opt/hdf5-1.8.10-patch1 --enable-parallel --enable-fortran --with-zlib=/usr/local/lib/zlib-1.2.5 --with-szlib=/usr/local/lib/szip-2.1 And keep getting this error message. mycom@mycom:~/Downloads/hdf5-1.8.10-patch1$ ./configure --prefix=/opt/hdf5-1.8.10-patch1 --enable-parallel --with-zlib=/usr/local/lib/zlib-1.2.5 --with-szlib=/usr/local/lib/szip-2.1 --enable-fortran checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking shell variables initial values... done checking if basename works... yes checking if xargs works... yes checking for cached host... none checking for config x86_64-unknown-linux-gnu... no checking for config x86_64-unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config unknown-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-linux-gnu... no checking for config x86_64-unknown... no checking for config linux-gnu... found compiler 'mpicc' is GNU gcc-4.6.3 CC_BASENAME is mpicc. No match to get fc_version_info for /usr/bin/mpif90 (<= looks like this part is making the problem.) checking for config ./config/site-specific/host-deul... no checking for gcc... mpicc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mpicc accepts -g... yes checking for mpicc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of mpicc... gcc3 checking if unsupported combinations of configure options are allowed... no checking if Fortran interface enabled... yes checking if Fortran 2003 interface enabled... yes checking whether we are using the GNU Fortran compiler... no checking whether /usr/bin/mpif90 accepts -g... no checking for Fortran flag to compile .f90 files... unknown configure: error: Fortran could not compile .f90 files mycom@mycom:~/Downloads/hdf5-1.8.10-patch1$ If I remove '--enable-fortran' part, it configures well. Coulb somebody help me out? Thanks in advance. SK
_______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org