Hello,
I am configuring hdf5-1.8.20 on HPC server. Before using the configure command I loaded a the following module list,
- PrgEnv-gnu/6.0.4
- gcc/7.2.0
- cray-fftw/3.3.6.3
- cray-mpich/7.6.0
Then I used the " ./configure --enable-fortran–with-zlib=/home/TMA_CFDLab/174100022/software/zlib-1.2.11 --with-szlib=/home/TMA_CFDLab/174100022/software/szip-2.1.1 FC=ftn CC=cc " command.
The output of configure command :
SUMMARY OF THE HDF5 CONFIGURATION
=================================
General Information:
HDF5 Version: 1.8.20
Configured on: Tue Sep 25 10:12:02 IST 2018
Configured by: 174100022@nid00077
Configure mode: production
Host system: x86_64-unknown-linux-gnu
Uname information: Linux nid00077 4.4.73-5.1_4.0.130-cray_ari_s #1 SMP Thu Feb 1 18:08:19 UTC 2018 (4.0.130) x86_64 x86_64 x86_64 GNU/Linux
Byte sex: little-endian
Libraries: static, shared
Installation point: /home/TMA_CFDLab/174100022/software/hdf5-1.8.20/hdf5
Compiling Options:
Compilation Mode: production
C Compiler: /opt/cray/pe/craype/2.5.13/bin/cc
CFLAGS:
H5_CFLAGS: -std=c99 -pedantic -Wall -W -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 -O -finline-functions
AM_CFLAGS:
CPPFLAGS:
H5_CPPFLAGS: -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -DNDEBUG -UH5_DEBUG_API
AM_CPPFLAGS: -I/home/TMA_CFDLab/174100022/software/zlib-1.2.11/include
Shared C Library: yes
Static C Library: yes
Statically Linked Executables: no
LDFLAGS:
H5_LDFLAGS:
AM_LDFLAGS: -L/home/TMA_CFDLab/174100022/software/zlib-1.2.11/lib -L/home/TMA_CFDLab/174100022/software/szip-2.1.1/lib
Extra libraries: -lz -ldl -lm
Archiver: ar
Ranlib: ranlib
Debugged Packages:
API Tracing: no
Languages:
Fortran: yes
Fortran Compiler: /opt/cray/pe/craype/2.5.13/bin/ftn
Fortran 2003 Compiler:
Fortran Flags:
H5 Fortran Flags:
AM Fortran Flags:
Shared Fortran Library: yes
Static Fortran Library: yes
C++: no
Features:
Parallel HDF5: no
High Level library: yes
Threadsafety: no
Default API Mapping: v18
With Deprecated Public Symbols: yes
I/O filters (external): deflate(zlib)
MPE: no
Direct VFD: no
dmalloc: no
Clear file buffers before write: yes
Using memory checker: no
Function Stack Tracing: no
Strict File Format Checks: no
Optimization Instrumentation: no
After running the " make " command:
/usr/bin/ld: attempted static link of dynamic object `…/src/.libs/libhdf5.so’
collect2: error: ld returned 1 exit status
Makefile:1537: recipe for target ‘testhdf5’ failed
make[1]: *** [testhdf5] Error 1
make[1]: Leaving directory ‘/home/TMA_CFDLab/174100022/software/hdf5-1.8.20/test’
Makefile:586: recipe for target ‘all-recursive’ failed
make: *** [all-recursive] Error 1
Please help me on this error ?