diff options
author | Paul Harten <pharten@ncsa.uiuc.edu> | 1999-04-02 21:38:30 (GMT) |
---|---|---|
committer | Paul Harten <pharten@ncsa.uiuc.edu> | 1999-04-02 21:38:30 (GMT) |
commit | e5376cafb45c7c0241086b67d657f81484226f0a (patch) | |
tree | 0f08e4e7808ceccc1f6fd79a5d983ba43c56b8c6 /tools/testfiles/tall.dmp | |
parent | 5e319027652b1187c509953f0f9bb80269244c51 (diff) | |
download | hdf5-e5376cafb45c7c0241086b67d657f81484226f0a.zip hdf5-e5376cafb45c7c0241086b67d657f81484226f0a.tar.gz hdf5-e5376cafb45c7c0241086b67d657f81484226f0a.tar.bz2 |
[svn-r1172] Purpose:
New feature
Problem:
The h5toh4 converter tester - testh5toh4, is set up to place output
files in same directory as input files. A difficulty comes up when
the input files come off a write-protected media, such-as CDROM.
Solution:
Rather than using "cd" to change directory and referencing files by
short filename only, "input directory" and "output directory" are
defined explicitly, and files are always referenced with pathnames
included. For cases when the converter generates the output filename,
a copy of the input file is first placed in the "output directory".
The copied input file is used by h5toh4 and then removed.
On Solaris2.5, the following sequence of commands seemed to work fine:
$ gunzip < hdf5-1.1.72.tar.gz | tar xf -
$ chmod -R ugo-w hdf5-1.1.72
$ mkdir build
$ cd build
$ ../hdf5-1.1.72/configure --enable-production --disable-debug \
$ --with-hdf4=... --with-zlib=...
$ make check
This change should allow the tester to be used when the hdf5 source
is on a read only media like a CDROM.
Platform tested:
Solaris2.5
Diffstat (limited to 'tools/testfiles/tall.dmp')
-rw-r--r-- | tools/testfiles/tall.dmp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/testfiles/tall.dmp b/tools/testfiles/tall.dmp index 40ab6aa..3d3c74e 100644 --- a/tools/testfiles/tall.dmp +++ b/tools/testfiles/tall.dmp @@ -1,4 +1,4 @@ -File name: testfiles/tall.hdf +File name: ./testfiles/tall.hdf Vgroup:0 @@ -287,7 +287,7 @@ Entries:- Vgroup:16 tag = 1965; reference = 40; - name = tall.hdf; class = CDF0.0; + name = ./testfiles/tall.hdf; class = CDF0.0; number of entries = 10; number of attributes = 0 Entries:- @@ -437,7 +437,7 @@ Graphical representation of the file:- -- SciData dimension record -- Numeric Data Group -File name: testfiles/tall.hdf +File name: ./testfiles/tall.hdf Vdata: 0 tag = 1962; reference = 3; @@ -571,7 +571,7 @@ Loc. Data 20 116 ; 49 ; 46 ; 49 ; 24 46 ; 49 ; 0 ; -File name: testfiles/tall.hdf +File name: ./testfiles/tall.hdf Variable Name = dset1.1.1 Index = 0 |