George, Matt and Carl.
Thanks much for all the suggestions. I
was able to move past the configure errors by using a combination of all
the tips you recommended. I in fact downloaded the hdf-1.10.1 version and
while running make did not give any problems I have a whole bunch of
redundant macro warnings and which when I looked up is identical to this
one -
https://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/2010-July/003304.html
.
I have enclosed a trimmed version of my logs. Is it good to proceed forward
or is there something I need to edit with the header files as well ? Note
these warnings do not occur with gfortran.Best regards, Ashwin. On Tue, Jun 27, 2017 at 3:09 AM, Carl Ponder <[email protected]> wrote: > *On 06/26/2017 01:42 AM, ashwin .D wrote:* > > I already have an existing installation of HDF5 1.8.17 compiled with > gfortran. Now for another project on the same machine I need to compile > with PGI compilers i.e. pgcc , pgc++and pgf90. The installation directory > will be separate as well i.e. /opt/local/lib and /opt/local/include. > > > Ashwin -- here's a script that I use to build HDF5 1.10.1 using the PGI > 17.5 compiler. > You might try testing with these components first to see if you can get it > to build, and then go backlevel on the pieces that you want to use. > > -- Carl > > > ------------------------------ > > This is how I try to build hdf5 > > CPPFLAGS=/opt/local/include CXXFLAGS=/opt//local/include > LDFLAGS=/opt//local/lib CC=pgcc CXX=pgc++ FC=pgf90 F77=pgf77 ./configure > --prefix=/opt/local --with-zlib=/opt/local --enable-fortran --enable-cxx. > > and when I try doing this I get this error message - > > 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 make supports nested variables... (cached) 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 'pgcc' is PGI pgcc-17.4-0 > compiler 'pgf90' is PGI pgf90-17.4-0 > No match to get cxx_version_info for pgc++ > checking for config ./config/site-specific/host-Vostro-3800... no > checking for gcc... pgcc > checking whether the C compiler works... no > configure: error: in `/home//hdf5-1.8.17': > configure: error: C compiler cannot create executables > See `config.log' for more details > > Any suggestions on how to build will be appreciated. > > > ------------------------------ > This email message is for the sole use of the intended recipient(s) and > may contain confidential information. Any unauthorized review, use, > disclosure or distribution is prohibited. If you are not the intended > recipient, please contact the sender by reply email and destroy all copies > of the original message. > ------------------------------ >
logs
Description: Binary data
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
