[svn-r26221] Removed VMS files. VMS is no longer a supported platform.

This commit is contained in:
Dana Robinson 2015-02-18 16:15:35 -05:00
parent d38f3d888d
commit a2b08b6e27
43 changed files with 0 additions and 4776 deletions

View File

@ -1,16 +0,0 @@
Copyright by The HDF Group and
The Board of Trustees of the University of Illinois.
All rights reserved.
The files and subdirectories in this directory are part of HDF5.
The full HDF5 copyright notice, including terms governing use,
modification, and redistribution, is contained in the files COPYING
and Copyright.html. COPYING can be found at the root of the source
code distribution tree; Copyright.html can be found at the root
level of an installed copy of the electronic HDF5 document set and
is linked from the top-level documents page. It can also be found
at http://www.hdfgroup.org/HDF5/doc/Copyright.html. If you do not
have access to either file, you may request a copy from
help@hdfgroup.org.

View File

@ -1,65 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$!
$! This file builds C, Fortran, C++ HDF5 libraries and runs the tests
$! Specify location of the top HDF5 source directory
$
$ hdf5top == "disk$user:[hdfgroup.hdf5]"
$ len = F$LENGTH(hdf5top)
$ tmp = F$EXTRACT(0, len-1, hdf5top)
$ hdf5vms = tmp + ".VMS]"
$ hdf5ctest = tmp + ".TEST]"
$ hdf5f90test = tmp + ".FORTRAN.TEST]"
$ hdf5cxxtest = tmp + ".C__.TEST]"
$ hdf5toolstest = tmp + ".TOOLS.TESTFILES]"
$ hdf5toolstest_h5diff = tmp + ".TOOLS.H5DIFF.TESTFILES]"
$ hdf5toolstest_h5repack = tmp + ".TOOLS.H5REPACK.TESTFILES]"
$ hdf5toolstest_h5copy = tmp + ".TOOLS.H5COPY.TESTFILES]"
$ hdf5toolstest_h5import = tmp + ".TOOLS.H5IMPORT.TESTFILES]"
$ hdf5toolstest_h5jam = tmp + ".TOOLS.H5JAM.TESTFILES]"
$ set def 'hdf5vms'
$@make
$ set def 'hdf5ctest'
$@check
$ set def 'hdf5f90test'
$@check
$ set def 'hdf5cxxtest'
$@check
$ set def 'hdf5toolstest'
$ copy [-.h5dump]check_h5dump.com check_h5dump.com
$ copy [-.h5ls]check_h5ls.com check_h5ls.com
$@check_h5dump.com
$@check_h5ls.com
$ set def 'hdf5toolstest_h5diff'
$ copy [-]check_h5diff.com check_h5diff.com
$@check_h5diff.com
$ set def 'hdf5toolstest_h5repack'
$ copy [-]check_h5repack.com check_h5repack.com
$@check_h5repack.com
$!
$ set def 'hdf5toolstest_h5copy'
$ copy [-]check_h5copy.com check_h5copy.com
$@check_h5copy.com
$!
$ set def 'hdf5toolstest_h5import'
$ copy [.-]check_h5import.com check_h5import.com
$@check_h5import.com
$!
$ set def 'hdf5toolstest_h5jam'
$ copy [.-]check_h5jam.com check_h5jam.com
$@check_h5jam.com
$
$ exit

View File

@ -1,53 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$! Command file to run C++ examples
$!
$!
$ type sys$input
Running create
$ run create
$!
$ type sys$input
Running readdata
$ run readdata
$!
$ type sys$input
Running writedata
$ run writedata
$!
$ type sys$input
Running compound
$ run compound
$!
$ type sys$input
Running extend_ds
$ run extend_ds
$!
$ type sys$input
Running chunks
$ run chunks
$!
$ type sys$input
Running h5group
$ run h5group
$ exit

View File

@ -1,79 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$! Make HDF5 C++ examples
$!
$ define zlib_dir disk$user:[hdfgroup.zlib-1_2_5_ieee]
$ cxxopt = "/float=ieee_float/standard=strict_ansi/define=H5_VMS/include=zlib_dir"
$ ccc := cxx 'cxxopt /include=([-.-.include])
$!
$!
$ cxxobj= "chunks.cxx, compound.cxx, create.cxx, extend_ds.cxx, h5group.cxx, "+-
"readdata.cxx, writedata.cxx"
$!
$!
$ ccc 'cxxobj
$ type sys$input
Creating chunks
$ cxxlink chunks, -
[-.-.lib]hdf5_cplus.olb/lib, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating compound
$ cxxlink compound, -
[-.-.lib]hdf5_cplus.olb/lib, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating create
$ cxxlink create, -
[-.-.lib]hdf5_cplus.olb/lib, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating extend_ds
$ cxxlink extend_ds, -
[-.-.lib]hdf5_cplus.olb/lib, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating h5group
$ cxxlink h5group, -
[-.-.lib]hdf5_cplus.olb/lib, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating readdata
$ cxxlink readdata, -
[-.-.lib]hdf5_cplus.olb/lib, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating writedata
$ cxxlink writedata, -
[-.-.lib]hdf5_cplus.olb/lib, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
$!
$ exit

View File

@ -1,85 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 C++ library
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! cxxopt = "/float=ieee_float/standard=strict_ansi/define=H5_VMS"
$ ccc := cxx 'cxxopt /include=([-.-.src])
$!
$! type sys$input
$! Creating HDF5 C++ library
$!
$ lib/create/object hdf5_cplus.olb
$ ccc H5AbstractDs.cxx
$ lib/insert/object hdf5_cplus H5AbstractDs
$ ccc H5ArrayType.cxx
$ lib/insert/object hdf5_cplus H5ArrayType
$ ccc H5AtomType.cxx
$ lib/insert/object hdf5_cplus H5AtomType
$ ccc H5Attribute.cxx
$ lib/insert/object hdf5_cplus H5Attribute
$ ccc H5CommonFG.cxx
$ lib/insert/object hdf5_cplus H5CommonFG
$ ccc H5CompType.cxx
$ lib/insert/object hdf5_cplus H5CompType
$ ccc H5DataSet.cxx
$ lib/insert/object hdf5_cplus H5DataSet
$ ccc H5DataSpace.cxx
$ lib/insert/object hdf5_cplus H5DataSpace
$ ccc H5DataType.cxx
$ lib/insert/object hdf5_cplus H5DataType
$ ccc H5DcreatProp.cxx
$ lib/insert/object hdf5_cplus H5DcreatProp
$ ccc H5DxferProp.cxx
$ lib/insert/object hdf5_cplus H5DxferProp
$ ccc H5EnumType.cxx
$ lib/insert/object hdf5_cplus H5EnumType
$ ccc H5Exception.cxx
$ lib/insert/object hdf5_cplus H5Exception
$ ccc H5FaccProp.cxx
$ lib/insert/object hdf5_cplus H5FaccProp
$ ccc H5FcreatProp.cxx
$ lib/insert/object hdf5_cplus H5FcreatProp
$ ccc H5File.cxx
$ lib/insert/object hdf5_cplus H5File
$ ccc H5FloatType.cxx
$ lib/insert/object hdf5_cplus H5FloatType
$ ccc H5Group.cxx
$ lib/insert/object hdf5_cplus H5Group
$ ccc H5IdComponent.cxx
$ lib/insert/object hdf5_cplus H5IdComponent
$ ccc H5IntType.cxx
$ lib/insert/object hdf5_cplus H5IntType
$ ccc H5Library.cxx
$ lib/insert/object hdf5_cplus H5Library
$ ccc H5Object.cxx
$ lib/insert/object hdf5_cplus H5Object
$ ccc H5PredType.cxx
$ lib/insert/object hdf5_cplus H5PredType
$ ccc H5PropList.cxx
$ lib/insert/object hdf5_cplus H5PropList
$ ccc H5StrType.cxx
$ lib/insert/object hdf5_cplus H5StrType
$ ccc H5VarLenType.cxx
$ lib/insert/object hdf5_cplus H5VarLenType
$!
$ type sys$input
Done
$ exit

View File

@ -1,23 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Command file to run C++ tests
$!
$ type sys$input
Running C++ tests
$!
$ run testhdf5
$ exit

View File

@ -1,49 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 C++ library tests
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! cxxopt = "/float=ieee_float/standard=strict_ansi/define=H5_VMS"
$
$ ccc := cxx 'cxxopt /include=([-.-.src], [-.-.test], [-.src])
$!
$!
$!
$ ccc h5cpputil
$ ccc dsets
$ ccc tattr
$ ccc tcompound
$ ccc testhdf5
$ ccc tfile
$ ccc tfilter
$ ccc th5s
$ ccc tlinks
$ ccc trefer
$ ccc ttypes
$ ccc tvlstr
$ type sys$input
Creating testhdf5
$ cxxlink testhdf5, dsets, h5cpputil, tattr, tcompound, tfile, tfilter, th5s, -
tlinks, trefer, ttypes, tvlstr, -
[-.src]hdf5_cplus.olb/lib, [-.-.test]libh5test.olb/lib, -
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Done
$ exit

View File

@ -1,31 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$ type sys$input
Running examples
$ run h5_write
$ run h5_read
$ run h5_extend_write
$ run h5_chunk_read
$ run h5_compound
$ run h5_group
$ run h5_select
$ run h5_attribute
$ run h5_mount
$ run h5_reference
$ run h5_ref2reg
$ run h5_drivers
$ exit

View File

@ -1,79 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 C examples
$!
$ define zlib_dir disk$user:[hdfgroup.zlib-1_2_5_ieee]
$ ccopt = "/float=ieee_float/nowarnings/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.include])
$ type sys$input
Compiling C examples
$!
$ cobj= "h5_write.c, h5_read.c, h5_extend_write.c, h5_chunk_read.c, "+-
"h5_compound.c, h5_group.c, h5_select.c, h5_attribute.c, "+-
"h5_mount.c, h5_ref2reg.c, h5_reference.c, h5_drivers.c "
$!
$ ccc 'cobj
$
$ type sys$input
Creating h5_write
$ link h5_write, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_read
$ link h5_read, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_extend_write
$ link h5_extend_write, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_chunk_read
$ link h5_chunk_read, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_compound
$ link h5_compound, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_group
$ link h5_group, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_select
$ link h5_select, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_attribute
$ link h5_attribute, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_mount
$ link h5_mount, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_reference
$ link h5_reference, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_ref2reg
$ link h5_ref2reg, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating h5_drivers
$ link h5_drivers, -
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ exit

View File

@ -1,94 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Command file to run Fortran examples; examples need to run in a defined
$! order due to file dependencies.
$!
$ type sys$input
Running Fortran examples
$ type sys$input
Running dsetexample
$ run dsetexample
$
$ type sys$input
Running fileexample
$ run fileexample
$
$ type sys$input
Running rwdsetexample
$ run rwdsetexample
$
$ type sys$input
Running attrexample
$ run attrexample
$
$ type sys$input
Running groupexample
$ run groupexample
$
$ type sys$input
Running grpsexample
$ run grpsexample
$
$ type sys$input
Running grpdsetexample
$ run grpdsetexample
$
$ type sys$input
Running hyperslab
$ run hyperslab
$
$ type sys$input
Running selectele
$ run selectele
$
$ type sys$input
Running grpit
$ run grpit
$
$ type sys$input
Running refobjexample
$ run refobjexample
$
$ type sys$input
Running refregexample
$ run refregexample
$
$ type sys$input
Running mountexample
$ run mountexample
$
$ type sys$input
Running compound
$ run compound
$ exit

View File

@ -1,117 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 Fortran examples
$!
$ fcopt = "/float=ieee_float/define=H5_VMS"
$ define zlib_dir disk$user:[hdfgroup.zlib-1_2_5_ieee]
$ fff := fortran 'fcopt /module=[-.-.include]
$
$ type sys$input
Compiling HDF5 Fortran examples
$!
$ ffiles="dsetexample.f90, fileexample.f90, rwdsetexample.f90, "+-
"attrexample.f90, groupexample.f90, grpsexample.f90, "+-
"grpdsetexample.f90, hyperslab.f90, selectele.f90, grpit.f90,"+-
"refobjexample.f90, refregexample.f90, mountexample.f90,"+-
"compound.f90"
$!
$ fff 'ffiles
$ type sys$input
Creating dsetexample
$ link dsetexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating fileexample
$ link fileexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating rwdsetexample
$ link rwdsetexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating attrexample
$ link attrexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating groupexample
$ link groupexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating grpsexample
$ link grpsexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating grpdsetexample
$ link grpdsetexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating hyperslab
$ link hyperslab ,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating selectele
$ link selectele,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating grpit
$ link grpit,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating refobjexample
$ link refobjexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating refregexample
$ link refregexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating mountexample
$ link mountexample,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Creating compound
$ link compound,-
[-.-.lib]hdf5_fortran.olb/lib,-
[-.-.lib]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ exit

View File

@ -1,75 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 Fortran library
$!
$! The thre two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$!
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
$! fcopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
$ ccc := cc 'ccopt /include=[-.-.src]
$ fff := fortran 'fcopt
$ type sys$input
Creating and running H5test_kind to generate H5fortran_detect.f90
$!
$ fff H5test_kind_sizeof.f90
$ link H5test_kind_sizeof
$ define/user_mode sys$output H5fortran_detect.f90
$ run H5test_kind_sizeof
$!
$ type sys$input
Creating and running H5fortran_detect.f90 to generate H5fort_type_defines.h
$!
$ fff H5fortran_detect.f90
$ link H5fortran_detect
$ define/user_mode sys$output H5fort_type_defines.h
$ run H5fortran_detect
$!
$ type sys$input
Creating and running H5match_types to generate H5fortran_types.f90
$!
$ ccc H5match_types.c
$ link H5match_types
$ run H5match_types
$!
$!
$ type sys$input
Creating HDF5 Fortran library
$!
$ cobj="H5f90kit, H5_f, H5Af, H5Df, H5Ef, H5Ff, H5Gf, "+-
"H5If, H5Lf, H5Of, H5Pf, H5Rf, H5Sf, H5Tf, H5Zf"
$ ffiles= "H5_ff.f90, H5Aff.f90, H5Dff.f90, H5Eff.f90,"+-
"H5Lff.f90, H5Off.f90,"+-
"H5Fff.f90, H5Gff.f90, H5Iff.f90, H5Pff.f90, H5Rff.f90, H5Sff.f90,"+-
"H5Tff.f90, H5Zff.f90, H5_DBLE_InterfaceInclude.f90, HDF5.f90"
$ fobj="H5f90global, "+-
"H5fortran_types, H5_ff, H5Aff, H5Dff, H5Eff,"+-
"H5Fff, H5Gff, H5Iff, H5Lff, H5Off, H5Pff, H5Rff, H5Sff,"+-
"H5Tff, H5Zff, H5_DBLE_InterfaceInclude, HDF5"
$!
$ ccc 'cobj
$ fff H5fortran_types.f90
$ fff H5f90global.f90
$
$ fff 'ffiles
$ library/create []hdf5_fortran 'cobj
$ library/replace []hdf5_fortran 'fobj
$ type sys$input
Done
$ exit

View File

@ -1,26 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Command file to run Fortran tests
$!
$!
$ type sys$input
Running Fortran tests
$ run fortranlib_test
$ run fortranlib_test_1_8
$ run fflush1
$ run fflush2
$ exit

View File

@ -1,69 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 Fortran tests
$!
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
$! fcopt = "/float=ieee_float/define=H5_VMS/debug/nooptimize/include=zlib_dir"
$ ccc := cc 'ccopt /include=[-.-.src]
$ fff := fortran 'fcopt /module=[-.src]
$
$ type sys$input
Creating HDF5 Fortran tests
$!
$ cobj="t "
$ ffiles="fortranlib_test.f90, tH5F.f90, tH5D.f90, "+-
"tH5R.f90, tH5S.f90, tH5T.f90, tH5VL.f90, tH5Z.f90, tH5Sselect.f90,"+-
"tH5P.f90, tH5A.f90, tH5I.f90, tH5G.f90, tH5E.f90, tf.f90"
$ ffiles18="fortranlib_test_1_8.f90, tH5F.f90, tH5O.f90,"+-
"tH5A_1_8.f90, tH5G_1_8.f90"
$ fobj="fortranlib_test, tH5F, tH5D, "+-
"tH5R, tH5S, tH5T, tH5VL, tH5Z, tH5Sselect,"+-
"tH5P, tH5A, tH5I, tH5G, tH5E, tf"
$ fobj18="fortranlib_test_1_8, tH5F, tH5O, tH5A_1_8, tH5G_1_8"
$!
$ ccc 'cobj
$ fff 'ffiles
$ fff 'ffiles18
$ fff fflush1.f90
$ fff fflush2.f90
$ library/create []h5test_fortran t, tf
$ link fflush1,h5test_fortran.olb/lib,-
[-.-.test]libh5test.olb/lib, -
[-.src]hdf5_fortran.olb/lib,-
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ link fflush2,h5test_fortran.olb/lib,-
[-.-.test]libh5test.olb/lib, -
[-.src]hdf5_fortran.olb/lib,-
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ link/exec=fortranlib_test.exe -
fortranlib_test.obj, tH5F.obj, tH5D.obj, -
tH5R.obj, tH5S.obj, tH5T.obj, tH5VL.obj, tH5Z.obj, tH5Sselect.obj, -
tH5P.obj, tH5A.obj, tH5I.obj, tH5G.obj, tH5E.obj,-
h5test_fortran.olb/lib,[-.-.test]libh5test.olb/lib, -
[-.src]hdf5_fortran.olb/lib,-
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ link/exec=fortranlib_test_1_8.exe -
fortranlib_test_1_8.obj, tH5F.obj, tH5O.obj, tH5A_1_8.obj, tH5G_1_8.obj,-
h5test_fortran.olb/lib,[-.-.test]libh5test.olb/lib, -
[-.src]hdf5_fortran.olb/lib,-
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created HDF5 Fortran tests
$!
$ exit

View File

@ -1,166 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$!
$! This command file installs built binaries, header files, examples and
$! scripts under [.hdf5] directory in the main distribution
$!
$
$!
$!
$ hdf5top = F$DIRECTORY()
$ len = F$LENGTH(hdf5top)
$ hdf5top_dir = F$EXTRACT(0, len-4, hdf5top)
$!
$ hdf5src = hdf5top_dir + "SRC]"
$ hdf5examples = hdf5top_dir + "EXAMPLES]"
$ hdf5tools_h5copy = hdf5top_dir + "TOOLS.H5COPY]"
$ hdf5tools_h5diff = hdf5top_dir + "TOOLS.H5DIFF]"
$ hdf5tools_h5dump = hdf5top_dir + "TOOLS.H5DUMP]"
$ hdf5tools_h5ls = hdf5top_dir + "TOOLS.H5LS]"
$ hdf5tools_h5repack = hdf5top_dir + "TOOLS.H5REPACK]"
$ hdf5tools_h5jam = hdf5top_dir + "TOOLS.H5JAM]"
$ hdf5tools_h5import = hdf5top_dir + "TOOLS.H5IMPORT]"
$ hdf5tools_h5stat = hdf5top_dir + "TOOLS.H5STAT]"
$ hdf5tools_h5misc = hdf5top_dir + "TOOLS.H5MISC]"
$ hdf5fortran_examples = hdf5top_dir + "FORTRAN.EXAMPLES]"
$ hdf5fortran_src = hdf5top_dir + "FORTRAN.SRC]"
$ hdf5cxx_src = hdf5top_dir + "C__.SRC]"
$ hdf5cxx_examples = hdf5top_dir + "C__.EXAMPLES]"
$!
$ hdf5install = hdf5top_dir + "HDF5]"
$ hdf5install_include = hdf5top_dir + "HDF5.INCLUDE]"
$ hdf5install_examples = hdf5top_dir + "HDF5.EXAMPLES]"
$ hdf5install_examples_c = hdf5top_dir + "HDF5.EXAMPLES.C]"
$ hdf5install_examples_f90 = hdf5top_dir + "HDF5.EXAMPLES.F90]"
$ hdf5install_examples_cxx = hdf5top_dir + "HDF5.EXAMPLES.CXX]"
$ hdf5install_lib = hdf5top_dir + "HDF5.LIB]"
$ hdf5install_bin = hdf5top_dir + "HDF5.BIN]"
$
$ if F$SEARCH(hdf5install) .NES. ""
$ then write sys$output "''hdf5install' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install'..."
$ create/dir 'hdf5install'
$ endif
$
$ if F$SEARCH(hdf5install_include) .NES. ""
$ then write sys$output "''hdf5install_include' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install_include'..."
$ create/dir 'hdf5install_include'
$ endif
$ if F$SEARCH(hdf5install_lib) .NES. ""
$ then write sys$output "''hdf5install_lib' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install_lib'..."
$ create/dir 'hdf5install_lib'
$ endif
$ if F$SEARCH(hdf5install_bin) .NES. ""
$ then write sys$output "''hdf5install_bin' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install_bin'..."
$ create/dir 'hdf5install_bin'
$ endif
$ if F$SEARCH(hdf5install_examples) .NES. ""
$ then write sys$output "''hdf5install_examples' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install_examples'..."
$ create/dir 'hdf5install_examples'
$ endif
$ if F$SEARCH(hdf5install_examples_c) .NES. ""
$ then write sys$output "''hdf5install_examples_c' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install_examples_c'..."
$ create/dir 'hdf5install_examples_c'
$ endif
$ if F$SEARCH(hdf5install_examples_f90) .NES. ""
$ then write sys$output "''hdf5install_examples_f90' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install_examples_f90'..."
$ create/dir 'hdf5install_examples_f90'
$ endif
$ if F$SEARCH(hdf5install_examples_cxx) .NES. ""
$ then write sys$output "''hdf5install_examples_cxx' directory exists, will not create"
$ else
$ write sys$output "Creating ''hdf5install_examples_cxx'..."
$ create/dir 'hdf5install_examples_cxx'
$ endif
$!
$ write sys$output "Installing C library and header files"
$ set def 'hdf5src'
$ copy HDF5.olb 'hdf5install_lib'
$ copy *.h 'hdf5install_include'
$ del 'hdf5install_include'*private*.*;*
$!
$ write sys$output "Installing Fortran library module files"
$ set def 'hdf5fortran_src'
$ copy HDF5_FORTRAN.olb 'hdf5install_lib'
$ copy *.F90$MOD 'hdf5install_include'
$!
$ write sys$output "Installing C++ library and header files"
$ set def 'hdf5cxx_src'
$ copy HDF5_CPLUS.olb 'hdf5install_lib'
$ copy *.h 'hdf5install_include'
$!
$ write sys$output "Installing utilties"
$ set def 'hdf5tools_h5copy'
$ copy h5copy.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5diff'
$ copy h5diff.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5dump'
$ copy h5dump.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5repack'
$ copy h5repack.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5ls'
$ copy h5ls.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5jam'
$ copy h5jam.exe 'hdf5install_bin'
$ copy h5unjam.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5import'
$ copy h5import.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5stat'
$ copy h5stat.exe 'hdf5install_bin'
$!
$ set def 'hdf5tools_h5misc'
$ copy h5debug.exe 'hdf5install_bin'
$ copy h5mkgrp.exe 'hdf5install_bin'
$!
$ write sys$output "Installing examples"
$ set def 'hdf5examples'
$ copy *.c 'hdf5install_examples_c'
$!
$ set def 'hdf5fortran_examples'
$ copy *.f90 'hdf5install_examples_f90'
$!
$ set def 'hdf5cxx_examples'
$ copy *.cpp 'hdf5install_examples_cxx'
$ rename 'hdf5install_examples_cxx'*.cpp 'hdf5install_examples_cxx'*.cxx
$
$
$!
$ set def 'hdf5top'
$ copy [.examples]*.com 'hdf5install_examples_c'
$ copy [.fortran.examples]*.com 'hdf5install_examples_f90'
$ copy [.c__.examples]*.com 'hdf5install_examples_cxx'
$ exit

View File

@ -1,145 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$!
$! This file copies all make files from the VMS directory to the
$! source directories and builds libraries, tests, and utilties
$!
$ copy [.c__.src]make.com [-.c__.src]
$ copy [.c__.test]*.com [-.c__.test]
$ copy [.fortran.src]make.com [-.fortran.src]
$ copy [.fortran.test]*.com [-.fortran.test]
$ copy [.src]make.com [-.src]
$ copy [.src]h5pubconf.h [-.src]
$ copy [.test]*.com [-.test]
$ copy [.tools.h5copy]*.com [-.tools.h5copy]
$ copy [.tools.h5dump]*.com [-.tools.h5dump]
$ copy [.tools.h5ls]*.com [-.tools.h5ls]
$ copy [.tools.h5diff]*.com [-.tools.h5diff]
$ copy [.tools.h5repack]*.com [-.tools.h5repack]
$ copy [.tools.h5import]*.com [-.tools.h5import]
$ copy [.tools.h5jam]*.com [-.tools.h5jam]
$ copy [.tools.h5stat]*.com [-.tools.h5stat]
$ copy [.tools.lib]make.com [-.tools.lib]
$ copy [.tools.testfiles]*.ddl [-.tools.testfiles]
$ copy [.tools.misc]make.com [-.tools.misc]
$!
$! Define location of ZLIB library. If you do not have it on your system, download
$! source code from http://www.zlib.net/, build and install on your system
$ define zlib_dir disk$user:[hdfgroup.zlib-1_2_5_ieee]
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3-ieee]
$!
$! Set up compilation flags here
$! Do not remove define=H5_VMS and standard=strict_ansi qualifiers.
$!
$ ccopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/include=zlib_dir"
$ fcopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/include=zlib_dir"
$ cxxopt == "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/debug/nooptimize/"+-
"standard=strict_ansi/include=zlib_dir"
$!
$!
$ hdf5top = F$DIRECTORY()
$ len = F$LENGTH(hdf5top)
$ hdf5top_dir = F$EXTRACT(0, len-4, hdf5top)
$!
$ hdf5src = hdf5top_dir + "SRC]"
$ hdf5test = hdf5top_dir + "TEST]"
$ hdf5examples = hdf5top_dir + "EXAMPLES]"
$ hdf5tools_lib = hdf5top_dir + "TOOLS.LIB]"
$ hdf5tools_h5copy = hdf5top_dir + "TOOLS.H5COPY]"
$ hdf5tools_h5diff = hdf5top_dir + "TOOLS.H5DIFF]"
$ hdf5tools_h5dump = hdf5top_dir + "TOOLS.H5DUMP]"
$ hdf5tools_h5import = hdf5top_dir + "TOOLS.H5IMPORT]"
$ hdf5tools_h5jam = hdf5top_dir + "TOOLS.H5JAM]"
$ hdf5tools_h5ls = hdf5top_dir + "TOOLS.H5LS]"
$ hdf5tools_h5repack = hdf5top_dir + "TOOLS.H5REPACK]"
$ hdf5tools_h5stat = hdf5top_dir + "TOOLS.H5STAT]"
$ hdf5tools_misc = hdf5top_dir + "TOOLS.MISC]"
$ hdf5fortran_examples = hdf5top_dir + "FORTRAN.EXAMPLES]"
$ hdf5fortran_src = hdf5top_dir + "FORTRAN.SRC]"
$ hdf5fortran_test = hdf5top_dir + "FORTRAN.TEST]"
$ hdf5cxx_src = hdf5top_dir + "C__.SRC]"
$ hdf5cxx_test = hdf5top_dir + "C__.TEST]"
$ hdf5cxx_examples = hdf5top_dir + "C__.EXAMPLES]"
$!
$ write sys$output "Building C library"
$ set def 'hdf5src'
$ @make.com
$!
$!
$ write sys$output "Building C library tests"
$ set def 'hdf5test'
$ @make.com
$!
$ write sys$output "Building tools library"
$ set def 'hdf5tools_lib'
$ @make.com
$!
$ write sys$output "Building h5copy"
$ set def 'hdf5tools_h5copy'
$ @make.com
$!
$ write sys$output "Building h5diff"
$ set def 'hdf5tools_h5diff'
$ @make.com
$!
$ write sys$output "Building h5dump"
$ set def 'hdf5tools_h5dump'
$ @make.com
$!
$ write sys$output "Building h5import"
$ set def 'hdf5tools_h5import'
$ @make.com
$!
$ write sys$output "Building h5jam"
$ set def 'hdf5tools_h5jam'
$ @make.com
$!
$ write sys$output "Building h5ls"
$ set def 'hdf5tools_h5ls'
$ @make.com
$!
$ write sys$output "Building h5repack"
$ set def 'hdf5tools_h5repack'
$ @make.com
$!
$ write sys$output "Building h5stat"
$ set def 'hdf5tools_h5stat'
$ @make.com
$!
$ write sys$output "Building misc"
$ set def 'hdf5tools_misc'
$ @make.com
$!
$ write sys$output "Building Fortran library"
$ set def 'hdf5fortran_src'
$ @make.com
$!
$ write sys$output "Building Fortran library tests"
$ set def 'hdf5fortran_test'
$ @make.com
$!
$ write sys$output "Building C++ library"
$ set def 'hdf5cxx_src'
$ copy *.cpp *.cxx
$ @make.com
$!
$ write sys$output "Building C++ library tests"
$ set def 'hdf5cxx_test'
$ copy *.cpp *.cxx
$ @make.com
$!
$ set def 'hdf5top'
$ exit

View File

@ -1,674 +0,0 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* src/H5config.h. Generated from H5config.h.in by configure. */
/* src/H5config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef H5_AC_APPLE_UNIVERSAL_BUILD */
/* Define if your system generates wrong code for log2 routine. */
/* #undef H5_BAD_LOG2_CODE_GENERATED */
/* Define if the memory buffers being written to disk should be cleared before
writing. */
#define H5_CLEAR_MEMORY 1
/* Define if your system can handle converting denormalized floating-point
values. */
#define H5_CONVERT_DENORMAL_FLOAT 1
/* Define if C++ compiler recognizes offsetof */
#define H5_CXX_HAVE_OFFSETOF 1
/* Define if `dev_t' is a scalar */
#define H5_DEV_T_IS_SCALAR 1
/* Define to dummy `main' function (if any) required to link to the Fortran
libraries. */
/* #undef H5_FC_DUMMY_MAIN */
/* Define if F77 and FC dummy `main' functions are identical. */
/* #undef H5_FC_DUMMY_MAIN_EQ_F77 */
/* Define to a macro mangling the given C identifier (in lower and upper
case), which must not contain underscores, for linking with Fortran. */
/* #undef H5_FC_FUNC */
/* As FC_FUNC, but for C identifiers containing underscores. */
/* #undef H5_FC_FUNC_ */
/* Define if your system can handle overflow converting floating-point to
integer values. */
#define H5_FP_TO_INTEGER_OVERFLOW_WORKS 1
/* Define if your system roundup accurately converting floating-point to
unsigned long long values. */
#define H5_FP_TO_ULLONG_ACCURATE 1
/* Define if your system has right maximum convert floating-point to unsigned
long long values. */
#define H5_FP_TO_ULLONG_RIGHT_MAXIMUM 1
/* Define to 1 if you have the `alarm' function. */
#define H5_HAVE_ALARM 1
/* Define if the __attribute__(()) extension is present */
/* #undef H5_HAVE_ATTRIBUTE */
/* Define if the compiler understands C99 designated initialization of structs
and unions */
#define H5_HAVE_C99_DESIGNATED_INITIALIZER 1
/* Define if the compiler understands the __func__ keyword */
#define H5_HAVE_C99_FUNC 1
/* Define to 1 if you have the `clock_gettime' function. */
#define H5_HAVE_CLOCK_GETTIME 1
/* Define if the function stack tracing code is to be compiled in */
/* #undef H5_HAVE_CODESTACK */
/* Define to 1 if you have the `difftime' function. */
#define H5_HAVE_DIFFTIME 1
/* Define if the direct I/O virtual file driver should be compiled */
/* #undef H5_HAVE_DIRECT */
/* Define to 1 if you have the <dirent.h> header file. */
#define H5_HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define H5_HAVE_DLFCN_H 1
/* Define to 1 if you have the <dmalloc.h> header file. */
/* #undef H5_HAVE_DMALLOC_H */
/* Define if library information should be embedded in the executables */
/* #undef H5_HAVE_EMBEDDED_LIBINFO */
/* Define to 1 if you have the <features.h> header file. */
/* #undef H5_HAVE_FEATURES_H */
/* Define if support for deflate (zlib) filter is enabled */
#define H5_HAVE_FILTER_DEFLATE 1
/* Define if support for szip filter is enabled */
/* #undef H5_HAVE_FILTER_SZIP */
/* Define to 1 if you have the `fork' function. */
/* #undef H5_HAVE_FORK */
/* Define to 1 if you have the `frexpf' function. */
#define H5_HAVE_FREXPF 1
/* Define to 1 if you have the `frexpl' function. */
#define H5_HAVE_FREXPL 1
/* Define to 1 if you have the `fseeko' function. */
#define H5_HAVE_FSEEKO 1
/* Define to 1 if you have the `fseek64' function. */
/* #undef H5_HAVE_FSEEKO64 */
/* Define to 1 if you have the `fstat64' function. */
/* #undef H5_HAVE_FSTAT64 */
/* Define to 1 if you have the `ftello' function. */
#define H5_HAVE_FTELLO 1
/* Define to 1 if you have the `ftruncate64' function. */
/* #undef H5_HAVE_FTRUNCATE64 */
/* Define if the compiler understands the __FUNCTION__ keyword */
/* #undef H5_HAVE_FUNCTION */
/* Define to 1 if you have the `GetConsoleScreenBufferInfo' function. */
/* #undef H5_HAVE_GETCONSOLESCREENBUFFERINFO */
/* Define to 1 if you have the `gethostname' function. */
#define H5_HAVE_GETHOSTNAME 1
/* Define to 1 if you have the `getpwuid' function. */
/* #undef H5_HAVE_GETPWUID */
/* Define to 1 if you have the `getrusage' function. */
/* #undef H5_HAVE_GETRUSAGE */
/* Define to 1 if you have the `gettextinfo' function. */
/* #undef H5_HAVE_GETTEXTINFO */
/* Define to 1 if you have the `gettimeofday' function. */
#define H5_HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the `get_fpc_csr' function. */
/* #undef H5_HAVE_GET_FPC_CSR */
/* Define if library will contain instrumentation to detect correct
optimization operation */
#define H5_HAVE_INSTRUMENTED_LIBRARY 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define H5_HAVE_INTTYPES_H 1
/* Define to 1 if you have the `ioctl' function. */
#define H5_HAVE_IOCTL 1
/* Define to 1 if you have the <io.h> header file. */
/* #undef H5_HAVE_IO_H */
/* Define to 1 if you have the `dl' library (-ldl). */
#define H5_HAVE_LIBDL 1
/* Define to 1 if you have the `dmalloc' library (-ldmalloc). */
/* #undef H5_HAVE_LIBDMALLOC */
/* Define to 1 if you have the `lmpe' library (-llmpe). */
/* #undef H5_HAVE_LIBLMPE */
/* Define to 1 if you have the `m' library (-lm). */
#define H5_HAVE_LIBM 1
/* Define to 1 if you have the `mpe' library (-lmpe). */
/* #undef H5_HAVE_LIBMPE */
/* Define to 1 if you have the `mpi' library (-lmpi). */
/* #undef H5_HAVE_LIBMPI */
/* Define to 1 if you have the `mpich' library (-lmpich). */
/* #undef H5_HAVE_LIBMPICH */
/* Define to 1 if you have the `mpio' library (-lmpio). */
/* #undef H5_HAVE_LIBMPIO */
/* Define to 1 if you have the `nsl' library (-lnsl). */
/* #undef H5_HAVE_LIBNSL */
/* Define to 1 if you have the `pthread' library (-lpthread). */
/* #undef H5_HAVE_LIBPTHREAD */
/* Define to 1 if you have the `socket' library (-lsocket). */
/* #undef H5_HAVE_LIBSOCKET */
/* Define to 1 if you have the `sz' library (-lsz). */
/* #undef H5_HAVE_LIBSZ */
/* Define to 1 if you have the `z' library (-lz). */
/* #undef H5_HAVE_LIBZ */
/* Define to 1 if you have the `longjmp' function. */
#define H5_HAVE_LONGJMP 1
/* Define to 1 if you have the `lseek64' function. */
/* #undef H5_HAVE_LSEEK64 */
/* Define to 1 if you have the `lstat' function. */
/* #undef H5_HAVE_LSTAT */
/* Define to 1 if you have the <mach/mach_time.h> header file. */
/* #undef H5_HAVE_MACH_MACH_TIME_H */
/* Define to 1 if you have the <memory.h> header file. */
/* #undef H5_HAVE_MEMORY_H */
/* Define if we have MPE support */
/* #undef H5_HAVE_MPE */
/* Define to 1 if you have the <mpe.h> header file. */
/* #undef H5_HAVE_MPE_H */
/* Define if `MPI_Comm_c2f' and `MPI_Comm_f2c' exists */
/* #undef H5_HAVE_MPI_MULTI_LANG_Comm */
/* Define if `MPI_Info_c2f' and `MPI_Info_f2c' exists */
/* #undef H5_HAVE_MPI_MULTI_LANG_Info */
/* Define if we have parallel support */
/* #undef H5_HAVE_PARALLEL */
/* Define to 1 if you have the <pthread.h> header file. */
/* #undef H5_HAVE_PTHREAD_H */
/* Define to 1 if you have the `random' function. */
#define H5_HAVE_RANDOM 1
/* Define to 1 if you have the `rand_r' function. */
/* #define H5_HAVE_RAND_R 1 */
/* Define to 1 if you have the `setjmp' function. */
#define H5_HAVE_SETJMP 1
/* Define to 1 if you have the <setjmp.h> header file. */
#define H5_HAVE_SETJMP_H 1
/* Define to 1 if you have the `setsysinfo' function. */
/* #undef H5_HAVE_SETSYSINFO */
/* Define to 1 if you have the `siglongjmp' function. */
#define H5_HAVE_SIGLONGJMP 1
/* Define to 1 if you have the `signal' function. */
#define H5_HAVE_SIGNAL 1
/* Define to 1 if you have the `sigprocmask' function. */
/* #undef H5_HAVE_SIGPROCMASK */
/* Define to 1 if you have the `sigsetjmp' function. */
/* #undef H5_HAVE_SIGSETJMP */
/* Define to 1 if you have the `snprintf' function. */
#define H5_HAVE_SNPRINTF 1
/* Define to 1 if you have the `srandom' function. */
#define H5_HAVE_SRANDOM 1
/* Define to 1 if you have the `stat64' function. */
/* #undef H5_HAVE_STAT64 */
/* Define if `struct stat' has the `st_blocks' field */
/* #undef H5_HAVE_STAT_ST_BLOCKS */
/* Define to 1 if you have the <stddef.h> header file. */
#define H5_HAVE_STDDEF_H 1
/* Define to 1 if you have the <stdint.h> header file. */
/* #undef H5_HAVE_STDINT_H */
/* Define to 1 if you have the <stdlib.h> header file. */
#define H5_HAVE_STDLIB_H 1
/* Define to 1 if you have the `strdup' function. */
#define H5_HAVE_STRDUP 1
/* Define to 1 if you have the <strings.h> header file. */
#define H5_HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define H5_HAVE_STRING_H 1
/* Define if `struct text_info' is defined */
/* #undef H5_HAVE_STRUCT_TEXT_INFO */
/* Define if `struct videoconfig' is defined */
/* #undef H5_HAVE_STRUCT_VIDEOCONFIG */
/* Define to 1 if you have the `symlink' function. */
/* #undef H5_HAVE_SYMLINK */
/* Define to 1 if you have the `system' function. */
#define H5_HAVE_SYSTEM 1
/* Define to 1 if you have the <sys/fpu.h> header file. */
/* #undef H5_HAVE_SYS_FPU_H */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define H5_HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/proc.h> header file. */
/* #undef H5_HAVE_SYS_PROC_H */
/* Define to 1 if you have the <sys/resource.h> header file. */
#define H5_HAVE_SYS_RESOURCE_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define H5_HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define H5_HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/sysinfo.h> header file. */
/* #undef H5_HAVE_SYS_SYSINFO_H */
/* Define to 1 if you have the <sys/timeb.h> header file. */
#define H5_HAVE_SYS_TIMEB_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define H5_HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define H5_HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <szlib.h> header file. */
/* #undef H5_HAVE_SZLIB_H */
/* Define if we have thread safe support */
/* #undef H5_HAVE_THREADSAFE */
/* Define if `timezone' is a global variable */
#define H5_HAVE_TIMEZONE 1
/* Define if the ioctl TIOCGETD is defined */
#define H5_HAVE_TIOCGETD 1
/* Define if the ioctl TIOGWINSZ is defined */
#define H5_HAVE_TIOCGWINSZ 1
/* Define to 1 if you have the `tmpfile' function. */
#define H5_HAVE_TMPFILE 1
/* Define if `tm_gmtoff' is a member of `struct tm' */
/* #undef H5_HAVE_TM_GMTOFF */
/* Define to 1 if you have the <unistd.h> header file. */
#define H5_HAVE_UNISTD_H 1
/* Define to 1 if you have the `asprintf' function. */
/* #undef H5_HAVE_ASPRINTF */
/* Define to 1 if you have the `vasprintf' function. */
/* #undef H5_HAVE_VASPRINTF */
/* Define to 1 if you have the `vsnprintf' function. */
#define H5_HAVE_VSNPRINTF 1
/* Define to 1 if you have the `waitpid' function. */
#define H5_HAVE_WAITPID 1
/* Define if your system has OpenVMS path name. This macro is added by hand. */
#define H5_HAVE_VMS_PATH 1
/* Define if your system has window style path name. */
/* #undef H5_HAVE_WINDOW_PATH */
/* Define to 1 if you have the <winsock.h> header file. */
/* #undef H5_HAVE_WINSOCK2_H */
/* Define to 1 if you have the <zlib.h> header file. */
#define H5_HAVE_ZLIB_H 1
/* Define to 1 if you have the `_getvideoconfig' function. */
/* #undef H5_HAVE__GETVIDEOCONFIG */
/* Define to 1 if you have the `_scrsize' function. */
/* #undef H5_HAVE__SCRSIZE */
/* Define if your system can't handle converting floating-point values to long
long. */
/* #undef H5_HW_FP_TO_LLONG_NOT_WORKS */
/* Define if HDF5's high-level library headers should be included in hdf5.h */
#define H5_INCLUDE_HL 1
/* Define if your system can accurately convert from integers to long double
values. */
#define H5_INTEGER_TO_LDOUBLE_ACCURATE 1
/* Define if your system can convert long double to integers accurately. */
#define H5_LDOUBLE_TO_INTEGER_ACCURATE 1
/* Define if your system can convert from long double to integer values. */
#define H5_LDOUBLE_TO_INTEGER_WORKS 1
/* Define if your system can convert long double to (unsigned) long long
values correctly. */
#define H5_LDOUBLE_TO_LLONG_ACCURATE 1
/* Define if your system converts long double to (unsigned) long values with
special algorithm. */
/* #undef H5_LDOUBLE_TO_LONG_SPECIAL */
/* Define if your system can convert long double to unsigned int values
correctly. */
#define H5_LDOUBLE_TO_UINT_ACCURATE 1
/* Define if your system can compile long long to floating-point casts. */
#define H5_LLONG_TO_FP_CAST_WORKS 1
/* Define if your system can convert (unsigned) long long to long double
values correctly. */
#define H5_LLONG_TO_LDOUBLE_CORRECT 1
/* Define if your system can convert (unsigned) long to long double values
with special algorithm. */
/* #undef H5_LONG_TO_LDOUBLE_SPECIAL */
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define H5_LT_OBJDIR ".libs/"
/* Define if the metadata trace file code is to be compiled in */
/* #undef H5_METADATA_TRACE_FILE */
/* Define if we can violate pointer alignment restrictions */
#define H5_NO_ALIGNMENT_RESTRICTIONS 1
/* Define if deprecated public API symbols are disabled */
/* #undef H5_NO_DEPRECATED_SYMBOLS */
/* Name of package */
#define H5_PACKAGE "hdf5"
/* Define to the address where bug reports for this package should be sent. */
#define H5_PACKAGE_BUGREPORT "help@hdfgroup.org"
/* Define to the full name of this package. */
#define H5_PACKAGE_NAME "HDF5"
/* Define to the full name and version of this package. */
#define H5_PACKAGE_STRING "HDF5 1.9.213"
/* Define to the one symbol short name of this package. */
#define H5_PACKAGE_TARNAME "hdf5"
/* Define to the home page for this package. */
#define H5_PACKAGE_URL ""
/* Define to the version of this package. */
#define H5_PACKAGE_VERSION "1.9.213"
/* Width for printf() for type `long long' or `__int64', use `ll' */
#define H5_PRINTF_LL_WIDTH "ll"
/* The size of `char', as computed by sizeof. */
#define H5_SIZEOF_CHAR 1
/* The size of `double', as computed by sizeof. */
#define H5_SIZEOF_DOUBLE 8
/* The size of `float', as computed by sizeof. */
#define H5_SIZEOF_FLOAT 4
/* The size of `int', as computed by sizeof. */
#define H5_SIZEOF_INT 4
/* The size of `int16_t', as computed by sizeof. */
#define H5_SIZEOF_INT16_T 2
/* The size of `int32_t', as computed by sizeof. */
#define H5_SIZEOF_INT32_T 4
/* The size of `int64_t', as computed by sizeof. */
#define H5_SIZEOF_INT64_T 8
/* The size of `int8_t', as computed by sizeof. */
#define H5_SIZEOF_INT8_T 1
/* The size of `int_fast16_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_FAST16_T 0 */
/* The size of `int_fast32_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_FAST32_T 0 */
/* The size of `int_fast64_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_FAST64_T 0 */
/* The size of `int_fast8_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_FAST8_T 0 */
/* The size of `int_least16_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_LEAST16_T 0 */
/* The size of `int_least32_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_LEAST32_T 0 */
/* The size of `int_least64_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_LEAST64_T 0 */
/* The size of `int_least8_t', as computed by sizeof. */
/* #define H5_SIZEOF_INT_LEAST8_T 0 */
/* The size of `long', as computed by sizeof. */
#define H5_SIZEOF_LONG 4
/* The size of `long double', as computed by sizeof. */
#define H5_SIZEOF_LONG_DOUBLE 16
/* The size of `long long', as computed by sizeof. */
#define H5_SIZEOF_LONG_LONG 8
/* The size of `off64_t', as computed by sizeof. */
#define H5_SIZEOF_OFF64_T 0
/* The size of `off_t', as computed by sizeof. */
#define H5_SIZEOF_OFF_T 8
/* The size of `ptrdiff_t', as computed by sizeof. */
#define H5_SIZEOF_PTRDIFF_T 4
/* The size of `short', as computed by sizeof. */
#define H5_SIZEOF_SHORT 2
/* The size of `size_t', as computed by sizeof. */
#define H5_SIZEOF_SIZE_T 4
/* The size of `ssize_t', as computed by sizeof. */
#define H5_SIZEOF_SSIZE_T 4
/* The size of `uint16_t', as computed by sizeof. */
#define H5_SIZEOF_UINT16_T 2
/* The size of `uint32_t', as computed by sizeof. */
#define H5_SIZEOF_UINT32_T 4
/* The size of `uint64_t', as computed by sizeof. */
#define H5_SIZEOF_UINT64_T 8
/* The size of `uint8_t', as computed by sizeof. */
#define H5_SIZEOF_UINT8_T 1
/* The size of `uint_fast16_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_FAST16_T 0 */
/* The size of `uint_fast32_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_FAST32_T 0 */
/* The size of `uint_fast64_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_FAST64_T 0 */
/* The size of `uint_fast8_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_FAST8_T 0 */
/* The size of `uint_least16_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_LEAST16_T 0 */
/* The size of `uint_least32_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_LEAST32_T 0 */
/* The size of `uint_least64_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_LEAST64_T 0 */
/* The size of `uint_least8_t', as computed by sizeof. */
/* #define H5_SIZEOF_UINT_LEAST8_T 0 */
/* The size of `unsigned', as computed by sizeof. */
#define H5_SIZEOF_UNSIGNED 4
/* The size of `__int64', as computed by sizeof. */
#define H5_SIZEOF___INT64 0
/* Define to 1 if you have the ANSI C header files. */
#define H5_STDC_HEADERS 1
/* Define if strict file format checks are enabled */
/* #undef H5_STRICT_FORMAT_CHECKS */
/* Define if your system supports pthread_attr_setscope(&attribute,
PTHREAD_SCOPE_SYSTEM) call. */
#define H5_SYSTEM_SCOPE_THREADS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define H5_TIME_WITH_SYS_TIME 1
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef H5_TM_IN_SYS_TIME */
/* Define if your system can compile unsigned long long to floating-point
casts. */
#define H5_ULLONG_TO_FP_CAST_WORKS 1
/* Define if your system can convert unsigned long long to long double with
correct precision. */
#define H5_ULLONG_TO_LDOUBLE_PRECISION 1
/* Define if your system accurately converting unsigned long to float values.
*/
/* #undef H5_ULONG_TO_FLOAT_ACCURATE */
/* Define if your system can accurately convert unsigned (long) long values to
floating-point values. */
#define H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE 1
/* Define using v1.6 public API symbols by default */
/* #define H5_USE_16_API_DEFAULT 1 */
/* Define if a memory checking tool will be used on the library, to cause
library to be very picky about memory operations and also disable the
internal free list manager code. */
/* #undef H5_USING_MEMCHECKER */
/* Version number of package */
#define H5_VERSION "1.9.213"
/* Define if vsnprintf() returns the correct value for formatted strings that
don't fit into size allowed */
#define H5_VSNPRINTF_WORKS 1
/* Data accuracy is prefered to speed during data conversions */
#define H5_WANT_DATA_ACCURACY 1
/* Check exception handling functions during data conversions */
#define H5_WANT_DCONV_EXCEPTION 1
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef H5_WORDS_BIGENDIAN */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef H5__FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef H5__LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef H5_const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef H5_inline */
#endif
/* Define to `long int' if <sys/types.h> does not define. */
/* #undef H5_off_t */
/* Define to `long' if <sys/types.h> does not define. */
/* #undef H5_ptrdiff_t */
/* Define to `unsigned long' if <sys/types.h> does not define. */
/* #undef H5_size_t */
/* Define to `long' if <sys/types.h> does not define. */
/* #undef H5_ssize_t */
#define H5_HAVE_FILE_VERSIONS 1
#define H5_CANNOT_OPEN_TWICE 1

View File

@ -1,76 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 library
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$!
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/include=zlib_dir"
$ ccc := cc 'ccopt
$ ccc h5detect.c
$ link h5detect
$ type sys$input
Running h5detect to create h5tinit.c
$ define/user_mode sys$output h5tinit.c
$ run h5detect
$!
$ ccc h5make_libsettings.c
$ link h5make_libsettings
$ type sys$input
Running h5make_libsettings to create H5lib_settings.h
$ define/user_mode sys$output H5lib_settings.h
$ run h5make_libsettings
$!
$ type sys$input
Creating HDF5 library
$!
$ cobj= "H5, H5checksum, H5dbg, H5system, H5timer, H5trace,"+-
"H5Abtree2, H5A, H5AC, H5Adense, H5Adeprec, H5Aint, H5Atest, H5B2, H5B2cache,"+-
"H5B2dbg, H5B2hdr, H5B2int, H5B2stat, H5B2test, H5B, H5Bcache, H5Bdbg, H5C, H5CS,"+-
"H5Dbtree, H5D, H5Dchunk, H5Dcompact, H5Dcontig, H5Ddbg, H5Ddeprec,"+-
"H5Defl, H5Dfill, H5Dint, H5Dio, H5Dlayout, H5Dmpio, H5Doh, H5Dscatgath, H5Dselect, H5Dtest,"+-
"H5EA, H5EAcache, H5EAdbg, H5EAdblkpage, H5EAdblock, H5EAhdr, H5EAiblock, H5EAint,"+-
"H5EAsblock, H5EAstat, H5EAtest, H5E, H5Edeprec, H5Eint,"+-
"H5FA, H5FAcache, H5FAdbg, H5FAdblkpage, H5FAdblock, H5FAhdr, H5FAstat, H5FAtest,"+-
"H5Faccum, H5F, H5Fcwfs, H5Fdbg, H5Fdeprec, H5FD, H5FDcore, H5FDdirect, H5FDfamily, H5FDint, H5FDlog, "+-
"H5FDmpi, H5FDmpio, H5FDmulti, H5FDsec2, H5FDspace, H5FDstdio, H5FDwindows,"+-
"H5Fefc, H5Ffake, H5Fio, H5FL, H5Fmount, H5Fmpi, H5FO, H5Fquery, H5FS, H5FScache, H5FSdbg,"+-
"H5Fsfile, H5FSsection, H5FSstat, H5FStest, H5Fsuper, H5Fsuper_cache, H5Ftest,"+-
"H5Gbtree2, H5G, H5Gcache, H5Gcompact, H5Gdense, H5Gdeprec, H5Gent, H5Gint, H5Glink, H5Gloc,"+-
"H5Gname, H5Gnode, H5Gobj, H5Goh, H5Groot, H5Gstab, H5Gtest, H5Gtraverse,"+-
"H5HFbtree2, H5HF, H5HFcache, H5HFdbg, H5HFdblock, H5HFdtable, H5HFhdr, H5HFhuge, H5HFiblock,"+-
"H5HFiter, H5HFman, H5HFsection, H5HFspace, H5HFstat, H5HFtest, H5HFtiny,"+-
"H5HG, H5HGcache, H5HGdbg, H5HGquery, H5HL, H5HLcache, H5HLdbg, H5HLint, H5HP, H5I, H5Itest, H5L, H5Lexternal"
$ cobj1= "H5MFaggr, H5MF, H5MFdbg, H5MFsection, H5MM,"+-
"H5MP, H5MPtest, H5Oainfo, H5Oalloc, H5Oattr, H5Oattribute, H5Obogus, H5Obtreek,"+-
"H5O, H5Ocache, H5Ochunk, H5Ocont, H5Ocopy, H5Odbg, H5Odrvinfo, H5Odtype, H5Oefl, H5Ofill, H5Ofsinfo,"+-
"H5Oginfo, H5Olayout, H5Olinfo, H5Olink, H5Omessage, H5Omtime, H5Oname, H5Onull, H5Opline,"+-
"H5Orefcount, H5Osdspace, H5Oshared, H5Oshmesg, H5Ostab, H5Otest, H5Ounknown,"+-
"H5Pacpl, H5P, H5Pdapl, H5Pdcpl, H5Pdeprec, H5Pdxpl, H5Pencdec, H5Pfapl, H5Pfcpl, H5Pfmpl, H5Pgcpl, H5Pint,"+-
"H5Plapl, H5Plcpl, H5Pocpl, H5Pocpypl, H5Pstrcpl, H5Ptest,"+-
"H5R, H5UC, H5Rdeprec, H5RS, H5Sall, H5S, H5Sdbg, H5Shyper, H5SL, H5SMbtree2, H5SM, H5SMcache,"+-
"H5SMmessage, H5Smpio, H5SMtest, H5Snone, H5Spoint, H5Sselect, H5ST, H5Stest,"+-
"H5Tarray, H5Tbit, H5T, H5Tcommit, H5Tcompound, H5Tconv, H5Tcset, H5Tdbg, H5Tdeprec, H5Tenum,"+-
"H5Tfields, H5Tfixed, H5Tfloat, H5Tinit, H5Tnative, H5Toffset, H5Toh, H5Topaque, H5Torder,"+-
"H5Tpad, H5Tprecis, H5TS, H5Tstrpad, H5Tvisit, H5Tvlen, H5V, H5WB, H5Z,"+-
"H5Zdeflate, H5Zfletcher32, H5Znbit, H5Zscaleoffset, H5Zshuffle, H5Zszip, H5Ztrans"
$!
$ ccc 'cobj
$ ccc 'cobj1
$ library/create []hdf5
$ library/insert []hdf5 'cobj
$ library/insert []hdf5 'cobj1
$ type sys$input
Done
$!

View File

@ -1,22 +0,0 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* If you are reading this file and it has a '.h' suffix, it was automatically
* generated from the '.in' version. Make changes there. But for OpenVMS, this
* file is created by hand.
*/
/* Set the 'srcdir' path from configure time */
static const char *config_srcdir = "[-.test]";

View File

@ -1,271 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Run HDF5 C tests
$!
$ type sys$input
Running tests
$! define sys$output check_vms.out
$
$ type sys$input
------- Running testhdf5 -------
$ run testhdf5
$ type sys$input
$ type sys$input
------- Running accum -------
$ run accum
$ type sys$input
$ type sys$input
------- Running app_ref -------
$ run app_ref
$ type sys$input
$ type sys$input
------- Running big -------
$ run big
$ type sys$input
$ type sys$input
------- Running bittests -------
$ run bittests
$ type sys$input
$ type sys$input
------- Running btree2 -------
$ run btree2
$ type sys$input
$ type sys$input
------- Running cache_api -------
$ run cache_api
$ type sys$input
$ type sys$input
------- Running cache -------
$ run cache
$ type sys$input
$ type sys$input
------- Running cache_tagging -------
$ run cache_tagging
$ type sys$input
$ type sys$input
------- Running chunk_info -------
$ run chunk_info
$ type sys$input
$ type sys$input
------- Running cmpd_dset -------
$ run cmpd_dset
$ type sys$input
$ type sys$input
------- Running cross_read -------
$ run cross_read
$ type sys$input
$ type sys$input
------- Running dangle -------
$ run dangle
$ type sys$input
$ type sys$input
------- Running dsets -------
$ run dsets
$ type sys$input
$ type sys$input
------- Running dt_arith -------
$ run dt_arith
$ type sys$input
$ type sys$input
------- Running dtransform -------
$ run dtransform
$ type sys$input
$ type sys$input
------- Running dtypes -------
$ run dtypes
$ type sys$input
$ type sys$input
------- Running earray -------
$ run earray
$ type sys$input
$! Skip this test for now because it opens the same file many times.
$! Please see Issue 7620 in Jira about it.
$! type sys$input
$! ------- Running efc -------
$! run efc
$! type sys$input
$ type sys$input
------- Running enum -------
$ run enum
$ type sys$input
$ type sys$input
------- Running extend -------
$ run extend
$ type sys$input
$ type sys$input
------- Running external -------
$ run external
$ type sys$input
$ type sys$input
------- Running fheap -------
$ run fheap
$ type sys$input
$ type sys$input
------- Running fillval -------
$ run fillval
$ type sys$input
$ type sys$input
------- Running filter_fail -------
$ run filter_fail
$ type sys$input
$ type sys$input
------- Running flush1 -------
$ run flush1
$ type sys$input
$ type sys$input
------- Running flush2 -------
$ run flush2
$ type sys$input
$ type sys$input
------- Running freespace -------
$ run freespace
$ type sys$input
$ type sys$input
------- Running getname -------
$ run getname
$ type sys$input
$ type sys$input
------- Running gheap -------
$ run gheap
$ type sys$input
$ type sys$input
------- Running hyperslab -------
$ run hyperslab
$ type sys$input
$ type sys$input
------- Running istore -------
$ run istore
$ type sys$input
$ type sys$input
------- Running lheap -------
$ run lheap
$ type sys$input
$ type sys$input
------- Running links -------
$ run links
$ type sys$input
$ type sys$input
------- Running links_env -------
$ run links_env
$ type sys$input
$ type sys$input
------- Running mf -------
$ run mf
$ type sys$input
$ type sys$input
------- Running mount -------
$ run mount
$ type sys$input
$ type sys$input
------- Running mtime -------
$ run mtime
$ type sys$input
$ type sys$input
------- Running ntypes -------
$ run ntypes
$ type sys$input
$ type sys$input
------- Running objcopy -------
$ run objcopy
$ type sys$input
$ type sys$input
------- Running ohdr -------
$ run ohdr
$ type sys$input
$ type sys$input
------- Running pool -------
$ run pool
$ type sys$input
$ type sys$input
------- Running reserved -------
$ run reserved
$ type sys$input
$ type sys$input
------- Running set_extent -------
$ run set_extent
$ type sys$input
$ type sys$input
------- Running space_overflow -------
$ run space_overflow
$ type sys$input
$ type sys$input
------- Running stab -------
$ run stab
$ type sys$input
$ type sys$input
------- Running testmeta -------
$ run testmeta
$ type sys$input
$ type sys$input
------- Running unlink -------
$ run unlink
$ type sys$input
$ type sys$input
------- Running vfd -------
$ run vfd
$ type sys$input
------- Testing completed -------
$ exit

View File

@ -1,358 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 library tests
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=(_LARGEFILE,H5_VMS)/include=zlib_dir"
$!
$ ccc := cc 'ccopt /include=([-.src])
$ type sys$input
Creating testhdf5
$!
$ cobj= "h5test.c, testframe.c, testhdf5.c, tarray.c, tattr.c, tcheck_version., tchecksum.c,"+-
"tconfig.c, tcoords.c, tfile.c, tgenprop.c, th5o.c, th5s.c, theap.c, tid.c,"+-
"titerate.c, tmeta.c, tmisc.c, trefer.c, trefstr.c, tselect.c, tskiplist.c,"+-
"tsohm.c, ttime.c, ttst.c, tunicode.c, tvlstr.c, tvltypes.c, cache_common.c"
$!
$ ccc 'cobj
$ library/create/replace []libh5test h5test, testframe, cache_common
$ type sys$input
Creating libh5test
$ link testhdf5,tarray,tattr,tcheck_version,tchecksum,tconfig, -
tcoords,tfile,tgenprop,th5o,th5s,theap,tid,titerate, -
tmeta,tmisc,trefer,trefstr, -
tselect,tskiplist,tsohm,ttime,ttst,tunicode,tvlstr,tvltypes, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$
$! a new test
$ type sys$input
Creating accum test
$ ccc accum
$ link accum, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating app_ref test
$ ccc app_ref
$ link app_ref, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating big test
$ ccc big
$ link big, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating bittests test
$ ccc bittests
$ link bittests, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating btree2 test
$ ccc btree2
$ link btree2, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating cache_api test
$ ccc cache_api
$ link cache_api, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating cache test
$ ccc cache
$ link cache, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating cache_common test
$ ccc cache_common
$ link cache_common, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$! a new test
$ type sys$input
Creating cache_tagging tests
$ ccc cache_tagging
$ link cache_tagging, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating chunk_info test
$ ccc chunk_info
$ link chunk_info, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating cmpd_dset test
$ ccc cmpd_dset
$ link cmpd_dset, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating cross_read test
$ ccc cross_read
$ link cross_read, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating dangle test
$ ccc dangle
$ link dangle, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating dsets tests
$ ccc dsets
$ link dsets, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating dt_arith test
$ ccc dt_arith
$ link dt_arith, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating dtransform test
$ ccc dtransform
$ link dtransform, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating dtypes test
$ ccc dtypes
$ link dtypes, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating earray test
$ ccc earray
$ link earray, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating efc test
$ ccc efc
$ link efc, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating enum test
$ ccc enum
$ link enum, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating err_compat test
$ ccc err_compat
$ link err_compat, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating error_test test
$ ccc error_test
$ link error_test, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating extend test
$ ccc extend
$ link extend, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating external test
$ ccc external
$ link external, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating fheap test
$ ccc fheap
$ link fheap, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating fillval test
$ ccc fillval
$ link fillval, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$! a new test
$ type sys$input
Creating filter_fail test
$ ccc filter_fail
$ link filter_fail, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating flush1 test
$ ccc flush1
$ link flush1, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating flush2 test
$ ccc flush2
$ link flush2, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating freespace test
$ ccc freespace
$ link freespace, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating getname test
$ ccc getname
$ link getname, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating gheap test
$ ccc gheap
$ link gheap, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating hyperslab test
$ ccc hyperslab
$ link hyperslab, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating istore test
$ ccc istore
$ link istore, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating lheap test
$ ccc lheap
$ link lheap, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating links test
$ ccc links
$ link links, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$! a new test
$ type sys$input
Creating links_env test
$ ccc links_env
$ link links_env, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating mf test
$ ccc mf
$ link mf, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating mount test
$ ccc mount
$ link mount, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating mtime test
$ ccc mtime
$ link mtime, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating ntypes test
$ ccc ntypes
$ link ntypes, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating objcopy test
$ ccc objcopy
$ link objcopy, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating ohdr test
$ ccc ohdr
$ link ohdr, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating pool test
$ ccc pool
$ link pool, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating reserved test
$ ccc reserved
$ link reserved, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating set_extent test
$ ccc set_extent
$ link set_extent, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$! a new test
$ type sys$input
Creating space_overflow test
$ ccc space_overflow
$ link space_overflow, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating stab test
$ ccc stab
$ link stab, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$! a new test
$ type sys$input
Creating testmeta test
$ ccc testmeta
$ link testmeta, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating unlink test
$ ccc unlink
$ link unlink, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating vfd test
$ ccc vfd
$ link vfd, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Done with tests compilation
$ exit

View File

@ -1,110 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$ !
$ ! This command file tests h5copy utility. The command file has to
$ ! run in the [hdf5-top.tools.h5copy.testfiles] directory.
$ !
$ type sys$input
===================================
Testing h5copy utiltity
===================================
$ !
$ ! Define h5copy symbols
$ !
$ current_dir = F$DIRECTRY()
$ len = F$LENGTH(current_dir)
$ temp = F$EXTRACT(0, len-11, current_dir)
$ h5copy_dir = temp + "]"
$ h5copy :== $sys$disk:'h5copy_dir'h5copy.exe
$ !
$ !
$ ! h5copy tests
$ !
$
$ !# copy files
$ write sys$output "Test copying various forms of datasets"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s simple -d simple"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s chunk -d chunk"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compact -d compact"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compound -d compound"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compressed -d compressed"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s named_vl -d named_vl"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s nested_vl -d nested_vl"
$ !
$ write sys$output " "
$ write sys$output "Test copying dataset within group in source file to root of destination"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_dsets/simple -d simple_top"
$ write sys$output " "
$ write sys$output "Test copying & renaming dataset"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s compound -d rename"
$!
$ write sys$output " "
$ write sys$output "Test copying empty, 'full' & 'nested' groups"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_empty -d grp_empty"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_dsets -d grp_dsets"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s grp_nested -d grp_nested"
$!
$ write sys$output " "
$ write sys$output "Test copying dataset within group in source file to group in destination"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -v -s /grp_dsets/simple -d /grp_dsets/simple_group"
$! write sys$output "Test copying & renaming group"
$! CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -v -s grp_dsets -d grp_rename
$! write sys$output "Test copying full group hierarchy into group in destination file"
$! CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -v -s grp_dsets -d /grp_rename/grp_dsets"
$!
$ write sys$output " "
$ write sys$output "Test copying objects into group hier. that doesn't exist yet in destination file"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -vp -s simple -d /A/B1/simple"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -vp -s simple -d /A/B2/simple2"
$ CALL TOOLTEST "-i h5copytst.h5 -o out.h5 -vp -s /grp_dsets/simple -d /C/D/simple"
$!CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -vp -s /grp_dsets -d /E/F/grp_dsets"
$!CALL TOOLTEST_FAIL "-i h5copytst.h5 -o out.h5 -vp -s /grp_nested -d /G/H/grp_nested"
$!
$ del *out.h5;*
$ !
$TOOLTEST: SUBROUTINE
$
$ begin = "Testing h5copy"
$ !
$ ! Run the test and save output in the 'actual' file
$ !
$ define/nolog sys$error h5copy_temp.err
$ ON ERROR THEN CONTINUE
$ h5copy 'P1
$ deassign sys$error
$ if F$SEARCH("h5copy_temp.err") .EQS. ""
$ then
$ result = "PASSED"
$ line = F$FAO("!16AS !53AS !70AS", begin, P1, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!16AS !52AS !69AS", begin, P1, result)
$ endif
$ !
$ ! Delete error file if any print test result
$ !
$ if F$SEARCH ("*.err;*") .NES. ""
$ then
$ del *.err;*
$ endif
$ !
$ write sys$output line
$ !
$ENDSUBROUTINE

View File

@ -1,40 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make h5copy tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib], [-.-.test])
$ type sys$input
Creating h5copy
$!
$ cobj= " h5copy "
$!
$ ccc 'cobj
$ type sys$input
$ link/exe=h5copy.exe -
h5copy, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5copy
$!
$!
$ exit

View File

@ -1,337 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$ !
$ ! This command file tests h5diff utility. The command file has to
$ ! run in the [hdf5-top.tools.h5diff.testfiles] directory.
$ !
$ !
$ type sys$input
===================================
Testing h5diff utiltity
===================================
$ ! Define h5diff symbol
$ !
$! set message/notext/nofacility/noidentification/noseverity
$ current_dir = F$DIRECTRY()
$ len = F$LENGTH(current_dir)
$ temp = F$EXTRACT(0, len-11, current_dir)
$ h5diff_dir = temp + "]"
$ h5diff :== $sys$disk:'h5diff_dir'h5diff.exe
$ !
$ !
$ ! h5diff tests
$ !
$
$!# 1.0
$ CALL TOOLTEST h5diff_10.txt "-h"
$!
$!# 1.1 normal mode
$ CALL TOOLTEST h5diff_11.txt "h5diff_basic1.h5 h5diff_basic2.h5"
$!
$!# 1.2 normal mode with objects
$ CALL TOOLTEST h5diff_12.txt "h5diff_basic1.h5 h5diff_basic2.h5 g1/dset1 g1/dset2"
$!
$!# 1.3 report mode
$ CALL TOOLTEST h5diff_13.txt "-r h5diff_basic1.h5 h5diff_basic2.h5"
$!
$!# 1.4 report mode with objects
$ CALL TOOLTEST h5diff_14.txt "-r h5diff_basic1.h5 h5diff_basic2.h5 g1/dset1 g1/dset2"
$!
$!# 1.5 with -d
$ CALL TOOLTEST h5diff_15.txt " --report --delta=5 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 1.6.1 with -p (int)
$ CALL TOOLTEST h5diff_16_1.txt "-v -p 0.02 h5diff_basic1.h5 h5diff_basic1.h5 g1/dset5 g1/dset6"
$!
$!# 1.6.2 with -p (unsigned long long)
$ CALL TOOLTEST h5diff_16_2.txt "--verbose --relative=0.02 h5diff_basic1.h5 h5diff_basic1.h5 g1/dset7 g1/dset8"
$!
$!# 1.6.3 with -p (int)
$ CALL TOOLTEST h5diff_16_3.txt "-v -p 0.02 h5diff_basic1.h5 h5diff_basic1.h5 g1/dset9 g1/dset10"
$!
$!# 1.7 verbose mode
$ CALL TOOLTEST h5diff_17.txt "-v h5diff_basic1.h5 h5diff_basic2.h5"
$!
$!# 1.8 quiet mode
$ CALL TOOLTEST h5diff_18.txt "-q h5diff_basic1.h5 h5diff_basic2.h5"
$!
$!
$!# ##############################################################################
$!# # not comparable types
$!# ##############################################################################
$!
$!# 2.0
$ CALL TOOLTEST h5diff_20.txt "-v h5diff_types.h5 h5diff_types.h5 dset g1"
$
$!# 2.1
$ CALL TOOLTEST h5diff_21.txt "-v h5diff_types.h5 h5diff_types.h5 dset l1"
$!
$!# 2.2
$ CALL TOOLTEST h5diff_22.txt "-v h5diff_types.h5 h5diff_types.h5 dset t1"
$!
$!# ##############################################################################
$!# # compare groups, types, links (no differences and differences)
$!# ##############################################################################
$!
$!# 2.3
$ CALL TOOLTEST h5diff_23.txt "-v h5diff_types.h5 h5diff_types.h5 g1 g1"
$!
$!# 2.4
$ CALL TOOLTEST h5diff_24.txt "-v h5diff_types.h5 h5diff_types.h5 t1 t1"
$!
$!# 2.5
$ CALL TOOLTEST h5diff_25.txt "-v h5diff_types.h5 h5diff_types.h5 l1 l1"
$!
$!# 2.6
$ CALL TOOLTEST h5diff_26.txt "-v h5diff_types.h5 h5diff_types.h5 g1 g2"
$!
$!# 2.7
$ CALL TOOLTEST h5diff_27.txt "-v h5diff_types.h5 h5diff_types.h5 t1 t2"
$!
$!# 2.8
$ CALL TOOLTEST h5diff_28.txt "-v h5diff_types.h5 h5diff_types.h5 l1 l2"
$!
$!
$!
$!# ##############################################################################
$!# # Dataset types
$!# ##############################################################################
$
$!# 5.0
$ CALL TOOLTEST h5diff_50.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset0a dset0b"
$!
$!# 5.1
$ CALL TOOLTEST h5diff_51.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset1a dset1b"
$!
$!# 5.2
$ CALL TOOLTEST h5diff_52.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset2a dset2b"
$!
$!# 5.3
$ CALL TOOLTEST h5diff_53.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset3a dset4b"
$!
$!# 5.4
$ CALL TOOLTEST h5diff_54.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset4a dset4b"
$!
$!# 5.5
$ CALL TOOLTEST h5diff_55.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset5a dset5b"
$!
$!# 5.6
$ CALL TOOLTEST h5diff_56.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset6a dset6b"
$!
$!# 5.7
$ CALL TOOLTEST h5diff_57.txt "-v h5diff_dtypes.h5 h5diff_dtypes.h5 dset7a dset7b"
$!
$!# 5.8 (region reference)
$ CALL TOOLTEST h5diff_58.txt "-v h5diff_dset1.h5 h5diff_dset2.h5 refreg"
$!
$!# ##############################################################################
$!# # Error messages
$!# ##############################################################################
$!
$!
$!# 6.0: Check if the command line number of arguments is less than 3
$ CALL TOOLTEST h5diff_600.txt "h5diff_basic1.h5"
$!
$!# ##############################################################################
$!# # -d
$!# ##############################################################################
$!
$!
$!# 6.3: negative value
$ CALL TOOLTEST h5diff_603.txt "-d -4 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.4: zero
$ CALL TOOLTEST h5diff_604.txt "-d 0 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.5: non number
$ CALL TOOLTEST h5diff_605.txt "-d u h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.6: hexadecimal
$ CALL TOOLTEST h5diff_606.txt "-d 0x1 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.7: string
$ CALL TOOLTEST h5diff_607.txt "-d """1""" h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.8: repeated option
$ CALL TOOLTEST h5diff_608.txt "-d 1 -d 2 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.9: number larger than biggest difference
$ CALL TOOLTEST h5diff_609.txt "-d 200 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.10: number smaller than smallest difference
$ CALL TOOLTEST h5diff_610.txt "-d 1 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!
$!# ##############################################################################
$!# # -p
$!# ##############################################################################
$!
$!
$!
$!# 6.12: negative value
$ CALL TOOLTEST h5diff_612.txt "-p -4 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.13: zero
$ CALL TOOLTEST h5diff_613.txt "-p 0 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.14: non number
$ CALL TOOLTEST h5diff_614.txt "-p u h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.15: hexadecimal
$ CALL TOOLTEST h5diff_615.txt "-p 0x1 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.16: string
$! CALL TOOLTEST h5diff_616.txt "-p """0.21""" h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.17: repeated option
$ CALL TOOLTEST h5diff_617.txt "-p 0.21 -p 0.22 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.18: number larger than biggest difference
$ CALL TOOLTEST h5diff_618.txt "-p 2 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.19: number smaller than smallest difference
$ CALL TOOLTEST h5diff_619.txt "-p 0.005 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!
$!
$!# ##############################################################################
$!# # -n
$!# ##############################################################################
$!
$!
$!
$!# 6.21: negative value
$ CALL TOOLTEST h5diff_621.txt "-n -4 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.22: zero
$ CALL TOOLTEST h5diff_622.txt "-n 0 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.23: non number
$ CALL TOOLTEST h5diff_623.txt "-n u h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.24: hexadecimal
$ CALL TOOLTEST h5diff_624.txt "-n 0x1 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.25: string
$ CALL TOOLTEST h5diff_625.txt "-n """2""" h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.26: repeated option
$ CALL TOOLTEST h5diff_626.txt "-n 2 -n 3 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.27: number larger than biggest difference
$ CALL TOOLTEST h5diff_627.txt "--count=200 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# 6.28: number smaller than smallest difference
$ CALL TOOLTEST h5diff_628.txt "-n 1 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4"
$!
$!# ##############################################################################
$!# 6.29 non valid files
$!# ##############################################################################
$! This test is disabled in the C test script.
$! CALL TOOLTEST h5diff_629.txt "file1.h6 file2.h6"
$!
$!# ##############################################################################
$!# 7. attributes
$!# ##############################################################################
$!
$ CALL TOOLTEST h5diff_70.txt "-v h5diff_attr1.h5 h5diff_attr2.h5"
$!
$!# ##############################################################################
$!# 8. all dataset datatypes
$!# ##############################################################################
$!
$ CALL TOOLTEST h5diff_80.txt "-v h5diff_dset1.h5 h5diff_dset2.h5"
$!
$!# 9. compare a file with itself
$!
$ CALL TOOLTEST h5diff_90.txt "-v h5diff_basic2.h5 h5diff_basic2.h5"
$!
$! 10. read by hyperslab, print indexes
$ CALL TOOLTEST h5diff_100.txt "-v h5diff_hyper1.h5 h5diff_hyper2.h5"
$!
$! 11. floating point comparison
$ CALL TOOLTEST h5diff_101.txt "-v h5diff_basic1.h5 h5diff_basic1.h5 g1/d1 g1/d2"
$ CALL TOOLTEST h5diff_102.txt "-v h5diff_basic1.h5 h5diff_basic1.h5 g1/fp1 g1/fp2"
$!
$!
$!
$TOOLTEST: SUBROUTINE
$
$ len = F$LENGTH(P1)
$ base = F$EXTRACT(0,len-3,P1)
$ actual = base + "h5diffout"
$ actual_err = base + "h5differr"
$
$ begin = "Testing h5diff "
$ !
$ ! Run the test and save output in the 'actual' file
$ !
$ define/nolog sys$output 'actual'
$ define/nolog sys$error 'actual_err'
$ ON ERROR THEN CONTINUE
$ h5diff 'P2
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ set message/notext/nofacility/noidentification/noseverity
$ append 'actual_err' 'actual'
$ set message/text/facility/identification/severity
$ endif
$ !
$ ! Compare the results
$ !
$ diff/output=h5diff_temp/ignore=(spacing,trailing_spaces,blank_lines) 'actual' 'P1'
$ open/read temp_out h5diff_temp.dif
$ read temp_out record1
$ close temp_out
$ !
$ ! Extract error code and format output line
$ !
$ len = F$LENGTH(record1)
$ err_code = F$EXTRACT(len-1,1,record1)
$ if err_code .eqs. "0"
$ then
$ result = "PASSED"
$ line = F$FAO("!15AS !50AS !70AS", begin, P2, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!15AS !49AS !69AS", begin, P2, result)
$ endif
$ !
$ ! Print test result
$ !
$ write sys$output line
$ !
$ ! Append the result to the log file
$ !
$ append/new_version h5diff_temp.dif h5diff.log
$ append/new_version 'actual' h5diff_output.txt
$ !
$ ! Delete temporary files
$ !
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ del *.h5differr;*
$ endif
$ del *.h5diffout;*
$ del h5diff_temp.dif;*
$ !
$ENDSUBROUTINE

View File

@ -1,48 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VAX/VMX systems.
$!
$! Make h5diff tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib])
$!
$ cobj= "h5diff_main, h5diff_common, h5diffgentest"
$!
$ ccc 'cobj
$ type sys$input
Creating h5diffgentest ...
$ link/exe=h5diffgentest.exe -
h5diffgentest, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5difftest
$
$ type sys$input
Creating h5diff ...
$ link/exe=h5diff.exe -
h5diff_main, h5diff_common, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5diff
$!
$ exit

View File

@ -1,353 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$ !
$ ! This command file tests h5dump utility. The command file has to
$ ! run in the [hdf5-top.tools.testfiles] directory.
$ !
$ type sys$input
===================================
Testing h5dump utiltity
===================================
$
$ !
$ ! Define h5dump symbol
$ !
$! set message/notext/nofacility/noidentification/noseverity
$ current_dir = F$DIRECTRY()
$ len = F$LENGTH(current_dir)
$ temp = F$EXTRACT(0, len-10, current_dir)
$ h5dump_dir = temp + "H5DUMP]"
$ h5dump :== $sys$disk:'h5dump_dir'h5dump.exe
$ !
$ ! h5dump tests
$ !
$
$
$
$ ! Test for displaying groups
$ CALL TOOLTEST tgroup-1.ddl "tgroup.h5"
$ ! Test for displaying the selected groups
$ CALL TOOLTEST tgroup-2.ddl "--group=/g2 --group / -g /y tgroup.h5"
$ ! Test for displaying simple space datasets
$ CALL TOOLTEST tdset-1.ddl "tdset.h5"
$ ! Test for displaying selected datasets
$ CALL TOOLTEST tdset-2.ddl "-"""H""" -d dset1 -d /dset2 --dataset=dset3 tdset.h5"
$ ! Test for displaying attributes
$ CALL TOOLTEST tattr-1.ddl "tattr.h5"
$ ! Test for displaying the selected attributes of string type and scalar space
$ CALL TOOLTEST tattr-2.ddl "-a /attr1 --attribute /attr4 --attribute=/attr5 tattr.h5"
$ ! Test for header and error messages
$ CALL TOOLTEST tattr-3.ddl "--header -a /attr2 --attribute=/attr tattr.h5"
$ ! Test for displaying attributes in shared datatype (also in group and dataset)
$ CALL TOOLTEST tnamed_dtype_attr.ddl "tnamed_dtype_attr.h5"
$
$ ! Test for displaying soft links
$ CALL TOOLTEST tslink-1.ddl "tslink.h5"
$ ! Test for displaying the selected link
$ CALL TOOLTEST tslink-2.ddl "-l slink2 tslink.h5"
$
$ ! Tests for hard links
$ CALL TOOLTEST thlink-1.ddl "thlink.h5"
$ CALL TOOLTEST thlink-2.ddl "-d /g1/dset2 --dataset /dset1 --dataset=/g1/g1.1/dset3 thlink.h5"
$ CALL TOOLTEST thlink-3.ddl "-d /g1/g1.1/dset3 --dataset /g1/dset2 --dataset=/dset1 thlink.h5"
$ CALL TOOLTEST thlink-4.ddl "-g /g1 thlink.h5"
$ CALL TOOLTEST thlink-5.ddl "-d /dset1 -g /g2 -d /g1/dset2 thlink.h5"
$
$ ! Tests for compound data types
$ CALL TOOLTEST tcomp-1.ddl "tcompound.h5"
$ ! test for named data types
$ CALL TOOLTEST tcomp-2.ddl "-t /type1 --datatype /type2 --datatype=/group1/type3 tcompound.h5"
$ ! Test for unamed type
$ CALL TOOLTEST tcomp-3.ddl "-t /#6632 -g /group2 tcompound.h5"
$ ! Test complicated compound datatype
$ CALL TOOLTEST tcomp-4.ddl "tcompound_complex.h5"
$
$ ! Test for the nested compound type
$ CALL TOOLTEST tnestcomp-1.ddl "tnestedcomp.h5"
$
$ ! test for options
$ CALL TOOLTEST tall-1.ddl "tall.h5"
$ CALL TOOLTEST tall-2.ddl "--header -g /g1/g1.1 -a attr2 tall.h5"
$ CALL TOOLTEST tall-3.ddl "-d /g2/dset2.1 -l /g1/g1.2/g1.2.1/slink tall.h5"
$
$ ! Test for loop detection
$ CALL TOOLTEST tloop-1.ddl "tloop.h5"
$
$ ! Test for string
$ CALL TOOLTEST tstr-1.ddl "tstr.h5"
$ CALL TOOLTEST tstr-2.ddl "tstr2.h5"
$
$ ! Test for file created by Lib SAF team
$ CALL TOOLTEST tsaf.ddl "tsaf.h5"
$
$ ! Test for file with variable length data
$ CALL TOOLTEST tvldtypes1.ddl "tvldtypes1.h5"
$ CALL TOOLTEST tvldtypes2.ddl "tvldtypes2.h5"
$ CALL TOOLTEST tvldtypes3.ddl "tvldtypes3.h5"
$ CALL TOOLTEST tvldtypes4.ddl "tvldtypes4.h5"
$ CALL TOOLTEST tvldtypes5.ddl "tvldtypes5.h5"
$
$ ! Test for file with variable length string data
$ CALL TOOLTEST tvlstr.ddl "tvlstr.h5"
$
$ ! Test for files with array data
$ CALL TOOLTEST tarray1.ddl "tarray1.h5"
$ CALL TOOLTEST tarray2.ddl "tarray2.h5"
$ CALL TOOLTEST tarray3.ddl "tarray3.h5"
$ CALL TOOLTEST tarray4.ddl "tarray4.h5"
$ CALL TOOLTEST tarray5.ddl "tarray5.h5"
$ CALL TOOLTEST tarray6.ddl "tarray6.h5"
$ CALL TOOLTEST tarray7.ddl "tarray7.h5"
$
$ ! Test for files with empty data
$ CALL TOOLTEST tempty.ddl "tempty.h5"
$
$ ! Test for files with groups that have comments
$ CALL TOOLTEST tgrp_comments.ddl "tgrp_comments.h5"
$
$ ! Test the --filedriver flag
$ CALL TOOLTEST tsplit_file.ddl "--filedriver=split tsplit_file"
$ CALL TOOLTEST tfamily.ddl "--filedriver=family tfamily%05d.h5"
$ CALL TOOLTEST tmulti.ddl "--filedriver=multi tmulti"
$
$ ! Test for files with group names which reach > 1024 bytes in size
$ CALL TOOLTEST tlarge_objname.ddl "-w157 tlarge_objname.h5"
$
$ ! Test '-A' to suppress data but print attr's
$ CALL TOOLTEST tall-2A.ddl "-"""A""" tall.h5"
$
$ ! Test '-r' to print attributes in ASCII instead of decimal
$ CALL TOOLTEST tall-2B.ddl "-"""A""" -r tall.h5"
$
$ ! Test Subsetting
$ CALL TOOLTEST tall-4s.ddl "--dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 --count=3,2 --block=1,1 tall.h5"
$ CALL TOOLTEST tall-5s.ddl "-d /g1/g1.1/dset1.1.2[0;2;10;] tall.h5"
$ CALL TOOLTEST tdset-3s.ddl "-d /dset1[1,1;;;] tdset.h5"
$! CALL TOOLTEST tdset-3s.ddl "-d """/"dset"1[;3,2;4,4;1,4]""" tdset2.h5"
$
$ ! Test printing characters in ASCII instead of decimal
$ CALL TOOLTEST tchar1.ddl "-r tchar.h5"
$
$ ! Test failure handling
$ ! Missing file name
$ CALL TOOLTEST "tnofilename.ddl"
$
$ ! rev. 2004
$
$ ! Tests for super block
$ CALL TOOLTEST tboot1.ddl "-"""H""" -"""B""" -d dset tfcontents1.h5"
$ CALL TOOLTEST tboot2.ddl "-"""B""" tfcontents2.h5"
$
$ ! Test -p with a non existing dataset
$ CALL TOOLTEST tperror.ddl "-p -d bogus tfcontents1.h5"
$
$ ! Test for file contents
$ CALL TOOLTEST tcontents.ddl "-n tfcontents1.h5"
$
$ ! Tests for storage layout
$ ! Compact
$ CALL TOOLTEST tcompact.ddl "-"""H""" -p -d compact tfilters.h5"
$ ! Contiguous
$ CALL TOOLTEST tcontiguos.ddl "-"""H""" -p -d contiguous tfilters.h5"
$ ! Chunked
$ CALL TOOLTEST tchunked.ddl "-"""H""" -p -d chunked tfilters.h5"
$ ! External
$ CALL TOOLTEST texternal.ddl "-"""H""" -p -d external tfilters.h5"
$
$ ! Fill values
$ CALL TOOLTEST tfill.ddl "-p tfvalues.h5"
$
$ ! Several datatype, with references , print path
$ CALL TOOLTEST treference.ddl "tattr2.h5"
$
$ ! Escape/not escape non printable characters
$ CALL TOOLTEST tstringe.ddl "-e tstr3.h5"
$ CALL TOOLTEST tstring.ddl "tstr3.h5"
$ ! Char data as ASCII with non escape
$ CALL TOOLTEST tstring2.ddl "-r -d str4 tstr3.h5"
$
$ ! Array indices print/not print
$ CALL TOOLTEST tindicesyes.ddl "taindices.h5"
$ CALL TOOLTEST tindicesno.ddl "-y taindices.h5"
$ ! User defined
$ CALL TOOLTEST tuserfilter.ddl "-"""H""" -p -d myfilter tfilters.h5"
$
$ ! Test for displaying dataset and attribute of null space
$ CALL TOOLTEST tnullspace.ddl "tnullspace.h5"
$
$ ! Test for displaying objects with very long names
$ !CALL TOOLTEST tlonglinks.ddl "tlonglinks.h5"
$
$ ! Test for long double (some systems do not have long double)
$ ! CALL TOOLTEST tldouble.ddl "tldouble.h5"
$
$ ! Test for vms
$ CALL TOOLTEST tvms.ddl "tvms.h5"
$
$ !test for binary output
$ CALL TOOLTEST1 tbin1.ddl "-d integer -o out1.bin -b """LE""" tbinary.h5"
$ CALL TOOLTEST1 tbin2.ddl "-d float -o out2.bin -b """BE""" tbinary.h5"
$ CALL TOOLTEST1 tbin4.ddl "-d double -o out4.bin -b """FILE""" tbinary.h5"
$
$ ! Test for dataset region references
$ CALL TOOLTEST tdatareg.ddl "tdatareg.h5"
$
$ ! tests for group creation order "1" tracked, "2" name, root tracked
$ CALL TOOLTEST tordergr1.ddl "--group=1 --sort_by=creation_order --sort_order=ascending tordergr.h5"
$ CALL TOOLTEST tordergr2.ddl "--group=1 --sort_by=creation_order --sort_order=descending tordergr.h5"
$ CALL TOOLTEST tordergr3.ddl "-g 2 -q name -z ascending tordergr.h5"
$ CALL TOOLTEST tordergr4.ddl "-g 2 -q name -z descending tordergr.h5"
$ CALL TOOLTEST tordergr5.ddl "-q creation_order tordergr.h5"
$
$ ! Tests for attribute order
$ CALL TOOLTEST torderattr1.ddl "-"""H""" --sort_by=name --sort_order=ascending torderattr.h5"
$ CALL TOOLTEST torderattr2.ddl "-"""H""" --sort_by=name --sort_order=descending torderattr.h5"
$ CALL TOOLTEST torderattr3.ddl "-"""H""" --sort_by=creation_order --sort_order=ascending torderattr.h5"
$ CALL TOOLTEST torderattr4.ddl "-"""H""" --sort_by=creation_order --sort_order=descending torderattr.h5"
$ !
$TOOLTEST: SUBROUTINE
$
$ len = F$LENGTH(P1)
$ base = F$EXTRACT(0,len-3,P1)
$ actual = base + "h5dumpout"
$ actual_err = base + "h5dumperr"
$
$ begin = "Testing h5dump "
$ !
$ ! Run the test and save output in the 'actual' file
$ !
$
$ define/nolog sys$output 'actual'
$ define/nolog sys$error 'actual_err'
$ write sys$output "#############################"
$ write sys$output "Expected output for 'h5dump ''P2''"
$ write sys$output "#############################"
$ ON ERROR THEN CONTINUE
$ h5dump 'P2
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ set message/notext/nofacility/noidentification/noseverity
$ append 'actual_err' 'actual'
$ set message/text/facility/identification/severity
$ endif
$ !
$ ! Compare the results
$ !
$ diff/output=h5dump_temp/ignore=(spacing,trailing_spaces,blank_lines) 'actual' 'P1'
$ open/read temp_out h5dump_temp.dif
$ read temp_out record1
$ close temp_out
$ !
$ ! Extract error code and format output line
$ !
$ len = F$LENGTH(record1)
$ err_code = F$EXTRACT(len-1,1,record1)
$ if err_code .eqs. "0"
$ then
$ result = "PASSED"
$ line = F$FAO("!15AS !50AS !70AS", begin, P2, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!15AS !49AS !69AS", begin, P2, result)
$ endif
$ !
$ ! Print test result
$ !
$ write sys$output line
$ !
$ ! Append the result to the log file
$ !
$ append/new_version h5dump_temp.dif h5dump.log
$ append/new_version 'actual' h5dump_output.txt
$ !
$ ! Delete temporary files
$ !
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ del *.h5dumperr;*
$ endif
$ del *.h5dumpout;*
$ del h5dump_temp.dif;*
$ !
$ENDSUBROUTINE
$
$TOOLTEST1: SUBROUTINE
$
$ len = F$LENGTH(P1)
$ base = F$EXTRACT(0,len-3,P1)
$ actual = base + "h5dumpout"
$ actual_err = base + "h5dumperr"
$
$ begin = "Testing h5dump "
$ !
$ ! Run the test and save output in the 'actual' file
$ !
$ define/nolog sys$output 'actual'
$ define/nolog sys$error 'actual_err'
$ ON ERROR THEN CONTINUE
$ h5dump 'P2
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ set message/notext/nofacility/noidentification/noseverity
$ append 'actual_err' 'actual'
$ set message/text/facility/identification/severity
$ endif
$ !
$ ! Compare the results
$ !
$ diff/output=h5dump_temp/ignore=(spacing,trailing_spaces,blank_lines) 'actual' 'P1'
$ open/read temp_out h5dump_temp.dif
$ read temp_out record1
$ close temp_out
$ !
$ ! Extract error code and format output line
$ !
$ len = F$LENGTH(record1)
$ err_code = F$EXTRACT(len-1,1,record1)
$ if err_code .eqs. "0"
$ then
$ result = "PASSED"
$ line = F$FAO("!15AS !50AS !70AS", begin, P2, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!15AS !49AS !69AS", begin, P2, result)
$ endif
$ !
$ ! Print test result
$ !
$ write sys$output line
$ !
$ ! Append the result to the log file
$ !
$ append/new_version h5dump_temp.dif h5dump.log
$ append/new_version 'actual' h5dump_output.txt
$ !
$ ! Delete temporary files
$ !
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ del *.h5dumperr;*
$ endif
$ del *.h5dumpout;*
$ del h5dump_temp.dif;*
$ !
$ENDSUBROUTINE

View File

@ -1,41 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make h5dump tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib])
$ cobj= "h5dump.c, h5dumpgentest.c "
$ ccc 'cobj
$ type sys$input
Creating h5dumpgentest ...
$ link h5dumpgentest, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5dumpgentest
$ type sys$input
Creating h5dump ...
$ link h5dump, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5dump
$!
$ exit

View File

@ -1,227 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$ !
$ ! This command file tests h5import utility. The command file has to
$ ! run in the [hdf5-top.tools.h5import.testfiles] directory.
$ !
$ !
$ type sys$input
===================================
Testing h5import utiltity
===================================
$ ! Define symbols
$ !
$
$ current_dir = F$DIRECTRY()
$ len = F$LENGTH(current_dir)
$ temp = F$EXTRACT(0, len-19, current_dir)
$ h5dump_dir = temp + "H5DUMP]"
$ h5dump :== $sys$disk:'h5dump_dir'h5dump.exe
$ h5import_dir = temp + "H5IMPORT]"
$ h5import :== $sys$disk:'h5import_dir'h5import.exe
$ h5importtest :== $sys$disk:'h5import_dir'h5importtest.exe
$ !
$ ! Define output for diff command that compares expected and actual
$ ! outputs of h5dump
$ !
$ create h5import.log
$ !
$ ! h5import tests
$ !
$ ! Run h5importtest to create input files
$ !
$ run [.-]h5importtest
$ !
$ type sys$input
Testing ASCII I32 rank 3 - Output BE
$ CALL TOOLTEST "txtin16.txt -c txtin32.conf -o" txtin32.h5
$ !
$ type sys$input
Testing ASCII I16 rank 3 - Output LE - CHUNKED - extended
$ CALL TOOLTEST "txtin16.txt -c txtin16.conf -o" txtin16.h5
$ !
$ type sys$input
Testing ASCII I8 - rank 3 - Output I8 LE-Chunked+Extended+Compressed
$ CALL TOOLTEST "txtin16.txt -c txtin8.conf -o" txtin8.h5
$ !
$ type sys$input
Testing ASCII UI32 - rank 3 - Output BE
$ CALL TOOLTEST "txtuin32.txt -c txtuin32.conf -o" txtuin32.h5
$ !
$ type sys$input
Testing ASCII UI16 - rank 2 - Output LE+Chunked+Compressed
$ CALL TOOLTEST "txtuin32.txt -c txtuin16.conf -o" txtuin16.h5
$ !
$ type sys$input
Testing ASCII F32 - rank 3 - Output LE
$ CALL TOOLTEST "txtfp32.txt -c txtfp32.conf -o" txtfp32.h5
$ !
$ type sys$input
Testing ASCII F64 - rank 3 - Output BE + CHUNKED+Extended+Compressed
$ CALL TOOLTEST "txtfp64.txt -c txtfp64.conf -o" txtfp64.h5
$ !
$ type sys$input
Testing BINARY F64 - rank 3 - Output LE+CHUNKED+Extended+Compressed
$ CALL TOOLTEST "binfp64.bin -c binfp64.conf -o" binfp64.h5
$ !
$ type sys$input
Testing BINARY I16 - rank 3 - Output order LE + CHUNKED + extended
$ CALL TOOLTEST "binin16.bin -c binin16.conf -o" binin16.h5
$ !
$ type sys$input
Testing BINARY I8 - rank 3 - Output I16LE + Chunked+Extended+Compressed
$ CALL TOOLTEST "binin8.bin -c binin8.conf -o" binin8.h5
$ !
$ type sys$input
Testing BINARY I32 - rank 3 - Output BE + CHUNKED
$ CALL TOOLTEST "binin32.bin -c binin32.conf -o" binin32.h5
$ !
$ type sys$input
Testing BINARY UI16 - rank 3 - Output byte BE + CHUNKED
$ CALL TOOLTEST "binuin16.bin -c binuin16.conf -o" binuin16.h5
$ !
$ type sys$input
Testing BINARY UI32 - rank 3 - Output LE + CHUNKED
$ CALL TOOLTEST "binuin32.bin -c binuin32.conf -o" binuin32.h5
$ !
$ type sys$input
Testing STR
$ CALL TOOLTEST "txtstr.txt -c txtstr.conf -o" txtstr.h5
$ !
$ type sys$input
Testing BINARY I8 CR LF EOF
$ CALL TOOLTEST "binin8w.bin -c binin8w.conf -o" binin8w.h5
$ !
$ type sys$input
Testing ASCII F64 - rank 1 - INPUT-CLASS TEXTFPE
$ CALL TOOLTEST "in64.txt -c textpfe.conf -o" test15.h5
$
$
$ ! Delete temporary files
$ del *_out.h5;*
$ del *.h5importtxt;*
$ del b*.h5;*
$ del txti*.h5;*
$ del *.dif;*
$ !
$
$TOOLTEST: SUBROUTINE
$
$ len = F$LENGTH(P2)
$ base = F$EXTRACT(0,len-3,P2)
$ actual = base + "_out.h5"
$ actual_dump = base + "out.h5importtxt"
$ actual_dump_err = base + "out.h5importerr"
$ expected_dump = base + ".h5importtxt"
$ expected_dump_err = base + ".h5importerr"
$
$ begin = "Testing"
$ !
$ ! Run h5import with output in the 'actual' file
$ !
$ ON ERROR THEN CONTINUE
$ h5import 'P1 'actual'
$ define/nolog sys$output 'actual_dump'
$ define/nolog sys$error 'actual_dump_err'
$ !
$ ! Dump the atual and expected files
$ !
$ h5dump 'actual'
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(actual_dump_err) .NES. ""
$ then
$ set message/notext/nofacility/noidentification/noseverity
$ append 'actual_dump_err' 'actual_dump'
$ set message/text/facility/identification/severity
$ endif
$ define/nolog sys$output 'expected_dump'
$ define/nolog sys$error 'expected_dump_err'
$ h5dump 'P2
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(expected_dump_err) .NES. ""
$ then
$ set message/notex/nofacility/noidentification/noseverity
$ append 'expected_dump_err' 'expected_dump'
$ set message/ntext/facility/identification/severity
$ endif
$ !
$ ! Compare the results
$ !
$ diff/output=h5dump_temp/ignore=(spacing,trailing_spaces,blank_lines)-
'actual_dump' -
'expected_dump'
$ open/read temp_out h5dump_temp.dif
$ !
$READ_DATA:
$ read/end_of_file=end_read temp_out record1
$ !
$ ! Skip blank lines
$ !
$ if record1 .EQS. "" then goto READ_DATA
$ !
$ ! Find record with "Number" and exit the loop
$ !
$ len = F$LENGTH(record1)
$ pos = F$LOCATE("Number", record1)
$ !
$ if pos .EQ. 0
$ then
$ err_code = F$EXTRACT(len-1,1,record1)
$ goto END_READ
$ endif
$ !
$ goto READ_DATA
$
$ !
$END_READ:
$ close temp_out
$ !
$ ! File names are different, so we allow only one difference
$ ! in h5dump
$ if err_code .eqs. "1"
$ then
$ result = "PASSED"
$ line = F$FAO("!8AS !62AS !80AS", begin, P1, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!8AS !61AS !79AS", begin, P1, result)
$ endif
$ !
$ ! Print test result
$ !
$ write sys$output line
$ !
$ ! Append the result to the log file
$ !
$ append h5dump_temp.dif h5import.log
$ !
$ !
$ !
$ ! Delete temporary files
$ !
$ if F$SEARCH(actual_dump_err) .NES. ""
$ then
$ del *out.h5importerr;*
$ endif
$ if F$SEARCH(expected_dump_err) .NES. ""
$ then
$ del *.h5importerr;*
$ endif
$ENDSUBROUTINE

View File

@ -1,46 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make h5import tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib])
$ type sys$input
Creating h5import ...
$!
$ cobj= "h5import, h5importtest "
$!
$ ccc 'cobj
$ link h5import,-
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5import
$!
$ type sys$input
Creating h5importtest ...
$ link h5importtest, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5importtest
$!
$ exit

View File

@ -1,159 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$ !
$ ! This command file tests h5jam and h5unjam utilities. The command file has to
$ ! run in the [hdf5-top.tools.testfiles] directory.
$ !
$ type sys$input
===================================
Testing h5jam utiltity
===================================
$ !
$ ! Define h5jam, h5unjam and h5dump symbols
$ !
$! set message/notext/nofacility/noidentification/noseverity
$ current_dir = F$DIRECTRY()
$ len = F$LENGTH(current_dir)
$ temp = F$EXTRACT(0, len-16, current_dir)
$ h5dump_dir = temp + "H5DUMP]"
$ h5dump :== $sys$disk:'h5dump_dir'h5dump.exe
$ temp2 = F$EXTRACT(0, len-11, current_dir)
$ h5jam_dir = temp2 + "]"
$ h5jam :== $sys$disk:'h5jam_dir'h5jam.exe
$ !
$ ! Define output for diff command that compares expected and actual
$ ! outputs of h5dump
$ !
$ create h5dump.log
$ !
$ ! h5jam and h5unjam tests
$ !
$
$ CALL H5JAMTEST "-u u10.txt -i" tall.h5 ta2.h5
$ CALL H5JAMTEST "-u u511.txt -i" tall.h5 ta3.h5
$ CALL H5JAMTEST "-u u512.txt -i" tall.h5 ta4.h5
$ CALL H5JAMTEST "-u u513.txt -i" tall.h5 ta5.h5
$
$
$H5JAMTEST: SUBROUTINE
$
$ len_org = F$LENGTH(P2)
$ base_org = F$EXTRACT(0,len_org-2,P2)
$ len = F$LENGTH(P3)
$ base = F$EXTRACT(0,len-2,P3)
$ actual = base + "out"
$ actual_org = base_org + "org"
$ actual_err = base + "err"
$ actual_err_org = base_org + "err"
$
$ ON ERROR THEN CONTINUE
$ begin = "Testing h5jam"
$ !
$ ! Run the test
$ !
$ h5jam 'P1 'P2 -o 'P3
$ !
$ ! Dump the original and result file
$ !
$ define/nolog sys$output 'actual'
$ define/nolog sys$error 'actual_err'
$ h5dump 'P3
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ set message/notext/nofacility/noidentification/noseverity
$ append 'actual_err' 'actual'
$ set message/ntext/facility/identification/severity
$ endif
$ define/nolog sys$output 'actual_org'
$ define/nolog sys$error 'actual_err_org'
$ h5dump 'P2
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(actual_err_org) .NES. ""
$ then
$ set message/notext/nofacility/noidentification/noseverity
$ append 'actual_err_org' 'actual_org'
$ set message/ntext/facility/identification/severity
$ endif
$ !
$ ! Compare the results
$ !
$ diff/output=h5dump_temp/ignore=(spacing,trailing_spaces,blank_lines) 'actual_org' -
'actual'
$ !
$ ! Delete output file 'P3
$ !
$ del 'P3;*
$ open/read temp_out h5dump_temp.dif
$READ_DATA:
$ read/end_of_file=end_read temp_out record1
$ !
$ ! Skip blank lines
$ !
$ if record1 .EQS. "" then goto READ_DATA
$ !
$ ! Find record with "Number" and exit the loop
$ !
$ len = F$LENGTH(record1)
$ pos = F$LOCATE("Number", record1)
$ !
$ if pos .EQ. 0
$ then
$ err_code = F$EXTRACT(len-1,1,record1)
$ goto END_READ
$ endif
$ !
$ goto READ_DATA
$
$ !
$END_READ:
$ close temp_out
$
$ !
$ ! Extract error code and format output line
$ !
$ len = F$LENGTH(record1)
$ err_code = F$EXTRACT(len-1,1,record1)
$ if err_code .eqs. "1"
$ then
$ result = "PASSED"
$ line = F$FAO("!14AS !14AS !7AS !2AS !25AS !100AS", begin, P1, P2, -
"-o", P3, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!14AS !14AS !7AS !2AS !25AS !99AS", begin, P1, P2, -
"-o", P3, result)
$ endif
$ !
$ ! Print test result
$ !
$ write sys$output line
$ !
$ ! Append the result to the log file
$ !
$ append h5dump_temp.dif h5dump.log
$ !
$ ! Delete temporary files
$ !
$! del *.out;*
$! del *.org;*
$! del *.dif;*
$ !
$ENDSUBROUTINE

View File

@ -1,67 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make h5ls tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib])
$ type sys$input
Creating h5jam
$!
$ cobj= "h5jam, h5unjam, tellub, getub, h5jamgentest"
$!
$ ccc 'cobj
$ type sys$input
Creating tellub
$ link tellub -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created tellub
$ type sys$input
Creating getub
$ link getub -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created getub
$!
$!
$ type sys$input
Creating h5jamgentest
$ link h5jamgentest, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5jamgentest
$!
$ type sys$input
Creating h5jam
$ link h5jam, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5jam
$!
$ type sys$input
Creating h5junam
$ link h5unjam, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5unjam
$!
$ exit

View File

@ -1,70 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$! h5ls testing script
$!
$ define sys$output h5ls.out
$ define sys$error h5ls.err
$ h5ls :== $sys$sysusers:[pourmale.hdf5.tools.h5ls]h5ls.exe
$ h5ls -w80 -h
$ h5ls -w80 -help
$ h5ls -w80 -?
$! test simple command
$ h5ls -w80 tall.h5
$ h5ls -w80 -r -d tall.h5
$ h5ls -w80 tgroup.h5
$! test for displaying groups
$ h5ls -w80 -r -g tgroup.h5
$! test for displaying simple space datasets
$ h5ls -w80 -r -d tdset.h5
$! test for displaying soft links
$ h5ls -w80 -r tslink.h5
$! tests for hard links
$ h5ls -w80 thlink.h5
$! tests for compound data types
$ h5ls -w80 -r -d tcompound.h5
$!test for the nested compound type
$ h5ls -w80 -r -d tnestedcomp.h5
$! test for loop detection
$ h5ls -w80 -r -d tloop.h5
$! test for string
$ h5ls -w80 -r -d tstr.h5
$! test test file created from lib SAF team
$ h5ls -w80 -r -d tsaf.h5
$! test for variable length data types
$ h5ls -w80 -r -d tvldtypes1.h5
$! test for array data types
$ h5ls -w80 -r -d tarray1.h5
$! test for empty data
$ h5ls -w80 -d tempty.h5
$! test for all dataset types written to attributes
$! enable -S for avoiding printing NATIVE types
$ h5ls -w80 -v -S tattr2.h5

View File

@ -1,165 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$ !
$ ! This command file tests h5ls utility. The command file has to
$ ! run in the [hdf5-top.tools.testfiles] directory.
$ !
$ type sys$input
===================================
Testing h5ls utiltity
===================================
$
$ !
$ ! Define h5ls symbol
$ !
$! set message/notext/nofacility/noidentification/noseverity
$ current_dir = F$DIRECTRY()
$ len = F$LENGTH(current_dir)
$ temp = F$EXTRACT(0, len-10, current_dir)
$ h5ls_dir = temp + "H5LS]"
$ h5ls :== $sys$disk:'h5ls_dir'h5ls.exe
$ !
$ ! Define output for diff command that compares expected and actual
$ ! outputs of h5ls
$ !
$ create h5ls.log
$ !
$ ! h5ls tests
$ !
$
$ CALL TOOLTEST help-1.ls "-w80 -h"
$ CALL TOOLTEST help-2.ls "-w80 -help"
$ CALL TOOLTEST help-3.ls "-w80 -?"
$! test simple command
$ CALL TOOLTEST tall-1.ls "-w80 tall.h5"
$ CALL TOOLTEST tall-2.ls "-w80 -r -d tall.h5"
$ CALL TOOLTEST tgroup.ls "-w80 tgroup.h5"
$! test for displaying groups
$ CALL TOOLTEST tgroup-1.ls "-w80 -r -g tgroup.h5"
$! test for displaying simple space datasets
$ CALL TOOLTEST tdset-1.ls "-w80 -r -d tdset.h5"
$! test for displaying soft links
$ CALL TOOLTEST tslink-1.ls "-w80 -r tslink.h5"
$! tests for hard links
$ CALL TOOLTEST thlink-1.ls "-w80 thlink.h5"
$! tests for compound data types
$ CALL TOOLTEST tcomp-1.ls "-w80 -r -d tcompound.h5"
$!test for the nested compound type
$ CALL TOOLTEST tnestcomp-1.ls "-w80 -r -d tnestedcomp.h5"
$! test for loop detection
$ CALL TOOLTEST tloop-1.ls "-w80 -r -d tloop.h5"
$! test for string
$ CALL TOOLTEST tstr-1.ls "-w80 -r -d tstr.h5"
$! test test file created from lib SAF team
$ CALL TOOLTEST tsaf.ls "-w80 -r -d tsaf.h5"
$! test for variable length data types
$ CALL TOOLTEST tvldtypes1.ls "-w80 -r -d tvldtypes1.h5"
$! test for array data types
$ CALL TOOLTEST tarray1.ls "-w80 -r -d tarray1.h5"
$! test for empty data
$ CALL TOOLTEST tempty.ls "-w80 -d tempty.h5"
$! test for all dataset types written to attributes
$! enable -S for avoiding printing NATIVE types
$! This test will report failure for line 311 of the tattr2.ls file
$! contains
$! Modified: XXXX-XX-XX XX:XX:XX XXX
$! instead of
$! Modified: 2004-07-06 19:36:17 CST
$! UNIX shell script does replacement on the fly in the actual output
$! file; I do not know what can I do on VMS EIP 07/27/06
$ CALL TOOLTEST tattr2.ls "-w80 -v -"""S""" tattr2.h5"
$
$
$TOOLTEST: SUBROUTINE
$
$ len = F$LENGTH(P1)
$ base = F$EXTRACT(0,len-2,P1)
$ actual = base + "h5lsout"
$ actual_err = base + "h5lserr"
$
$ begin = "Testing h5ls "
$ !
$ ! Run the test and save output in the 'actual' file
$ !
$ define/nolog sys$output 'actual'
$ define/nolog sys$error 'actual_err'
$ write sys$output "#############################"
$ write sys$output " output for 'h5ls ''P2''"
$ write sys$output "#############################"
$ ON ERROR THEN CONTINUE
$ h5ls 'P2
$ deassign sys$output
$ deassign sys$error
$ if F$SEARCH(actual_err) .NES. ""
$ then
$ set message/notext/nofacility/noidentification/noseverity
$ append 'actual_err' 'actual'
$ set message/text/facility/identification/severity
$ endif
$ !
$ ! Compare the results
$ !
$ diff/output=h5ls_temp/ignore=(spacing,trailing_spaces,blank_lines) 'actual' 'P1'
$ open/read temp_out h5ls_temp.dif
$ read temp_out record1
$ close temp_out
$ !
$ ! Extract error code and format output line
$ !
$ len = F$LENGTH(record1)
$ err_code = F$EXTRACT(len-1,1,record1)
$ if err_code .eqs. "0"
$ then
$ result = "PASSED"
$ line = F$FAO("!15AS !50AS !70AS", begin, P2, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!15AS !49AS !69AS", begin, P2, result)
$ endif
$ !
$ ! Print test result
$ !
$ write sys$output line
$ !
$ ! Append the result to the log file
$ !
$ append h5ls_temp.dif h5ls.log
$ !
$ ! Delete temporary files
$ !
$ if F$SEARCH("*.h5lserr;*") then del *.h5lserr;*
$ if F$SEARCH("*.h5lsout;*") then del *.h5lsout;*
$ if F$SEARCH("*.dif;*") then del *.dif;*
$ !
$ENDSUBROUTINE

View File

@ -1,39 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make h5ls tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib])
$ type sys$input
Creating h5ls
$!
$ cobj= "h5ls.c "
$!
$ ccc 'cobj
$ type sys$input
Creating h5ls
$ link h5ls, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5ls
$!
$ exit

View File

@ -1,197 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$!
$ !
$ ! This command file tests h5repack utility. The command file has to
$ ! run in the [hdf5-top.tools.h5repack.testfiles] directory.
$ !
$ !
$ type sys$input
===================================
Testing h5repack utiltity
===================================
$ ! Define h5repack and h5diff symbols
$ !
$! set message/notext/nofacility/noidentification/noseverity
$ current_dir = F$DIRECTRY()
$ len = F$LENGTH(current_dir)
$ temp = F$EXTRACT(0, len-11, current_dir)
$ temp1 = F$EXTRACT(0, len-19, current_dir)
$ h5diff_dir = temp1 + "H5DIFF]"
$ h5diff :== $sys$disk:'h5diff_dir'h5diff.exe
$ h5repack_dir = temp + "]"
$ h5repack :== $sys$disk:'h5repack_dir'h5repack.exe
$ !
$ !
$ ! h5repack tests
$ !
$
$!# copy files (these files have no filters)
$ CALL TOOLTEST "" h5repack_fill.h5
$ CALL TOOLTEST "" h5repack_objs.h5
$ CALL TOOLTEST "" h5repack_attr.h5
$ CALL TOOLTEST "" h5repack_hlink.h5
$ CALL TOOLTEST "" h5repack_layout.h5
$ CALL TOOLTEST "" h5repack_early.h5
$! Check repacking file with committed datatypes in odd configurations
$ CALL TOOLTEST "" h5repack_named_dtypes.h5
$
$! # use h5repack_layout.h5 to write some filters (this file has no filters)
$
$! # gzip with individual object
$ CALL TOOLTEST "-f dset1:"""GZIP"""=1 -l dset1:"""CHUNK"""=20x10" h5repack_layout.h5
$!
$
$! # gzip for all
$ CALL TOOLTEST "-f """GZIP"""=1" h5repack_layout.h5
$!
$! # shuffle with individual object
$ CALL TOOLTEST "-f dset2:"""SHUF""" -l dset2:"""CHUNK"""=20x10" h5repack_layout.h5
$
$!
$!
$! # shuffle for all
$ CALL TOOLTEST "-f """SHUF"""" h5repack_layout.h5
$!
$! # fletcher32 with individual object
$ CALL TOOLTEST "-f dset2:"""FLET""" -l dset2:"""CHUNK"""=20x10" h5repack_layout.h5
$!
$! # fletcher32 for all
$ CALL TOOLTEST "-f """FLET"""" h5repack_layout.h5
$
$! ###########################################################
$! # the following tests assume the input files have filters
$! ###########################################################
$!
$! # deflate copy
$ CALL TOOLTEST "" h5repack_deflate.h5
$!
$! # deflate remove
$ CALL TOOLTEST "-f dset_deflate:"""NONE"""" h5repack_deflate.h5
$!
$! # shuffle copy
$ CALL TOOLTEST "" h5repack_shuffle.h5
$!
$! # shuffle remove
$ CALL TOOLTEST "-f dset_shuffle:"""NONE"""" h5repack_shuffle.h5
$!
$! # fletcher32 copy
$ CALL TOOLTEST "" h5repack_fletcher.h5
$!
$! # fletcher32 remove
$ CALL TOOLTEST "-f dset_fletcher32:"""NONE"""" h5repack_fletcher.h5
$!
$! # nbit copy
$ CALL TOOLTEST "" h5repack_nbit.h5
$!
$! # nbit remove
$ CALL TOOLTEST "-f dset_nbit:"""NONE"""" h5repack_nbit.h5
$!
$! # nbit add
$ CALL TOOLTEST "-f dset_int31:"""NBIT"""" h5repack_nbit.h5
$!
$! # scaleoffset add
$! CALL TOOLTEST "-f dset_none:"""S+O"""=31" h5repack_scaleoffset.h5
$!
$! # scaleoffset copy
$! CALL TOOLTEST "" h5repack_scaleoffset.h5
$!
$! # scaleoffset remove
$! CALL TOOLTEST "-f dset_scaleoffset:"""NONE"""" h5repack_scaleoffset.h5
$!
$! #limit
$ CALL TOOLTEST "-f """GZIP"""=1 -m 1024" h5repack_layout.h5
$!
$!
$!
$! #########################################################
$! # layout options (these files have no filters)
$! #########################################################
$!
$ CALL TOOLTEST "-l dset2:"""CHUNK"""=20x10" h5repack_layout.h5
$ CALL TOOLTEST "-l """CHUNK"""=20x10" h5repack_layout.h5
$ CALL TOOLTEST "-l dset2:"""CONTI"""" h5repack_layout.h5
$ CALL TOOLTEST "-l """CONTI"""" h5repack_layout.h5
$ CALL TOOLTEST "-l dset2:"""COMPA"""" h5repack_layout.h5
$ CALL TOOLTEST "-l """COMPA"""" h5repack_layout.h5
$!
$!
$! ################################################################
$! # layout conversions (file has no filters)
$! ###############################################################
$!
$ CALL TOOLTEST "-l dset_compact:"""CONTI"""" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_compact:"""CHUNK"""=2x5" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_compact:"""COMPA"""" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_contiguous:"""COMPA"""" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_contiguous:"""CHUNK"""=3x6" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_contiguous:"""CONTI"""" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_chunk:"""COMPA"""" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_chunk:"""CONTI"""" h5repack_layout.h5
$ CALL TOOLTEST "-l dset_chunk:"""CHUNK"""=18x13" h5repack_layout.h5
$!
$!
$!
$TOOLTEST: SUBROUTINE
$ len = F$LENGTH(P2)
$ base = F$EXTRACT(0,len-3,P2)
$ output_file = base + "_out.h5"
$ output_err = base + ".h5repackerr"
$ output_out = base + ".h5repackout"
$
$ begin = "Testing h5repack"
$ !
$ ! Run the test and save output in the 'actual' file
$ !
$ define/nolog sys$error 'output_err'
$ define/nolog sys$output 'output_out'
$
$ ON ERROR THEN CONTINUE
$ h5repack 'P1 'P2 'output_file'
$ h5diff 'P2 'output_file'
$ deassign sys$error
$ deassign sys$output
$ if F$SEARCH(output_err) .EQS. ""
$ then
$ result = "PASSED"
$ line = F$FAO("!16AS !40AS !22AS !67AS", begin, P1, P2, result)
$ else
$ result = "*FAILED*"
$ line = F$FAO("!16AS !40AS !22AS !66AS", begin, P1, P2, result)
$ endif
$ !
$ ! Print test result
$ !
$ write sys$output line
$ !
$ !
$ !
$ ! Cleanup temporary files
$ !
$ if F$SEARCH(output_err) .NES. ""
$ then
$ del *.h5repackerr;*
$ endif
$ del *.h5repackout;*
$ del *_out.h5;*
$ENDSUBROUTINE

View File

@ -1,55 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make h5repack tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib], [-.-.test])
$ type sys$input
Creating h5repack ...
$!
$ cobj= " h5repack_main, h5repack, h5repack_copy, h5repack_refs," +-
"h5repack_filters, h5repack_opttable, h5repack_parse, " +-
"h5repack_verify, h5repacktst"
$!
$ ccc 'cobj
$ link/exe=h5repack.exe -
h5repack_main, h5repack, h5repack_copy, h5repack_refs, h5repack_filters, -
h5repack_opttable, h5repack_parse, -
h5repack_verify, -
[-.lib]libh5tools.olb/lib, -
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5repack
$ type sys$input
Creating h5repacktst ...
$ link/exe=h5repacktst.exe -
h5repacktst, -
h5repack, h5repack_copy, h5repack_refs, h5repack_filters, -
h5repack_opttable, h5repack_parse, -
h5repack_verify, -
[-.lib]libh5tools.olb/lib,[-.-.test]libh5test.olb/lib, -
[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Finished h5repacktst
$!
$ exit

View File

@ -1,39 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make h5stat tool
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib], [-.-.test])
$ type sys$input
Creating h5stat
$!
$ cobj= " h5stat "
$!
$ ccc 'cobj
$ type sys$input
$ link/exe=h5stat.exe -
h5stat, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5stat
$!
$!
$ exit

View File

@ -1,34 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make HDF5 tools library
$!
$! ccopt = "/float=ieee_float"
$ ccc := cc 'ccopt /include=([-.-.src])
$!
$ type sys$input
Creating HDF5 Tools library
$!
$ cobj="h5tools, h5tools_str, h5tools_utils, h5diff, h5diff_array, "+-
"h5diff_attr, h5diff_dset, h5diff_util, h5trav,"+-
"h5tools_filters, h5tools_ref, h5tools_type"
$!
$ ccc 'cobj
$ library/create []libh5tools 'cobj
$ type sys$input
Created HDF5 tools library
$!
$ exit

View File

@ -1,90 +0,0 @@
$!#
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
$!#
$! Makefile for VMS systems.
$!
$! Make miscellaneous tools
$!
$! The next two lines should be uncommented only when building by hand in the
$! current directory. Use build.com in the vms directory to build
$! the distribution. Make sure that location of the zlib library is correct.
$! define zlib_dir sys$sysusers:[pourmal.zlib-1_2_3]
$! ccopt = "/float=ieee_float/define=H5_VMS/include=zlib_dir"
$ ccc := cc 'ccopt /include=([-.-.src], [-.lib], [-.-.test])
$ type sys$input
Creating h5debug
$!
$ cobj= " h5debug "
$!
$ ccc 'cobj
$ type sys$input
$ link/exe=h5debug.exe -
h5debug, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5debug
$!
$ type sys$input
Creating h5mkgrp
$!
$ cobj= " h5mkgrp "
$!
$ ccc 'cobj
$ type sys$input
$ link/exe=h5mkgrp.exe -
h5mkgrp, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5mkgrp
$!
$ type sys$input
Creating h5repart
$!
$ cobj= " h5repart "
$!
$ ccc 'cobj
$ type sys$input
$ link/exe=h5repart.exe -
h5repart, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5repart
$!
$ cobj= " h5repart_gentest "
$!
$ ccc 'cobj
$ type sys$input
$ link/exe=h5repart_gentest.exe -
h5repart_gentest, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created h5repart_gentest
$!
$ type sys$input
Creating repart_test
$!
$ cobj= " repart_test "
$!
$ ccc 'cobj
$ type sys$input
$ link/exe=repart_test.exe -
repart_test, -
[-.lib]libh5tools.olb/lib,[-.-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$ type sys$input
Created repart_test
$!
$ type sys$input
Done with misc tools compilation
$!
$ exit

View File

@ -1,13 +0,0 @@
#############################
Expected output for 'h5dump --header -a /attr2 --attribute=/attr tattr.h5'
#############################
HDF5 "tattr.h5" {
ATTRIBUTE "/attr2" {
DATATYPE H5T_STD_I32BE
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
}
ATTRIBUTE "/attr" {
}
}
h5dump error: unable to open attribute "/"

View File

@ -1,17 +0,0 @@
#############################
Expected output for 'h5dump -H -d dset1 -d /dset2 --dataset=dset3 tdset.h5'
#############################
HDF5 "tdset.h5" {
DATASET "dset1" {
DATATYPE H5T_STD_I32BE
DATASPACE SIMPLE { ( 10, 20 ) / ( 10, 20 ) }
}
DATASET "/dset2" {
DATATYPE H5T_IEEE_F64BE
DATASPACE SIMPLE { ( 30, 20 ) / ( 30, 20 ) }
}
DATASET "dset3" {
}
}
h5dump error: unable to open dataset "dset3"

View File

@ -1,47 +0,0 @@
#############################
Expected output for 'h5dump --group=/g2 --group / -g /y tgroup.h5'
#############################
HDF5 "tgroup.h5" {
GROUP "/g2" {
GROUP "g2.1" {
GROUP "g2.1.1" {
}
GROUP "g2.1.2" {
}
GROUP "g2.1.3" {
}
}
}
GROUP "/" {
GROUP "g1" {
GROUP "g1.1" {
}
GROUP "g1.2" {
}
}
GROUP "g2" {
GROUP "g2.1" {
GROUP "g2.1.1" {
}
GROUP "g2.1.2" {
}
GROUP "g2.1.3" {
}
}
}
GROUP "g3" {
GROUP "g3.1" {
}
GROUP "g3.2" {
}
GROUP "g3.3" {
}
GROUP "g3.4" {
}
}
}
GROUP "/y" {
}
}
h5dump error: unable to open group "/y"

View File

@ -1,9 +0,0 @@
#############################
Expected output for 'h5dump -p -d bogus tfcontents1.h5'
#############################
HDF5 "tfcontents1.h5" {
DATASET "bogus" {
}
}
h5dump error: unable to open dataset "bogus"