Hi I trying to compile hdf-1.8.5-pathch1 with gnu-4.4.4 and openmpi-1.4.3
# set the following environment variables
setenv FC ${MPIHOME}/bin/mpif90
setenv CC ${MPIHOME}/bin/mpicc
setenv LDFLAGS "-L{MPIHOME}/lib"
setenv LIBS "-lmpi"
#configure wiht
./configure
--prefix=/usr/local/ACTS_TEST/gnu-4.4.4/openmpi-1.4.3/hdf5-1.8.5
--exec-prefix=/usr/local/ACTS_TEST/gnu-4.4.4/openmpi-1.4.3/hdf5-1.8.5
--enable-production --enable-parallel --enable-fortran
--with-default-api
-version=v16
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 '/usr/local/packages/openmpi-1.4.3/bin/mpicc' is GNU gcc-4.4.4
CC_BASENAME is mpicc.
No match to get fc_version_info for
/usr/local/packages/openmpi-1.4.3/bin/mpif90
checking for config ./config/site-specific/host-paratools04.rrp.net... no
checking for config ./config/site-specific/host-rrp.net... no
checking for config ./config/site-specific/host-net... no
checking for gcc... /usr/local/packages/openmpi-1.4.3/bin/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... configure: error: in
`/usr/local/packages/notransfer/acts_openmpi-1.4.3/hdf5-1.8.5-patch1':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
###
So I am not sure what the cross compiling is about
but if remove the --enable-parallel it configures without issue
Thanks
Chris B.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org