Commit Graph

2347 Commits

Author SHA1 Message Date
Bill Wendling
fee0dc2bb6 [svn-r2798] Purpose:
Bug Fix...AGAIN!
Description:
	The logic to create the DYNAMIC_DIRS macro was accepting such
	things as -lnoop_stubs which would cause libtools to barf.
Solution:
	I'm pretty sure I fixed this once before. The change was lost. I
	now test to make sure that the flag I'm adding has a "-L" prefix
	on it...
2000-11-03 15:29:11 -05:00
Elena Pourmal
ada3710bc7 [svn-r2797]
Purpose:
    Maintenance
Description:
    Updated examples to use new F90 programming model
Platforms tested:
    O2K and Solaris2.7
2000-11-03 14:49:59 -05:00
Elena Pourmal
39e47fe74d [svn-r2796]
Purpose:
    Maintenance
Description:
    Updated tests to use new F90 programming model.
Platforms tested:
     O2K and Solaris2.7
2000-11-03 14:48:15 -05:00
Elena Pourmal
46f49b84cf [svn-r2795]
Purpose:
    New feature
Description:
    Now all Fortran flags such as H5F_ACC_RDONLY_F (previously defined in the
    H5fortran_flags.f90 file) are generated at runtime when h5init_fortran_f
    subroutine is called. All flags have now the same value as
    corresponding C flags. This change affects user's programming model:
    Every Fortran program that uses F90 HDF5 Library has to call
    h5init_fortran_f(error) subroutine before the first call to the
    F90 HDF5 Library and h5close_fortran_f(error) after the last call to the
    Library. h5init(close)_types_f calls are not needed anymore since
    F90 datatypes are intialized(closed) with the h5init(close)_fortran_f
    calls.

Platforms tested:
     O2K and Solaris2.7
2000-11-03 14:45:50 -05:00
Albert Cheng
0556db98e2 [svn-r2794] Purpose:
"bug fix"
Description:
    the h5ls tests sometimes failed because the tool sometimes prints
    the tool name in the help message as "lt-h5ls" while the
    expected result has it as "h5ls".  This was the tools pulled its
    name from argv[0].
Solution:
    Hardcode the progname as "h5ls" and blocked out the code that
    pulls the program name from argv[0].  The better solution is
    to find a way to create the real binary with the orginal tool
    name.
Platforms tested:
    linux
2000-11-03 00:12:47 -05:00
Bill Wendling
95b960a4a0 [svn-r2793] Purpose:
Bug Fix
Description:
	Some of the HRETURN types were incorrect. They were NULL when
	they should have been FAIL.
Solution:
	Changed the NULLs to FAILs.
Platforms tested:
	Linux
2000-11-02 15:48:45 -05:00
Robb Matzke
d5d2bffc3f [svn-r2792] Purpose:
Testing new CVSROOT files (2).
2000-11-02 12:58:17 -05:00
Robb Matzke
1b90f4b5f3 [svn-r2791] Purpose:
Testing new CVSROOT files
2000-11-02 12:57:13 -05:00
Albert Cheng
48b4b45481 [svn-r2790] Purpose:
new feature
Description:
h5tools.c:
    Created h5tools_init() and h5tools_close() for the initialization
    of the h5tools library and closing of it.  With this, the rawdatastream
    and other internal structures can be initialized properly.
h5tools.h:
    added prototypes for h5tools_init and h5tools_close.
h5dump.c:
h5ls.c:
    Added the calls for h5tools_init() and h5tools_close().
Platforms tested:
    IRIX64 -64 parallel and Linux
2000-11-01 23:59:51 -05:00
Frank Baker
180a47a037 [svn-r2789] Purpose:
To warn users that RM_H5G.html and Groups.html can render groups and
    datasets inaccessible in a file.
Solution:
    Modified RM_H5G.html and Groups.html as follows:
      -- Added warning (new section) to Groups.html that H5Gunlink and
         H5Gmove can result in inaccessible groups and datasets.
      -- Added links to that new section from H5Gunlink and H5Gmove
         in RM_H5G.html.
Platforms tested:
    IE5
2000-11-01 14:01:55 -05:00
Bill Wendling
6d04c130ad [svn-r2788] Purpose:
Added fortran/testpar/Dependencies to the MANIFEST.
2000-11-01 12:41:33 -05:00
Bill Wendling
32f4aeffd1 [svn-r2787] Purpose:
Needed File
Description:
	The Makefile needed the Dependencies file...This is a blank
	one...
2000-11-01 12:40:25 -05:00
Robert E. McGrath
7cf8fac87a [svn-r2786] Added release notes for h4toh5. 2000-11-01 10:06:01 -05:00
Robb Matzke
189ed5eb75 [svn-r2785] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (main)
	Backed out last change -- h5ls is a serial application and is
	never run with mpirun.
2000-10-31 15:51:58 -05:00
Bill Wendling
b5389be3aa [svn-r2784] Purpose:
Added fortran/testpar/Makefile.in to MANIFEST
2000-10-31 15:21:06 -05:00
Bill Wendling
2128e6763b [svn-r2783] Purpose:
Adding
Description:
	Makefile for the Fortran parllel tests...
Platforms tested:
	Modi4
2000-10-31 15:19:44 -05:00
Bill Wendling
284b19a05f [svn-r2782] Purpose:
Feature
Description:
	This will run the parallel test files for Fortran when
	 --enable-parallel is specified
Platforms tested:
	Modi4
2000-10-31 15:19:03 -05:00
Robb Matzke
350fa2af78 [svn-r2781] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (main)
	Added calls to MPI_Init() and MPI_Finalize() for parallel
	versions in order to prevent errors about unrecognized
	command-line options.
2000-10-31 14:40:59 -05:00
Raymond Lu
da4f3fd155 [svn-r2780]
Purpose:
    Update This Tech Note.
Description:
    Added some introduction to OpenMP and its programming requirements.
Solution:

Platforms tested:
2000-10-31 14:28:47 -05:00
Robb Matzke
e6f4a8d4fa [svn-r2779] ./hdf5/tools/testfiles/tnestcomp-1.ls
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Expected h5ls output.
2000-10-31 13:10:21 -05:00
Robb Matzke
334d130322 [svn-r2778] ./hdf5/tools/testfiles/tcomp-1.ls
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Expected h5ls output.
2000-10-31 13:10:19 -05:00
Robb Matzke
f5d8780b66 [svn-r2777] ./hdf5/tools/testfiles/tall-2.ls
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Expected h5ls output.
2000-10-31 13:10:18 -05:00
Robb Matzke
acf6b83365 [svn-r2776] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (dump_dataset_values)
	The `float' and `double'
	values are displayed with the full precision instead of just the
	default `%g'.
2000-10-31 13:10:17 -05:00
Elena Pourmal
c5c4b42e79 [svn-r2775]
Purpose:
    Bug fix.
Description:
    When the number of processors is wrong (should be a factor
    of dataset dimensions for this test) , test hangs because
    of wrong logic in the if-then-endif statement.
Solution:
    Fixed the logic.
Platforms tested:
    modi4 (O2K)
2000-10-31 13:04:24 -05:00
Albert Cheng
0a6cfff27d [svn-r2774] H5FD.c:
Purpose:
    Bug fix
Description:
    H5FD_close() wiped clean the public information before
    closing the FD.  This caused problem to the lower level
    close() which wants to verify it has indeed handed a valid
    file-driver to close because that information is wiped out
    prematurely.
Solution:
    Moved the public information part cleaning after it is closed.

H5FDmpio.c:
    Added in a bunch of assertion to make sure the file handle is indeed
    an MPIO file.

Platforms tested:
    IRIX64 -64 parallel
2000-10-31 13:02:03 -05:00
Elena Pourmal
feb7e97b13 [svn-r2773]
Purpose:
     Maintenance
Description:
    I renamed three files in the fortran/src directory
    H5Pf_parallel.c --> H5FDmpiof.c
    H5Pff_parallel.f90 --> H5FDmpioff.f90
    HDF5_parallel.f90 --> HDF5mpio.f90
Solution:
    Updated names in the MANIFEST file.
2000-10-31 12:58:37 -05:00
Elena Pourmal
e4c4b455b5 [svn-r2772]
Purpose:
    Maintenance
Description:
    Made F90 source directory to be in sync with the C source
Platforms tested:
     modi4 (O2K)
2000-10-31 12:54:45 -05:00
Bill Wendling
972b9252b8 [svn-r2771] Purpose:
Reformatting
Platforms tested:
	Linux
2000-10-31 11:32:21 -05:00
Robb Matzke
718b67a143 [svn-r2770]
Purpose:
	Testing
Description:
	The h5ls test script only looked at exit status.
Solution:
	Created expected output files and compare actual output
	with expected output.
Platforms tested:
	i686-pc-linux
2000-10-31 11:29:57 -05:00
Robb Matzke
9a6bb96913 [svn-r2769] ./hdf5/tools/testh5ls.sh
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (verbose)
	Compares output to expected
	files. This should work just fine because we're not using the `-v'
	option which prints datatypes in a machine-dependent way.
2000-10-31 11:18:49 -05:00
Robb Matzke
18e823ff42 [svn-r2768] ./hdf5/tools/h5tools.h
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Reindented.
2000-10-31 11:18:47 -05:00
Robb Matzke
3c2dfa4bab [svn-r2767] ./hdf5/tools/h5tools.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (h5dump_sprint)
	The whitespace added for
	indentation after the line-feed kludge is performed only if a
	line-feed was actually inserted.  This fixes funny-looking h5ls
	output that had `    %s' sequences appearing in nested compound
	datatypes.
	Also added a prominent warning in the code to indicate that when a
	line-feed is inserted into the string that column number
	calculations will be incorrect and object indices will be missing.
2000-10-31 11:18:45 -05:00
Robb Matzke
e787e3659c [svn-r2766] ./hdf5/src/H5T.c
Updated API tracing calls
2000-10-31 11:18:41 -05:00
Robb Matzke
47647e8ffb [svn-r2765] ./hdf5/src/H5S.c
Updated API tracing calls.
2000-10-31 11:18:39 -05:00
Robb Matzke
6cd1924c77 [svn-r2764] ./hdf5/src/H5FD.c
Updated API tracing calls.
2000-10-31 11:18:37 -05:00
Robb Matzke
3c623ea000 [svn-r2763] ./hdf5/src/H5F.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (H5F_dest)
	Do not call H5FL_FREE() if the root group
	object is null. This fixes a bug in h5ls when that tool is given
	a file which is not an hdf5 file.
2000-10-31 11:18:34 -05:00
Robb Matzke
7f7ab4a163 [svn-r2762] ./hdf5/MANIFEST
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Added files for expected h5ls output.
2000-10-31 11:18:33 -05:00
Frank Baker
120d71ea78 [svn-r2761] Purpose:
TechNotes/VFLfunc.html: Minor reformatting for ease of reference
Platforms tested:
    IE5
2000-10-31 11:05:54 -05:00
Frank Baker
f3dc4efd5f [svn-r2760]
Purpose:
    Removing functions that have been removed from library.
Solution:
    Removed H5Pget_driver, H5P[gs]et_stdio,  H5P[gs]et_sec2,
        H5P[gs]et_core, H5P[gs]et_split, H5P[gs]et_family,
        H5P[gs]et_mpi, and H5P[gs]et_xfer.
Platforms tested:
    IE5
2000-10-31 11:04:29 -05:00
Albert Cheng
e02f57ae15 [svn-r2759] Description:
Added the entry of the Thread Safe library implement doc.
Platforms tested:
    MS-IE on an NT.
2000-10-31 10:54:18 -05:00
Albert Cheng
24897d0be8 [svn-r2758] Purpose:
Updated
Platforms tested:
    via bin/chkmanifest on arabica.
2000-10-31 10:45:25 -05:00
Albert Cheng
d51756f1c5 [svn-r2757] Added the entry for the document of "using HDF5 with OpenMP".
Platforms tested:
    MS-IE via windows.
2000-10-31 10:42:33 -05:00
Albert Cheng
7c2e453bee [svn-r2756] Purpose:
"New" document
Description:
    Raymond has prepared and added a new document reporting his
    experience of using HDF5 with OpenMP.  It was checked in as
    a .txt file but browsers could not display it properly, at least
    not for the MS-IE.
Solution:
    I renamed the file from openmp-test.txt to openmp-hdf5.html,
    added in simple mind html control statement (<pre>), added
    an entry to the TechNote.html so that it can be found with
    other technical notes.
Platforms tested:
    Viewed by MS-IE.
2000-10-31 10:40:57 -05:00
Elena Pourmal
10a40a09e4 [svn-r2755]
Purpose:
    Maintenance
Description:
    I created ./fortran/testpar directory and added files to it
    but forgot to update MANIFEST file.
Solution:
    Fixed MANIFEST.
Platforms tested:
2000-10-31 09:27:02 -05:00
Elena Pourmal
ec2da17b52 [svn-r2754]
Purpose:
    Bug fix.
Description:
    Reading from the file failed because property list identifier
    was not properly passed to the subroutine h5dread_f.
Solution:
    Fixed the order of the parameters in the h5dread_d call
Platforms tested:
    O2K (modi4)
2000-10-30 17:07:09 -05:00
Elena Pourmal
76807a6985 [svn-r2753]
Purpose:
    Adding F90 || tests.
Description:
    I created testpar directory with the following files
      ptesthdf5_fortran.f90 - F90 test driver program
      tcheck.f90 thdf5.f90  - handy subroutines to use with the tests
      thyperslab_wr.f90     - F90 test:
                              collectively writes and reads hyperslabs to/from the dataset
Solution:
Platforms tested:
     Partially tested on modi4 (O2K)
2000-10-30 16:03:18 -05:00
Albert Cheng
d26db0af91 [svn-r2752] Purpose:
Bug fix
Description:
    There is typo in the H5D_write function which reported the
    optimized write failure as a H5E_READERROR.
Solution:
    Replaced it with the correct H5E_WRITEERROR code.
Platforms tested:
    modi4 parallel (compiled H5D.o only).
2000-10-30 12:38:56 -05:00
Thomas Radke
4b78390eda [svn-r2750]
Purpose:
    Port to Windows.
Description:
    The stream_test program now also compiles and can be run under Windows.
Solution:
    The problem was that fork(2) and waitpid(2) aren't available
    under Windows when using the MS compilers.
    So I test for both H5_HAVE_FORK and H5_HAVE_WAITPID.
    These are already checked fortunately during configuration.

    If they are not there the code just says
      printf ("Test skipped because this architecture doesn't provide "
              "fork(2) and waitpid(2)\n");

Platforms tested:
    Windows NT, both with MS Visual C++ and GNU cc
    Now you can build and run the Stream VFD testsuite under Windows
    when using GNU cc !!
2000-10-28 14:19:39 -05:00
Thomas Radke
9c93282d1b [svn-r2749]
Purpose:
    Set compiler flag to force BSD compliance.
Description:
    In order to set a socket descriptor into non-blocking mode
    via ioctl(2) the Stream driver uses the FIONBIO constant.
    Under Solaris this is defined only when compiled as BSD code.
    I hope this doesn't break anything.
Platforms tested:
    Solaris 5.7
2000-10-28 14:07:32 -05:00
Thomas Radke
66bd4aac55 [svn-r2748]
Purpose:
    Detect whether the system has the netinet/tcp.h header file.
Description:
    The Stream VFD uses setsockopt(2) to set TCP_NODELAY on an opened
    socket. This constant is defined normally in netinet/tcp.h
    except for GNU cc under Windows where this header doesn't exist.
    This template header file just contains the
      #undef HAVE_NETINET_TCP_H
Platforms tested:
    Windows NT, GNU cc
2000-10-28 14:02:06 -05:00