Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

h5cc(1) [debian man page]

h5cc(1) 						      General Commands Manual							   h5cc(1)

NAME
h5cc - Helper script to compile HDF5 applications. SYNOPSIS
h5cc [OPTIONS] <compile line> DESCRIPTION
h5cc can be used in much the same way MPIch is used to compile an HDF5 program. It takes care of specifying where the HDF5 header files and libraries are on the command line. h5cc supercedes all other compiler scripts in that if you've used them to compile the HDF5 library, then h5cc also uses those scripts. For example, when compiling an MPIch program, you use the mpicc script. If you've built HDF5 using MPIch, then h5cc uses the MPIch program for compilation. Some programs use HDF5 in only a few modules. It isn't necessary to use h5cc to compile those modules which don't use HDF5. In fact, since h5cc is only a convenience script, you are still able to compile HDF5 modules in the normal way. In that case, you will have to specify the HDF5 libraries and include paths yourself. An example of how to use h5cc to compile the program hdf_prog, which consists of modules prog1.c and prog2.c and uses the HDF5 shared library, would be as follows: # h5cc -c prog1.c # h5cc -c prog2.c # h5cc -shlib -o hdf_prog prog1.o prog2.o OPTIONS
-help Prints a help message. -echo Show all the shell commands executed. -prefix=DIR Use the directory DIR to find the HDF5 lib/ and include/ subdirectories. Default: prefix specified when configuring HDF5. -show Show the commands without executing them. -shlib Compile using shared HDF5 libraries. -noshlib Compile using static HDF5 libraries [default]. <compile line> The normal compile line options for your compiler. h5cc uses the same compiler you used to compile HDF5. Check your compiler's man- ual for more information on which options are needed. ENVIRONMENT
HDF5_CC Use a different C compiler. HDF5_CLINKER Use a different linker. HDF5_USE_SHLIB=[yes|no] Use shared version of the HDF5 library [default: no]. SEE ALSO
h5fc(1), h5c++(1) h5cc(1)

Check Out this Related Man Page

H5PERF_SERIAL:(1)						   User Commands						 H5PERF_SERIAL:(1)

NAME
h5perf_serial: - Measures HDF5 serial performance. DESCRIPTION
h5perf_serial: Version 1.8.7 usage: h5perf_serial [OPTIONS] OPTIONS -h Print an usage message and exit -A AL Which APIs to test [default: all of them] -c SL Selects chunked storage and defines chunks dimensions and sizes [default: Off] -e SL Dimensions and sizes of dataset [default: 100,200] -i N Number of iterations to perform [default: 1] -r NL Dimension access order (see below for description) [default: 1,2] -t Selects extendable dimensions for HDF5 dataset [default: Off] -v VFD Selects file driver for HDF5 access [default: sec2] -w Perform write tests, not the read tests [default: Off] -x SL Dimensions and sizes of the transfer buffer [default: 10,20] N - is an integer > 0. S - is a size specifier, an integer > 0 followed by a size indicator: K - Kilobyte (1024) M - Megabyte (1048576) G - Gigabyte (1073741824) Example: '37M' is 37 megabytes or 38797312 bytes AL - is an API list. Valid values are: hdf5 - HDF5 posix - POSIX Example: -A posix,hdf5 NL - is list of integers (N) separated by commas. Example: 1,2,3 SL - is list of size specifiers (S) separated by commas. Example: 2K,2K,3K The example defines an object (dataset, tranfer buffer) with three dimensions. Be aware that as the number of dimensions increases, the the total size of the object increases exponentially. VFD - is an HDF5 file driver specifier. Valid values are: sec2, stdio, core, split, multi, family, direct Dimension access order: Data access starts at the cardinal origin of the dataset using the transfer buffer. The next access occurs on a dataset region next to the previous one. For a multidimensional dataset, there are several directions as to where to proceed. This can be specified in the dimension access order. For example, -r 1,2 states that the tool should traverse dimension 1 first, and then dimension 2. Environment variables: HDF5_NOCLEANUP Do not remove data files if set [default remove] HDF5_PREFIX Data file prefix usage: h5perf_serial [OPTIONS] OPTIONS -h Print an usage message and exit -A AL Which APIs to test [default: all of them] -c SL Selects chunked storage and defines chunks dimensions and sizes [default: Off] -e SL Dimensions and sizes of dataset [default: 100,200] -i N Number of iterations to perform [default: 1] -r NL Dimension access order (see below for description) [default: 1,2] -t Selects extendable dimensions for HDF5 dataset [default: Off] -v VFD Selects file driver for HDF5 access [default: sec2] -w Perform write tests, not the read tests [default: Off] -x SL Dimensions and sizes of the transfer buffer [default: 10,20] N - is an integer > 0. S - is a size specifier, an integer > 0 followed by a size indicator: K - Kilobyte (1024) M - Megabyte (1048576) G - Gigabyte (1073741824) Example: '37M' is 37 megabytes or 38797312 bytes AL - is an API list. Valid values are: hdf5 - HDF5 posix - POSIX Example: -A posix,hdf5 NL - is list of integers (N) separated by commas. Example: 1,2,3 SL - is list of size specifiers (S) separated by commas. Example: 2K,2K,3K The example defines an object (dataset, tranfer buffer) with three dimensions. Be aware that as the number of dimensions increases, the the total size of the object increases exponentially. VFD - is an HDF5 file driver specifier. Valid values are: sec2, stdio, core, split, multi, family, direct Dimension access order: Data access starts at the cardinal origin of the dataset using the transfer buffer. The next access occurs on a dataset region next to the previous one. For a multidimensional dataset, there are several directions as to where to proceed. This can be specified in the dimension access order. For example, -r 1,2 states that the tool should traverse dimension 1 first, and then dimension 2. Environment variables: HDF5_NOCLEANUP Do not remove data files if set [default remove] HDF5_PREFIX Data file prefix SEE ALSO
The full documentation for h5perf_serial: is maintained as a Texinfo manual. If the info and h5perf_serial: programs are properly installed at your site, the command info h5perf_serial: should give you access to the complete manual. h5perf_serial: Version 1.8.7 August 2011 H5PERF_SERIAL:(1)
Man Page

Featured Tech Videos