ornladios / ADIOS

The old ADIOS 1.x code repository. Look for ADIOS2 for new repo
https://csmd.ornl.gov/adios
Other
54 stars 40 forks source link

bpdump: missing -lSZ #159

Closed ax3l closed 6 years ago

ax3l commented 6 years ago

This is a build error report for ADIOS 1.13.0 during build with sz. ADIOS fails to properly link bpdump.

Build instructions

configure --prefix=[...] CFLAGS=-fPIC --enable-shared --disable-fortran --without-mpi --without-infiniband --with-zlib=[...]/zlib-1.2.11 --without-bzip2 --without-szip --with-zfp=[...]/zfp-0.5.0 --with-sz=[...]/sz-1.4.10.0 --without-phdf5 --without-netcdf --without-flexpath --without-dataspaces

# [...]

*********************************
adios configured as follows:
*********************************

  - Build both the Write and Read libraries
  - Build only the C libraries (no Fortran)
  - Build only the sequential libraries (no MPI)

  - General Compile FLAGS
      - CC  = gcc
      - CXX = g++
      - FC  = gfortran
      - CPPFLAGS = 
      - CFLAGS   = -fPIC
      - CXXFLAGS = 
      - FCFLAGS  = 
      - LDLAGS   = 
      - LIBS     = -lpthread -lm 

  - No research transport methods
  - ADIOS Timing Mechanism Enabled
  - ADIOS Timing event recording Disabled
  - MXML is built with ADIOS
  - No LUSTRE
  - No FGR
  - No GLIB
  - Networking library for staging methods:
    - No supported networking library found
  - No DATASPACES to build DATASPACES transport method
  - No DIMES to build DIMES transport method
  - No PHDF5 to build PHDF5 transport method
  - No HDF5
  - No NETCDF 4 Parallel to build NC4 transport method
  - No NETCDF
  - No NSSI to build NSSI transport method
  - No FLEXPATH to build FLEXPATH transport method
  - No ICEE to build ICEE transport method
  - ZLIB
      - ZLIB_CFLAGS = 
      - ZLIB_CPPFLAGS = -I[...]/zlib-1.2.11/include
      - ZLIB_LDFLAGS = -L[...]/zlib-1.2.11/lib64
      - ZLIB_LIBS = -lz

  - No BZIP2 to build BZIP2 transform method
  - No SZIP to build SZIP transform method
  - No LZ4 to build LZ4 transform method
  - No Blosc to build Blosc transform method
  - ZFP
      - ZFP_CPPFLAGS = -I[...]/zfp-0.5.0/inc
      - ZFP_LDFLAGS = -L[...]/zfp-0.5.0/lib
      - ZFP_LIBS = -lzfp

  - SZ
      - SZ_CFLAGS = 
      - SZ_CPPFLAGS = -I[...]/sz-1.4.10.0/include
      - SZ_LDFLAGS = -L[...]/sz-1.4.10.0/lib
      - SZ_LIBS = -lSZ -lzlib

  - No ISOBAR to build ISOBAR transform method
  - No APLOD to build APLOD transform method
  - No FASTBIT to build FASTBIT query method
  - No ALACRITY to build ALACRITY transform & query methods
  - BGQ METHOD is disabled
  - Install path = [...]/adios-1.13.0

make -j4

ADIOS fails to build with

     372   libtool: link: gcc -fPIC -o bpdump bpdump-bpdump.o  -L[...]zlib-1.2.11/lib64 -L[...]zfp-0.5.0/lib -L[...]sz-1.4.10.0/lib ../../src/libadios_internal_nompi.a -lz -lzfp -lSZ [...]sz-1.4.10.0/lib/libzlib.so -lpthread -lm -Wl,-rpath -Wl,[...]sz-1.4.10.0/lib -Wl,-rpath -Wl,[...]sz-1.4.10.0/lib
  >> 373   /usr/bin/ld: cannot find -lSZ
  >> 374   collect2: error: ld returned 1 exit status
     375   Makefile:591: recipe for target 'bpdump' failed
  >> 376   make[3]: *** [bpdump] Error 1
     377   make[3]: Leaving directory '[...]utils/bpdump'
     378   Makefile:558: recipe for target 'all-recursive' failed
  >> 379   make[2]: *** [all-recursive] Error 1
     380   make[2]: Leaving directory '[...]utils'
     381   Makefile:746: recipe for target 'all-recursive' failed
  >> 382   make[1]: *** [all-recursive] Error 1
     383   make[1]: Leaving directory '[...]spack-build'
     384   Makefile:614: recipe for target 'all' failed
  >> 385   make: *** [all] Error 2

OS & Software

pnorbert commented 6 years ago

SZ has changed its library name to avoid clashes with szip. Adios 1.13 uses the latest SZ library, 1.4.11.

On Dec 4, 2017 3:19 AM, "Axel Huebl" notifications@github.com wrote:

This is a build error in ADIOS 1.13.0. When building with:

configure --prefix=[...] CFLAGS=-fPIC --enable-shared --disable-fortran --without-mpi --without-infiniband --with-zlib=[...]/zlib-1.2.11 --without-bzip2 --without-szip --with-zfp=[...]/zfp-0.5.0 --with-sz=[...]/sz-1.4.10.0 --without-phdf5 --without-netcdf --without-flexpath --without-dataspaces

[...]

adios configured as follows:

  • Build both the Write and Read libraries - Build only the C libraries (no Fortran) - Build only the sequential libraries (no MPI)
  • General Compile FLAGS - CC = gcc - CXX = g++ - FC = gfortran - CPPFLAGS = - CFLAGS = -fPIC - CXXFLAGS = - FCFLAGS = - LDLAGS = - LIBS = -lpthread -lm
  • No research transport methods - ADIOS Timing Mechanism Enabled - ADIOS Timing event recording Disabled - MXML is built with ADIOS - No LUSTRE - No FGR - No GLIB - Networking library for staging methods: - No supported networking library found - No DATASPACES to build DATASPACES transport method - No DIMES to build DIMES transport method - No PHDF5 to build PHDF5 transport method - No HDF5 - No NETCDF 4 Parallel to build NC4 transport method - No NETCDF - No NSSI to build NSSI transport method - No FLEXPATH to build FLEXPATH transport method - No ICEE to build ICEE transport method - ZLIB - ZLIB_CFLAGS = - ZLIB_CPPFLAGS = -I[...]/zlib-1.2.11/include - ZLIB_LDFLAGS = -L[...]/zlib-1.2.11/lib64 - ZLIB_LIBS = -lz
  • No BZIP2 to build BZIP2 transform method - No SZIP to build SZIP transform method - No LZ4 to build LZ4 transform method - No Blosc to build Blosc transform method - ZFP - ZFP_CPPFLAGS = -I[...]/zfp-0.5.0/inc - ZFP_LDFLAGS = -L[...]/zfp-0.5.0/lib - ZFP_LIBS = -lzfp
  • SZ - SZ_CFLAGS = - SZ_CPPFLAGS = -I[...]/sz-1.4.10.0/include - SZ_LDFLAGS = -L[...]/sz-1.4.10.0/lib - SZ_LIBS = -lSZ -lzlib
  • No ISOBAR to build ISOBAR transform method - No APLOD to build APLOD transform method - No FASTBIT to build FASTBIT query method - No ALACRITY to build ALACRITY transform & query methods - BGQ METHOD is disabled - Install path = [...]/adios-1.13.0 make -j4

ADIOS fails to build with

 372   libtool: link: gcc -fPIC -o bpdump bpdump-bpdump.o  -L[...]zlib-1.2.11/lib64 -L[...]zfp-0.5.0-wg45jz5nzoc3fbhg5lihesjmi6ben6s2/lib -L[...]sz-1.4.10.0/lib ../../src/libadios_internal_nompi.a -lz -lzfp -lSZ [...]sz-1.4.10.0/lib/libzlib.so -lpthread -lm -Wl,-rpath -Wl,[...]sz-1.4.10.0/lib -Wl,-rpath -Wl,[...]sz-1.4.10.0-poijt2qdgdy5dngtexxjxiq2acv6duhb/lib

373 /usr/bin/ld: cannot find -lSZ 374 collect2: error: ld returned 1 exit status 375 Makefile:591: recipe for target 'bpdump' failed 376 make[3]: [bpdump] Error 1 377 make[3]: Leaving directory '[...]utils/bpdump' 378 Makefile:558: recipe for target 'all-recursive' failed 379 make[2]: [all-recursive] Error 1 380 make[2]: Leaving directory '[...]utils' 381 Makefile:746: recipe for target 'all-recursive' failed 382 make[1]: [all-recursive] Error 1 383 make[1]: Leaving directory '[...]spack-build' 384 Makefile:614: recipe for target 'all' failed 385 make: [all] Error 2

OS & Software

  • ADIOS 1.13.0
  • GCC 6.3.0
  • Debian 9.2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornladios/ADIOS/issues/159, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGMLUv0S5KHrKuctup8rhoV_2T60m11ks5s86r1gaJpZM4Q0RTm .

ax3l commented 6 years ago

All right, thanks for the info!