- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am unsure if asking on intel support forum is the best option; however, let's see.
Using the following commands:
CC=mpicc CFLAGS='-O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel' CXX=mpicxx CXXFLAGS='-O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel' CPP='icc -E' CXXCPP='icpc -E' F9X=mpif90 FC=mpif90 FCFLAGS='-O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel' LDFLAGS="-L/Users/jessequinn/Packages/zlib-1.2.11/lib -Wl,-commons,use_dylibs,-rpath,/Users/jessequinn/Packages/zlib-1.2.11/lib" ../configure --prefix=/Users/jessequinn/Packages/hdf5-1.10.2 --enable-shared --enable-static --enable-fortran --enable-parallel --with-zlib=/Users/jessequinn/Packages/zlib-1.2.11 && make -j 4 all && make -j 4 install
I receive the following error:
mpif90 -I. -I../../../fortran/test -I../../src -I../../fortran/src -I../../fortran/src -I../../fortran/src -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -c -o tH5E.o ../../../fortran/test/tH5E.F90
mpif90 -I. -I../../../fortran/test -I../../src -I../../fortran/src -I../../fortran/src -I../../fortran/src -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -c -o tHDF5.o ../../../fortran/test/tHDF5.F90
mpif90 -I. -I../../../fortran/test -I../../src -I../../fortran/src -I../../fortran/src -I../../fortran/src -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -c -o fortranlib_test.o ../../../fortran/test/fortranlib_test.F90
FCLD fortranlib_test
ifort: error #10236: File not found: '../../fortran/src/.libs/libhdf5_fortran.dylib'
make[2]: *** [fortranlib_test] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, given from your other post, same thing: SIP on macOS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
not SIP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
and the file does exist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post the exact command that your makefile tries to execute for linking? You get this with make V=1 usually.
What about case-sensitiveness vs. insensitiveness? I see hdf5 in the library name and HDF5 in the source file names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mpif90 -I. -I../../../fortran/test -I../../src -I../../fortran/src -I../../fortran/src -I../../fortran/src -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -c -o fortranlib_test.o ../../../fortran/test/fortranlib_test.F90
/bin/sh ../../libtool --tag=FC --mode=link mpif90 -I../../fortran/src -I../../fortran/src -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -L/Users/jessequinn/Packages/zlib-1.2.11/lib -Wl,-commons,use_dylibs -L/Users/jessequinn/Packages/zlib-1.2.11/lib -Wl,-commons,use_dylibs,-rpath,/Users/jessequinn/Packages/zlib-1.2.11/lib -o fortranlib_test tH5F.o tH5D.o tH5R.o tH5S.o tH5T.o tH5VL.o tH5Z.o tH5Sselect.o tH5P.o tH5A.o tH5I.o tH5G.o tH5E.o tHDF5.o fortranlib_test.o libh5test_fortran.la ../../test/libh5test.la ../../fortran/src/libhdf5_fortran.la ../../src/libhdf5.la -lz -ldl -lm
libtool: link: mpif90 -I../../fortran/src -I../../fortran/src -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -Wl,-commons -Wl,use_dylibs -Wl,-commons -Wl,use_dylibs -Wl,-rpath -Wl,/Users/jessequinn/Packages/zlib-1.2.11/lib -o .libs/fortranlib_test tH5F.o tH5D.o tH5R.o tH5S.o tH5T.o tH5VL.o tH5Z.o tH5Sselect.o tH5P.o tH5A.o tH5I.o tH5G.o tH5E.o tHDF5.o fortranlib_test.o -L/Users/jessequinn/Packages/zlib-1.2.11/lib ./.libs/libh5test_fortran.a ../../test/.libs/libh5test.a ../../fortran/src/.libs/libhdf5_fortran.dylib /Users/jessequinn/Packages/tmp/hdf5-1.10.2/build/src/.libs/libhdf5.dylib ../../src/.libs/libhdf5.dylib -lz -ldl -lm
ifort: error #10236: File not found: '../../fortran/src/.libs/libhdf5_fortran.dylib'
make[2]: *** [fortranlib_test] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interesting. Looks fine at first glance. libtool uses mpif90 as linker, and includes library libtool files for libhdf5.dylib and libhdf5_fortran.dylib. For the former, both a relativ path and an absolute path is included, for the latter only a relative path. Not sure why this is the case, but maybe inspection of the .la files might help. Also inspection of the library with file and otool -L might help to show any inconsistencies in the file (different compilers, different file type etc.).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually I was wrong. The file does not exist.
-rw-r--r-- 1 jessequinn staff 9522 4 Apr 17:44 H5Af.o
-rw-r--r-- 1 jessequinn staff 11879 4 Apr 17:45 H5Aff.o
-rw-r--r-- 1 jessequinn staff 13071 4 Apr 17:44 H5Df.o
-rw-r--r-- 1 jessequinn staff 16503 4 Apr 17:45 H5Dff.o
-rw-r--r-- 1 jessequinn staff 2986 4 Apr 17:44 H5Ef.o
-rw-r--r-- 1 jessequinn staff 2530 4 Apr 17:45 H5Eff.o
-rw-r--r-- 1 jessequinn staff 6386 4 Apr 17:44 H5Ff.o
-rw-r--r-- 1 jessequinn staff 5515 4 Apr 17:45 H5Fff.o
-rw-r--r-- 1 jessequinn staff 9342 4 Apr 17:44 H5Gf.o
-rw-r--r-- 1 jessequinn staff 6156 4 Apr 17:45 H5Gff.o
-rw-r--r-- 1 jessequinn staff 2758 4 Apr 17:44 H5If.o
-rw-r--r-- 1 jessequinn staff 2407 4 Apr 17:45 H5Iff.o
-rw-r--r-- 1 jessequinn staff 7470 4 Apr 17:44 H5Lf.o
-rw-r--r-- 1 jessequinn staff 5880 4 Apr 17:45 H5Lff.o
-rw-r--r-- 1 jessequinn staff 10558 4 Apr 17:44 H5Of.o
-rw-r--r-- 1 jessequinn staff 7000 4 Apr 17:45 H5Off.o
-rw-r--r-- 1 jessequinn staff 47513 4 Apr 17:44 H5Pf.o
-rw-r--r-- 1 jessequinn staff 53663 4 Apr 17:45 H5Pff.o
-rw-r--r-- 1 jessequinn staff 3676 4 Apr 17:44 H5Rf.o
-rw-r--r-- 1 jessequinn staff 5897 4 Apr 17:45 H5Rff.o
-rw-r--r-- 1 jessequinn staff 12683 4 Apr 17:44 H5Sf.o
-rw-r--r-- 1 jessequinn staff 18437 4 Apr 17:45 H5Sff.o
-rw-r--r-- 1 jessequinn staff 19181 4 Apr 17:44 H5Tf.o
-rw-r--r-- 1 jessequinn staff 16732 4 Apr 17:45 H5Tff.o
-rw-r--r-- 1 jessequinn staff 1303 4 Apr 17:44 H5Zf.o
-rw-r--r-- 1 jessequinn staff 1534 4 Apr 17:45 H5Zff.o
-rw-r--r-- 1 jessequinn staff 12763 4 Apr 17:44 H5_f.o
-rw-r--r-- 1 jessequinn staff 26217 4 Apr 17:45 H5_ff.o
-rw-r--r-- 1 jessequinn staff 128896 4 Apr 17:45 H5_gen.o
-rw-r--r-- 1 jessequinn staff 18590 4 Apr 17:45 H5f90global.o
-rw-r--r-- 1 jessequinn staff 1581 4 Apr 17:44 H5f90kit.o
-rw-r--r-- 1 jessequinn staff 1183 4 Apr 17:44 H5fortkit.o
-rw-r--r-- 1 jessequinn staff 895 4 Apr 17:44 H5fortran_types.o
-rw-r--r-- 1 jessequinn staff 705 4 Apr 17:45 HDF5.o
-rw-r--r-- 1 jessequinn staff 527168 4 Apr 17:45 libhdf5_fortran.a
lrwxr-xr-x 1 jessequinn staff 25 4 Apr 17:45 libhdf5_fortran.dylib -> libhdf5_fortran.100.dylib
lrwxr-xr-x 1 jessequinn staff 21 4 Apr 17:45 libhdf5_fortran.la -> ../libhdf5_fortran.la
-rw-r--r-- 1 jessequinn staff 1103 4 Apr 17:45 libhdf5_fortran.lai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So, the file libhdf5_fortran.100.dylib is missing, where the link is pointing to? You best go back to the step where that library should have been built and see what goes wrong there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the link points to a non-existent file. I cannot find any reference to the library being built. I checked the config.log and the Makefile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the following reference,
# libhdf5_fortran.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.6
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libhdf5_fortran.100.dylib'
# Names of this library.
library_names='libhdf5_fortran.100.dylib libhdf5_fortran.dylib'
# The name of the static archive.
old_library='libhdf5_fortran.a'
# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=' '
# Libraries that this one depends upon.
dependency_libs=' -L/Users/jessequinn/Packages/zlib-1.2.11/lib /Users/jessequinn/Packages/tmp/hdf5-1.10.2/build/src/libhdf5.la -lz -ldl -lm'
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for libhdf5_fortran.
current=101
age=1
revision=1
# Is this an already installed library?
installed=no
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/Users/jessequinn/Packages/hdf5-1.10.2/lib'
relink_command=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using --disable-shared (disabling build shared libraries)
CC=mpicc CFLAGS='-O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel' CXX=mpicxx CXXFLAGS='-O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel' CPP='icc -E' CXXCPP='icpc -E' F9X=mpif90 FC=mpif90 FCFLAGS='-O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -assume nostd_value' LDFLAGS="-L/Users/jessequinn/Packages/zlib-1.2.11/lib -Wl,-commons,use_dylibs,-rpath,/Users/jessequinn/Packages/zlib-1.2.11/lib" ../configure --prefix=/Users/jessequinn/Packages/hdf5-1.10.2 --disable-shared --enable-static --enable-fortran --enable-fortran2003 --enable-parallel --with-zlib=/Users/jessequinn/Packages/zlib-1.2.11 && make -j 4 all && make -j 4 install
Allowed for proper install. Any idea why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--disable-shared worked because then it does only static linking and the problem with the missing shared library does not occur. The file you posted before is the libtool .la library file, which serves as the target for the library when libtool is used together with makefiles and autotools. Looking into my build histories it looks like as the .la file is produced only after the dynamic library (.so under Unix, .dylib under macOS, .dll under Windows) has been built. Also the link libxxx.dylib -> libxxx.100.dylib comes later usually. So something happened probably to your dylib. Did you check when this library is actually linked? Could you check the non-parallel (serial) built to see whether it works there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I couldn't find anything in the hdf5 files that refereed to the .100.dylib file. I can try a non-parallel build to see if it happens again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, on two different MacBooks I cannot build the hdf5 library. On the newer one, the compilation of the main library fails, on the older
one, it doesn't allow me to build dynamic fortran libraries. What happens if you do a `make V=1` within the fortran/src directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.deps/H5Lf.Tpo -c ../../../fortran/src/H5Lf.c -o H5Lf.o >/dev/null 2>&1
depbase=`echo H5Of.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CC --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Of.lo -MD -MP -MF $depbase.Tpo -c -o H5Of.lo ../../../fortran/src/H5Of.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo H5Pf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CC --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Pf.lo -MD -MP -MF $depbase.Tpo -c -o H5Pf.lo ../../../fortran/src/H5Pf.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo H5Rf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CC --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Rf.lo -MD -MP -MF $depbase.Tpo -c -o H5Rf.lo ../../../fortran/src/H5Rf.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo H5Sf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CC --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Sf.lo -MD -MP -MF $depbase.Tpo -c -o H5Sf.lo ../../../fortran/src/H5Sf.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Of.lo -MD -MP -MF .deps/H5Of.Tpo -c ../../../fortran/src/H5Of.c -fno-common -DPIC -o .libs/H5Of.o
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Pf.lo -MD -MP -MF .deps/H5Pf.Tpo -c ../../../fortran/src/H5Pf.c -fno-common -DPIC -o .libs/H5Pf.o
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Rf.lo -MD -MP -MF .deps/H5Rf.Tpo -c ../../../fortran/src/H5Rf.c -fno-common -DPIC -o .libs/H5Rf.o
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Sf.lo -MD -MP -MF .deps/H5Sf.Tpo -c ../../../fortran/src/H5Sf.c -fno-common -DPIC -o .libs/H5Sf.o
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Of.lo -MD -MP -MF .deps/H5Of.Tpo -c ../../../fortran/src/H5Of.c -o H5Of.o >/dev/null 2>&1
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Rf.lo -MD -MP -MF .deps/H5Rf.Tpo -c ../../../fortran/src/H5Rf.c -o H5Rf.o >/dev/null 2>&1
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Sf.lo -MD -MP -MF .deps/H5Sf.Tpo -c ../../../fortran/src/H5Sf.c -o H5Sf.o >/dev/null 2>&1
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Pf.lo -MD -MP -MF .deps/H5Pf.Tpo -c ../../../fortran/src/H5Pf.c -o H5Pf.o >/dev/null 2>&1
depbase=`echo H5Tf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CC --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Tf.lo -MD -MP -MF $depbase.Tpo -c -o H5Tf.lo ../../../fortran/src/H5Tf.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo H5Zf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CC --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Zf.lo -MD -MP -MF $depbase.Tpo -c -o H5Zf.lo ../../../fortran/src/H5Zf.c &&\
mv -f $depbase.Tpo $depbase.Plo
make[1]: *** No rule to make target `../../src/libhdf5.la', needed by `libhdf5_fortran.la'. Stop.
make[1]: *** Waiting for unfinished jobs....
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Tf.lo -MD -MP -MF .deps/H5Tf.Tpo -c ../../../fortran/src/H5Tf.c -fno-common -DPIC -o .libs/H5Tf.o
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Zf.lo -MD -MP -MF .deps/H5Zf.Tpo -c ../../../fortran/src/H5Zf.c -fno-common -DPIC -o .libs/H5Zf.o
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Zf.lo -MD -MP -MF .deps/H5Zf.Tpo -c ../../../fortran/src/H5Zf.c -o H5Zf.o >/dev/null 2>&1
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I../../../fortran/src -I../../src -I/Users/jessequinn/Packages/zlib-1.2.11/include -DNDEBUG -UH5_DEBUG_API -I../../../src -std=c99 -Wcheck -Wall -Wl,-s -O3 -O3 -xcore-avx2 -ip -mp1 -m64 -shared-intel -MT H5Tf.lo -MD -MP -MF .deps/H5Tf.Tpo -c ../../../fortran/src/H5Tf.c -o H5Tf.o >/dev/null 2>&1
make: *** [all] Error 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
make[1]: *** No rule to make target `../../src/libhdf5.la', needed by `libhdf5_fortran.la'. Stop.
libhdf5.la is missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yep, it seems that the base library (libhdf5) doesn't build so easily with a non-native C compiler (i.e. non-clang) on macOS. I now managed to build the whole thing (libhdf5.dylib and libhdf5_fortran.dylib) with clang as C compiler and gfortran (8.0.1) as fortran compiler. So you have to figure out why your libhdf5 didn't build and maybe complain to the developers. In any case, it is a C problem, nothing to do with fortran. I think, this closes this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can talk to the HDF group...
Thanks,
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page