Hello Elena and Albert, thanks for your interest.
1) Result from "make" of adding --disable-silent-rules to configure:
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Lff_F90.lo H5Lff_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Lff_F90.f90 -o .libs/H5Lff_F90.o
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Lff_F90.f90 -o H5Lff_F90.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Off_F90.lo H5Off_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Off_F90.f90 -o .libs/H5Off_F90.o
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Off_F90.f90 -o H5Off_F90.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Rff_F90.lo H5Rff_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Rff_F90.f90 -o .libs/H5Rff_F90.o
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Rff_F90.f90 -o H5Rff_F90.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Tff_F90.lo H5Tff_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Tff_F90.f90 -o .libs/H5Tff_F90.o
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Tff_F90.f90 -o H5Tff_F90.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o HDF5.lo HDF5.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c HDF5.f90 -o .libs/HDF5.o
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c HDF5.f90 -o HDF5.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=FC --mode=link /usr/local/bin/f95 -I../../src -I../../fortran/src -version-info 8:0:0 -o libhdf5_fortran.la -rpath /usr/local/nag/hdf5/lib H5f90global.lo H5fortran_types.lo H5_ff_F90.lo H5_ff.lo H5Aff.lo H5Dff.lo H5Eff.lo H5Fff.lo H5Gff.lo H5Iff.lo H5Lff.lo H5Off.lo H5Pff.lo H5Rff.lo H5Sff.lo H5Tff.lo H5Zff.lo H5_DBLE_InterfaceInclude.lo H5f90kit.lo H5_f.lo H5Af.lo H5Df.lo H5Ef.lo H5Ff.lo H5Gf.lo H5If.lo H5Lf.lo H5Of.lo H5Pf.lo H5Rf.lo H5Sf.lo H5Tf.lo H5Zf.lo H5Aff_F90.lo H5Dff_F90.lo H5Eff_F90.lo H5Fff_F90.lo H5Lff_F90.lo H5Off_F90.lo H5Pff_F90.lo H5Rff_F90.lo H5Tff_F90.lo HDF5.lo ../../src/libhdf5.la -lz -lrt -ldl -lm
libtool: link: /usr/local/bin/f95 -shared .libs/H5f90global.o .libs/H5fortran_types.o .libs/H5_ff_F90.o .libs/H5_ff.o .libs/H5Aff.o .libs/H5Dff.o .libs/H5Eff.o .libs/H5Fff.o .libs/H5Gff.o .libs/H5Iff.o .libs/H5Lff.o .libs/H5Off.o .libs/H5Pff.o .libs/H5Rff.o .libs/H5Sff.o .libs/H5Tff.o .libs/H5Zff.o .libs/H5_DBLE_InterfaceInclude.o .libs/H5f90kit.o .libs/H5_f.o .libs/H5Af.o .libs/H5Df.o .libs/H5Ef.o .libs/H5Ff.o .libs/H5Gf.o .libs/H5If.o .libs/H5Lf.o .libs/H5Of.o .libs/H5Pf.o .libs/H5Rf.o .libs/H5Sf.o .libs/H5Tf.o .libs/H5Zf.o .libs/H5Aff_F90.o .libs/H5Dff_F90.o .libs/H5Eff_F90.o .libs/H5Fff_F90.o .libs/H5Lff_F90.o .libs/H5Off_F90.o .libs/H5Pff_F90.o .libs/H5Rff_F90.o .libs/H5Tff_F90.o .libs/HDF5.o -rpath /root/hdf5/hdf5-1.8.11/src/.libs -rpath /usr/local/nag/hdf5/lib ../../src/.libs/libhdf5.so -lz -lrt -ldl -lm -soname libhdf5_fortran.so.8 -o .libs/libhdf5_fortran.so.8.0.0
Unrecognised option -shared passed to ld
Unrecognised option -rpath passed to ld
Unrecognised file suffix .libs
make[3]: *** [libhdf5_fortran.la] Error 2
make[3]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran'
make: *** [all-recursive] Error 1
2) Result from "make" of adding --disable-shared (and --disable-silent-rules) to configure:
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Lff_F90.lo H5Lff_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Lff_F90.f90 -o H5Lff_F90.o
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Off_F90.lo H5Off_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Off_F90.f90 -o H5Off_F90.o
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Rff_F90.lo H5Rff_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Rff_F90.f90 -o H5Rff_F90.o
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o H5Tff_F90.lo H5Tff_F90.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c H5Tff_F90.f90 -o H5Tff_F90.o
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../src -I../../fortran/src -c -o HDF5.lo HDF5.f90
libtool: compile: /usr/local/bin/f95 -I../../src -I../../fortran/src -c HDF5.f90 -o HDF5.o
/bin/sh ../../libtool --tag=FC --mode=link /usr/local/bin/f95 -I../../src -I../../fortran/src -version-info 8:0:0 -static -o libhdf5_fortran.la -rpath /usr/local/nag/hdf5/lib H5f90global.lo H5fortran_types.lo H5_ff_F90.lo H5_ff.lo H5Aff.lo H5Dff.lo H5Eff.lo H5Fff.lo H5Gff.lo H5Iff.lo H5Lff.lo H5Off.lo H5Pff.lo H5Rff.lo H5Sff.lo H5Tff.lo H5Zff.lo H5_DBLE_InterfaceInclude.lo H5f90kit.lo H5_f.lo H5Af.lo H5Df.lo H5Ef.lo H5Ff.lo H5Gf.lo H5If.lo H5Lf.lo H5Of.lo H5Pf.lo H5Rf.lo H5Sf.lo H5Tf.lo H5Zf.lo H5Aff_F90.lo H5Dff_F90.lo H5Eff_F90.lo H5Fff_F90.lo H5Lff_F90.lo H5Off_F90.lo H5Pff_F90.lo H5Rff_F90.lo H5Tff_F90.lo HDF5.lo ../../src/libhdf5.la -lz -lrt -ldl -lm
libtool: link: ar cru .libs/libhdf5_fortran.a H5f90global.o H5fortran_types.o H5_ff_F90.o H5_ff.o H5Aff.o H5Dff.o H5Eff.o H5Fff.o H5Gff.o H5Iff.o H5Lff.o H5Off.o H5Pff.o H5Rff.o H5Sff.o H5Tff.o H5Zff.o H5_DBLE_InterfaceInclude.o H5f90kit.o H5_f.o H5Af.o H5Df.o H5Ef.o H5Ff.o H5Gf.o H5If.o H5Lf.o H5Of.o H5Pf.o H5Rf.o H5Sf.o H5Tf.o H5Zf.o H5Aff_F90.o H5Dff_F90.o H5Eff_F90.o H5Fff_F90.o H5Lff_F90.o H5Off_F90.o H5Pff_F90.o H5Rff_F90.o H5Tff_F90.o HDF5.o
libtool: link: ranlib .libs/libhdf5_fortran.a
libtool: link: ( cd ".libs" && rm -f "libhdf5_fortran.la" && ln -s "../libhdf5_fortran.la" "libhdf5_fortran.la" )
make[3]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src'
make[2]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src'
Making all in test
make[2]: Entering directory `/root/hdf5/hdf5-1.8.11/fortran/test'
/bin/sh ../../libtool --tag=FC --mode=compile /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o tf.lo tf.f90
libtool: compile: /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c tf.f90 -o tf.o
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../fortran/src -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199506L -DNDEBUG -UH5_DEBUG_API -std=c99 -pedantic -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wfloat-equal -Wmissing-format-attribute -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wformat=2 -Wunreachable-code -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Winvalid-pch -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros -Wunsafe-loop-optimizations -Wc++-compat -Wstrict-overflow -Wlogical-op -Wlarger-than=2048 -Wvla -Wsync-nand -Wframe-larger-than=16384 -Wpacked-bitfield-compat -O3 -fomit-frame-pointer -finline-functions -mtune=z196 -march=z196 -MT t.lo -MD -MP -MF .deps/t.Tpo -c -o t.lo t.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../fortran/src -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199506L -DNDEBUG -UH5_DEBUG_API -std=c99 -pedantic -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wfloat-equal -Wmissing-format-attribute -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wformat=2 -Wunreachable-code -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Winvalid-pch -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros -Wunsafe-loop-optimizations -Wc++-compat -Wstrict-overflow -Wlogical-op -Wlarger-than=2048 -Wvla -Wsync-nand -Wframe-larger-than=16384 -Wpacked-bitfield-compat -O3 -fomit-frame-pointer -finline-functions -mtune=z196 -march=z196 -MT t.lo -MD -MP -MF .deps/t.Tpo -c t.c -o t.o
t.c: In function 'h5_exit_c_':
t.c:136: warning: function might be possible candidate for attribute 'noreturn'
mv -f .deps/t.Tpo .deps/t.Plo
/bin/sh ../../libtool --tag=FC --mode=link /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -static -o libh5test_fortran.la tf.lo t.lo -lz -lrt -ldl -lm
libtool: link: ar cru .libs/libh5test_fortran.a tf.o t.o
libtool: link: ranlib .libs/libh5test_fortran.a
libtool: link: ( cd ".libs" && rm -f "libh5test_fortran.la" && ln -s "../libh5test_fortran.la" "libh5test_fortran.la" )
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-fortranlib_test.o `test -f 'fortranlib_test.f90' || echo './'`fortranlib_test.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5F.o `test -f 'tH5F.f90' || echo './'`tH5F.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5D.o `test -f 'tH5D.f90' || echo './'`tH5D.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5R.o `test -f 'tH5R.f90' || echo './'`tH5R.f90
Warning: tH5R.f90, line 237: Unused symbol BUF_SMALL
detected at REFOBJTEST@<end-of-statement>
[f95 continuing despite warning messages]
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5S.o `test -f 'tH5S.f90' || echo './'`tH5S.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5T.o `test -f 'tH5T.f90' || echo './'`tH5T.f90
Warning: tH5T.f90, line 630: Unused symbol DECODED_SID1
detected at COMPOUNDTEST@<end-of-statement>
Warning: tH5T.f90, line 857: Unused dummy variable CLEANUP
detected at BASIC_DATA_TYPE_TEST@<end-of-statement>
[f95 continuing despite warning messages]
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5VL.o `test -f 'tH5VL.f90' || echo './'`tH5VL.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5Z.o `test -f 'tH5Z.f90' || echo './'`tH5Z.f90
Warning: tH5Z.f90, line 164: Unused dummy variable CLEANUP
detected at FILTERS_TEST@<end-of-statement>
[f95 continuing despite warning messages]
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5Sselect.o `test -f 'tH5Sselect.f90' || echo './'`tH5Sselect.f90
Warning: tH5Sselect.f90, line 1024: Unused symbol I
detected at TEST_BASIC_SELECT@<end-of-statement>
Warning: tH5Sselect.f90, line 1349: Unused symbol RBUF
detected at TEST_SELECT_POINT@<end-of-statement>
Warning: tH5Sselect.f90, line 1773: Unused dummy variable CLEANUP
detected at TEST_SELECT_COMBINE@<end-of-statement>
Warning: tH5Sselect.f90, line 1993: Unused dummy variable CLEANUP
detected at TEST_SELECT_BOUNDS@<end-of-statement>
[f95 continuing despite warning messages]
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5P.o `test -f 'tH5P.f90' || echo './'`tH5P.f90
Warning: tH5P.f90, line 689: Unused symbol FILE
detected at TEST_CHUNK_CACHE@<end-of-statement>
[f95 continuing despite warning messages]
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5A.o `test -f 'tH5A.f90' || echo './'`tH5A.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5I.o `test -f 'tH5I.f90' || echo './'`tH5I.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5G.o `test -f 'tH5G.f90' || echo './'`tH5G.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test-tH5E.o `test -f 'tH5E.f90' || echo './'`tH5E.f90
/bin/sh ../../libtool --tag=FC --mode=link /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -static -o fortranlib_test fortranlib_test-fortranlib_test.o fortranlib_test-tH5F.o fortranlib_test-tH5D.o fortranlib_test-tH5R.o fortranlib_test-tH5S.o fortranlib_test-tH5T.o fortranlib_test-tH5VL.o fortranlib_test-tH5Z.o fortranlib_test-tH5Sselect.o fortranlib_test-tH5P.o fortranlib_test-tH5A.o fortranlib_test-tH5I.o fortranlib_test-tH5G.o fortranlib_test-tH5E.o libh5test_fortran.la ../../test/libh5test.la ../../fortran/src/libhdf5_fortran.la ../../src/libhdf5.la -lz -lrt -ldl -lm
libtool: link: /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -o fortranlib_test fortranlib_test-fortranlib_test.o fortranlib_test-tH5F.o fortranlib_test-tH5D.o fortranlib_test-tH5R.o fortranlib_test-tH5S.o fortranlib_test-tH5T.o fortranlib_test-tH5VL.o fortranlib_test-tH5Z.o fortranlib_test-tH5Sselect.o fortranlib_test-tH5P.o fortranlib_test-tH5A.o fortranlib_test-tH5I.o fortranlib_test-tH5G.o fortranlib_test-tH5E.o ./.libs/libh5test_fortran.a ../../test/.libs/libh5test.a ../../fortran/src/.libs/libhdf5_fortran.a /root/hdf5/hdf5-1.8.11/src/.libs/libhdf5.a ../../src/.libs/libhdf5.a -lz -lrt -ldl -lm
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fflush1.o fflush1.f90
/bin/sh ../../libtool --tag=FC --mode=link /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -static -o fflush1 fflush1.o libh5test_fortran.la ../../test/libh5test.la ../../fortran/src/libhdf5_fortran.la ../../src/libhdf5.la -lz -lrt -ldl -lm
libtool: link: /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -o fflush1 fflush1.o ./.libs/libh5test_fortran.a ../../test/.libs/libh5test.a ../../fortran/src/.libs/libhdf5_fortran.a /root/hdf5/hdf5-1.8.11/src/.libs/libhdf5.a ../../src/.libs/libhdf5.a -lz -lrt -ldl -lm
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fflush2.o fflush2.f90
/bin/sh ../../libtool --tag=FC --mode=link /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -static -o fflush2 fflush2.o libh5test_fortran.la ../../test/libh5test.la ../../fortran/src/libhdf5_fortran.la ../../src/libhdf5.la -lz -lrt -ldl -lm
libtool: link: /usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -o fflush2 fflush2.o ./.libs/libh5test_fortran.a ../../test/.libs/libh5test.a ../../fortran/src/.libs/libhdf5_fortran.a /root/hdf5/hdf5-1.8.11/src/.libs/libhdf5.a ../../src/.libs/libhdf5.a -lz -lrt -ldl -lm
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o fortranlib_test_1_8.o fortranlib_test_1_8.f90
Warning: fortranlib_test_1_8.f90, line 257: Unused dummy variable CLEANUP
detected at TEST_GENPROP_BASIC_CLASS@<end-of-statement>
Warning: fortranlib_test_1_8.f90, line 395: Unused dummy variable CLEANUP
detected at TEST_H5S_ENCODE@<end-of-statement>
Warning: fortranlib_test_1_8.f90, line 547: Unused dummy variable CLEANUP
detected at TEST_SCALEOFFSET@<end-of-statement>
[f95 continuing despite warning messages]
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o tH5F.o tH5F.f90
/usr/local/bin/f95 -I../../fortran/src -I../../fortran/src -c -o tH5O.o tH5O.f90
Warning: tH5O.f90, line 568: Unused symbol RDATA2
detected at TEST_H5O_LINK@<end-of-statement>
Warning: tH5O.f90, line 568: Unused symbol XFER_PRP
detected at TEST_H5O_LINK@<end-of-statement>
Warning: tH5O.f90, line 568: Unused symbol FILE_SPACE_ID
detected at TEST_H5O_LINK@<end-of-statement>
Warning: tH5O.f90, line 568: Unused symbol MEM_SPACE_ID
detected at TEST_H5O_LINK@<end-of-statement>
Warning: tH5O.f90, line 568: Unused symbol N
detected at TEST_H5O_LINK@<end-of-statement>
[f95 continuing despite warning messages]
Error: tH5O.f90, line 538: Different number of arguments from the first call of CHECK
[f95 error termination]
make[2]: *** [tH5O.o] Error 2
make[2]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran'
make: *** [all-recursive] Error 1
I don't want to copy & paste all the output from configure & make into the body of the email as there are 1000's of lines. Is there another way to give you the complete output, if you really need it?
I have seen this https://gist.github.com/astrofrog/758767 , but I don't know if it is relevant, or if it is, how to implement it!
Many thanks
Andy
Andy Moorhouse Senior IT Practitioner, Mainframe
Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom
Tel: +44 (0)1392 884649 Fax: +44 (0)1392 885681
Email: andrew.moorhouse@metoffice.gov.uk Website: www.metoffice.gov.uk
Our magazine Barometer is now available online at http://www.metoffice.gov.uk/barometer/.