Need a linux build that is thread-safe and doesn't use SZllib


#1

Hi, guys

Is there any 1.8.11 build I could use that has ThreadSafety: yes and doesn’t support SZip?

I’m trying to build an application from our vendor that expects those settings.

Am I correct that those options have to be compiled into the binaries/library release?

Will I end up having to compile the 1.8.11 release from source to get what I need?

Thanks,

-Fred


#2

Hi Fred,

did you try: ./configure --prefix=/usr/local --enable-threadsafe As you see the szip is disabled by default:

  --with-szlib=DIR        Use szlib library for external szlib I/O filter
                          [default=no]

Best wishes: steven

	    SUMMARY OF THE HDF5 CONFIGURATION
	    =================================

General Information:
-------------------
		   HDF5 Version: 1.8.11
		  Configured on: Wed Oct 23 13:40:34 EDT 2019
		  Configured by: steven@honshu
		 Configure mode: production
		    Host system: x86_64-unknown-linux-gnu
	      Uname information: Linux honshu 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
		       Byte sex: little-endian
		      Libraries: static, shared
	     Installation point: /usr/local

Compiling Options:
------------------
               Compilation Mode: production
                     C Compiler: /usr/bin/gcc
                         CFLAGS: 
                      H5_CFLAGS:   -ansi -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 -fomit-frame-pointer -finline-functions
                      AM_CFLAGS: 
                       CPPFLAGS: 
                    H5_CPPFLAGS: -D_POSIX_C_SOURCE=199506L   -DNDEBUG -UH5_DEBUG_API
                    AM_CPPFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_BSD_SOURCE 
               Shared C Library: yes
               Static C Library: yes
  Statically Linked Executables: no
                        LDFLAGS: 
                     H5_LDFLAGS: 
                     AM_LDFLAGS: 
 	 	Extra libraries:  -lz -ldl -lm 
 		       Archiver: ar
 		 	 Ranlib: ranlib
 	      Debugged Packages: 
		    API Tracing: no

Languages:
----------
                        Fortran: no

                            C++: no

Features:
---------
                  Parallel HDF5: no
             High Level library: yes
                   Threadsafety: yes
            Default API Mapping: v18
 With Deprecated Public Symbols: yes
         I/O filters (external): deflate(zlib)
         I/O filters (internal): shuffle,fletcher32,nbit,scaleoffset
                            MPE: no
                     Direct VFD: no
                        dmalloc: no
Clear file buffers before write: yes
           Using memory checker: no
         Function Stack Tracing: no
                           GPFS: no
      Strict File Format Checks: no
   Optimization Instrumentation: no
       Large File Support (LFS): yes


#3

Thanks, Steven

I have done that and built the code, but did not use the --prefix=/usr/local.

The question I meant to ask is this: "Are there any threadsafe official builds/releases?"

I would rather not have to build a custom image. We would rather use an official image so we can get updates/bug fixes without recompiling.

Thanks for your help!

-Fred