Commit Graph

262 Commits

Author SHA1 Message Date
James Laird
220fdf4113 [svn-r12279] Purpose:
Bug fix

Description:
When variables were declared in for loops C++ compiler on Cray X1 scoped
them oddly, leading to compilation errors.

Solution:
Moved variable declarations out of for loops (where they probably shouldn't
have been anyway) to the beginning of the function.

Platforms tested:
mir, Cray X1 (minor change)
2006-04-19 12:14:48 -05:00
Quincey Koziol
2521c4084c [svn-r12254] Purpose:
Anti-feature

Description:
    Revert changes to H5G_stat_t struct, to make it compatible with the 1.6.x
branch again.  The information that was added to the H5G_stat_t struct will
be reported through other API routines.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & Fortran
    Solaris 2.9 (shanti)
2006-04-14 17:21:54 -05:00
Pedro Vicente Nunes
2aab155338 [svn-r12235] Purpose:
bug fixes

Description:
some function calls had integer constants in the argument list;
these caused size mismatches on some platforms (hsize_t expected)

Solution:
declared hsize_t variables or  added casts

Platforms tested:
linux (heping)
solaris

Misc. update:
2006-04-12 22:15:05 -05:00
Pedro Vicente Nunes
ea0c09cf0f [svn-r12234] Purpose:
removed some white space and add formatting

Description:

Solution:

Platforms tested:
linux

Misc. update:
2006-04-12 21:42:04 -05:00
Pedro Vicente Nunes
7248b78c50 [svn-r12231] Purpose:
fix, forgot to cvs remove one file of the privious check in

Description:

Solution:

Platforms tested:

Misc. update:
2006-04-12 16:33:53 -05:00
Pedro Vicente Nunes
bc66efc788 [svn-r12229] Purpose:
new feature

Description:
1) separated the HL library into "public" and "private" header files, with the same caracteristics as the basic library
2) added the public headers to hdf5.h (with a conditional include macro, defined in configure.in)
3) added the path to HL in all Makefile.am 's , because of the inclusion in hdf5.h

Solution:

Platforms tested:
linux 32, 64
AIX
solaris
with fortran and c++

(one packet table example fails)

Misc. update:
2006-04-12 16:21:38 -05:00
Raymond Lu
3116af4f6a [svn-r12195] Purpose: Add comments.
Description: Added copyright comment to the beginning of these two files.
2006-04-03 13:34:44 -05:00
James Laird
93aa12407f [svn-r12149] Purpose:
Bug fix

Description:
Previous checkin did a bad thing; 'make clean' failed in example directories.

Solution:
Fixed commence.am so that examples no longer break, and fixed a mistake
in conclude.am.

Platforms tested:
heping (minor makefile change)

Misc. update:
2006-03-23 16:26:17 -05:00
James Laird
524d25498f [svn-r12143] Purpose:
Bug fix

Description:
make check-clean didn't clean results of example tests

Solution:
Fixed Makefiles so that check-clean recurses into example directories.
Also a little Makefile cleanup.

Platforms tested:
mir, modi4, heping, copper
2006-03-23 09:22:34 -05:00
Quincey Koziol
6b6af9d5fc [svn-r12076] Purpose:
Bug fix

Description:
    Add the hl/fortran/examples & hl/tools directories to the list of
directories targeted by mostlyclean/clean/distclean.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-11 08:21:13 -05:00
Pedro Vicente Nunes
9e8c16d83c [svn-r12011] Purpose:
update of makefiles for HL examples

Description:

Solution:

Platforms tested:
linux

Misc. update:
2006-03-06 12:05:31 -05:00
Pedro Vicente Nunes
a83d815631 [svn-r12009] Purpose:
add examples

Description:
add examples for HL (image, table and dimension scales)

Solution:

Platforms tested:
linux

Misc. update:
2006-03-06 11:11:11 -05:00
James Laird
e88e34e5d8 [svn-r12002] Purpose:
Moving gif2h5 from tools/ to hl/tools

Description:
Missed cvs adding hl/tools/Makefiles
2006-03-03 16:52:34 -05:00
James Laird
ea9f792cd7 [svn-r12001] Purpose:
Moved gif2h5 tool to hl directory

Description:
Added a tools directory under the hl directory and moved the gif2h5 tool
to that directory.

Solution:
The gif2h5 tool was originally built in the tools directory, but this
introduced dependency issues that required special checks in the
Makefiles.am and required the top-level build order to be changed
because it depended on the HL library.
For simplicity in the Makefiles now and in the future, the gif2h5 tool
was moved to be underneath the hl library.

Platforms tested:
mir, copper, modi4, shanti
2006-03-03 16:49:10 -05:00
Pedro Vicente Nunes
2d175aeb4f [svn-r11995] Purpose:
code improvement

Description:
add explaining  comments to the functions

Solution:

Platforms tested:
none

Misc. update:
2006-03-01 11:26:28 -05:00
James Laird
b399040acb [svn-r11994] Purpose:
Adding HL examples

Description:
Forgot to 'cvs add' example files.
2006-03-01 10:05:37 -05:00
James Laird
3f2f490a0f [svn-r11993] Purpose:
Added HL examples

Description:
Examples existed for the HL lite, image, and table interfaces, but
were never included in the distro... until now!

Solution:
Added source files to CVS, updated Makefile and MANIFEST.

Platforms tested:
mir, heping, shanti
2006-03-01 10:04:59 -05:00
Pedro Vicente Nunes
6c5ed9f8b8 [svn-r11970] Purpose:
new feature

Description
H5LTget_dataset_info did not allow for passing NULL in the arguments when that argument was not requested.:

Solution:
add conditions that allow to pass NULL in the return arguments, when one of them is not needed

Platforms tested:
linux

Misc. update:
2006-02-28 11:25:14 -05:00
James Laird
52f2c4da50 [svn-r11958] Purpose:
Change to release script

Description:
Silenced doxygen's output when bin/release doc is run.  Now if doxygen
has an error the release script will exit.

Someone forgot to run reconfigure after a Makefile.am, so testing the
release script seems to have had the side effect of regenerating a
Makefile.in.

Platforms tested:
mir
2006-02-20 11:39:04 -05:00
Pedro Vicente Nunes
ed9449e009 [svn-r11932] Purpose:
bug fix

Description:
the --disable-hl switch was causing linking errors on gif2h5 that uses image api (bugzilla #1)

Solution:
used the condional macro for hl to build gif2h5

Platforms tested:
linux

Misc. update:
2006-02-10 11:29:34 -05:00
Pedro Vicente Nunes
f6dd21fb11 [svn-r11931] Purpose:
bug fix

Description:
the linking order in Makefile.am of the gif2h5 tool was causing linking errors on some configurations (pgcc, --disable-shared)

Solution:
changed the order of the linking (hl before hdf5)

Platforms tested:
linux, several configurations
solaris

Misc. update:
2006-02-09 16:06:14 -05:00
Pedro Vicente Nunes
7ffbea9c24 [svn-r11919] Purpose:
some code cleaning

Description:

Solution:

Platforms tested:
none

Misc. update:
2006-02-06 11:33:47 -05:00
Pedro Vicente Nunes
35c1f3682e [svn-r11918] Purpose:
bug fix , bugzilla bug #1

Description:
the gif2h5 was not writing HDF5 images correctly

Solution:
use the Image API to write the image, rewrote the writing functionY

Platforms tested:
linux
solaris

Misc. update:
2006-02-06 11:11:48 -05:00
Quincey Koziol
56e3f667d6 [svn-r11886] Purpose:
Code cleanup

Description:
    Check in some of the code cleanups from working on the external link
support.  (This doesn't include any of the external link features)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX.4 (amazon)
    Linux 2.4
2006-01-23 15:46:34 -05:00
Raymond Lu
da37fca10b [svn-r11882] Purpose: Revision
Description: Revise a few details of H5LTtext_to_dtype() and H5LTdtype_to_text(),
1. changed the DDL definition of string, opaque, and compound types.
2. added a new parameter of H5LT_lang_t type to these two functions.


Platforms tested: h5committest and fuss.
2006-01-16 12:27:07 -05:00
James Laird
ef292e862b [svn-r11873] Purpose:
Copyright fix

Description:
The packet table examples were breaking the copyright checking script.
Fixed them.
Also caught a one-line copyright problem in another file.

Platforms tested:
Only changed comments.
2006-01-09 10:41:38 -05:00
Raymond Lu
617d2704c4 [svn-r11832] Purpose: Rename files and change grammar rule.
Description: Renamed lex.yy.c to H5LTanalyze.c, y.tab.c to H5LTparse.c, and
y.tab.h to H5LTparse.h in hl/src.  Changed definition of opaque type to ommit the tag.
Changed the test for opaque type in hl/test, too.


Platforms tested: h5committest, fuss, and sleipnir.

Misc. update: MANIFEST
2005-12-22 17:27:17 -05:00
Raymond Lu
df509d202f [svn-r11831] Purpose: Bug fix and warning fix.
Description: The g++ compiler on sleipnir doesn't like variable name
"class".  There're also some other warnings.

Solution: Changed "class" to another name and fixed the warnings.

Platforms tested: sleipnir - simple changes.
2005-12-22 11:35:43 -05:00
Raymond Lu
29ed3345e1 [svn-r11830] Purpose: A new function and its test.
Description: This is the second step of conversion between data type and
text, H5LTdtype_to_text().

Solution: Similar to h5dump, this function print the DDL description of
a data type into a string.

Platforms tested: h5committest and fuss.
2005-12-21 16:25:38 -05:00
James Laird
51fdb1ebcf [svn-r11799]
Purpose:
Bug fix

Description:
Libraries were listed in the wrong order in tools/gifconv Makefile.am, confusing
the linker.

Solution:
Put HDF5 library after tools library in Makefile.am and ran reconfigure.

Platforms tested:
mir, sleipnir
2005-12-16 10:58:37 -05:00
Pedro Vicente Nunes
3f1ee5ee1d [svn-r11796] Purpose:
h52gif bug fix (494)

Description:

 the reading routines were using file datatype sizes for memory allocation

 Changed the HDF5 read routines to use memory types and sizes,
 for both the image and pallete datasets


Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-12-15 15:07:11 -05:00
James Laird
b1fd3f5657 [svn-r11780] Purpose:
Added high-level example directories

Description:
Refactored common code out of examples Makefiles.am, added high-level
example directories, added packet table examples.

Solution:
Examples now draw from a common config/examples.am file, which
contains rules for installing, uninstalling, and cleaning examples.
High-level example directories are mostly empty, except for the
C and C++ packet table tests.

Platforms tested:
mir, sleipnir, copper, shanti
2005-12-09 15:59:11 -05:00
Quincey Koziol
88c15b1617 [svn-r11771] Purpose:
Code cleanup

Description:
    Fix a bunch of warnings flagged by Windows compilers.


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-12-08 13:34:51 -05:00
James Laird
c46e4e51d9 [svn-r11751] Purpose:
Cleanup

Description:
Changed comments in C++ packet table code to refer to entries as
"packets" instead of "records."

Solution:
The APIs were changed to correspond to the C API, but the documentation
wasn't.  This is fixed.

Platforms tested:
mir, shanti, sleipnir

Misc. update:
This corresponds to documentation update earlier this week.
2005-12-01 11:18:24 -05:00
James Laird
0f870b0f47 [svn-r11741] Purpose:
Bug fix

Description:
Fortran type generation was broken in two ways.  Fixed both.

Solution:
Firstly, there were a couple of path problems.  Fixed a typo and
specified the full path of a file.
Secondly, the dependencies weren't right when building with HDF5-specific
commands (make lib, make check-s, etc.).  Tweaked dependencies
to fix the problem.

Platforms tested:
mir, modi4, sleipnir
2005-11-18 15:31:53 -05:00
Pedro Vicente Nunes
0426d8d7e1 [svn-r11740] Purpose:
code check

Description:
changed the name of a few variables that were misleading in its name

Solution:

Platforms tested:
linux

Misc. update:
2005-11-18 15:09:28 -05:00
James Laird
4f8ca8e026 [svn-r11738] Purpose:
Configure feature

Description:
Added 'make trace' target.

Solution:
Added tracing to 1.7.  This was done automatically in 1.6, but left out
of 1.7 until now (oops!).
Tracing in 1.7 only happens manually, when the user types 'make trace.'
Tracing automatically requires more framework than it's worth.
I also fixed a couple of tracing bugs and ran trace.

Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-11-18 10:55:22 -05:00
James Laird
75ea10e5f5 [svn-r11737] Purpose:
Bug fix

Description:
Before this checkin, 'gmake check-s' would fail if there was a file in
the current directory named 'check-s'.
This is fixed under gmake (not sure how to fix for other makes).

Solution:
check, progs, install, etc. are what gmake calls "phony" targets,
which means that no file should be created.  These targets can be
specified by a line of the form
.PHONY: check progs install ...
Automake adds this line for targets it knows about, but HDF5 has a
lot of custom rules.  This checkin adds a .PHONY line for those rules.
I believe that only gmake recognizes the .PHONY line (at least, pmake
doesn't seem to), but a partial solution is better than none.
This error should occur very rarely anyway (the user has to manually
create files with names like 'build-check-s' or '_test').

Platforms tested:
mir, sleipnir, modi4
2005-11-17 13:49:28 -05:00
James Laird
0efd9ceadf [svn-r11726] Purpose:
Bug fix

Description:
Fixed bug in hl/src Makefile that was deleting y.tab.c.
Running bin/reconfigure changed a few other files as well (somebody
probably updated Makefiles.am but forgot to bin/reconfigure).

Solution:
Automake in its wisdom adds the line "rm *.tab.c" to every distclean
in every directory.  I assume that it assumes that such files are
generated during the build.  Supplied an empty distclean-compile
target to remove this line from the Makefiles.in.

Platforms tested:
mir, sleipnir, shanti
2005-11-15 14:20:06 -05:00
Fang Guo
b4f75bc7ba [svn-r11722] Purpose:
Maintenance on Windows
Description:
Add macro H5_HLDLL before newly checked in function  hid_t H5LTtext_to_dtype(const char *text);
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:41:53 -05:00
Raymond Lu
2daa718b13 [svn-r11715] Purpose: Bug fix
Description:  The last checkin to add #ifdef H5_HAVE_UNISTD_H before #include<unistd.h>
didn't work because no hdf5 library header file have been included in that stage.

Solution: Changed it to #ifndef WIN32.

Platforms tested: sleipnir g++ where the complaint happened.
2005-11-15 10:08:18 -05:00
Raymond Lu
bea1e576c5 [svn-r11711] Purpose: Bug fix for Windows
Description: Windows doesn't have unistd.h file.

Solution: Put #ifdef H5_HAVE_UNISTD_H for #include<unistd.h>.

Platforms tested: fuss - simple change.
2005-11-14 17:05:22 -05:00
Pedro Vicente Nunes
b96e820618 [svn-r11708] Purpose:
documentation improve

Description:
added a more complete description for each function in the comments
that matches the online documentation

Solution:

Platforms tested:
solaris

Misc. update:
2005-11-11 14:39:40 -05:00
Raymond Lu
73d95bbae9 [svn-r11694] Purpose: Bug fix
Description: lex.yy.c for H5LTtext_to_dtype() has been failing to compile
on 64-bit SunOS.  It has malloc() call but doesn't include stdlib.h.

Solution:  Include stdlib.h in H5LTanalyze.l.

Platforms tested: shanti - simple change.
2005-11-09 15:15:03 -05:00
Raymond Lu
e5e17162c0 [svn-r11693] Purpose: Added copyright
Description: Put copyright in the new files for H5LTtext_to_dtype().


Platforms tested: fuss - simple change.
2005-11-08 16:58:31 -05:00
Raymond Lu
370d940cd0 [svn-r11689] Purpose: Bug fix
Description: The g++ on sleipnir had troubles to compile the H5LTtext_to_dtype()
code.

Solution: Fixed problems at different places.

Platforms tested: h5committest and g++ on sleipnir.
2005-11-07 17:14:02 -05:00
Raymond Lu
23e994958b [svn-r11683]
Purpose: Minor bug fix

Description: Static function test_text_dtype() has static subroutines defined after itself.  The gcc compiler on sleipnir complained.

Solution: put test_text_dtype() after subroutine's definition.

Platforms tested: sleipnir with gcc 4.0 where the complaints happened.  Simple change.
2005-11-04 16:29:23 -05:00
Raymond Lu
47b0c3b356 [svn-r11676] Purpose: New feature
Description: Adding the new function H5LTtext_to_dtype() for converting text description to data type.
The next step will be H5LTdtype_to_text().

Solution: Use Lex and Yacc to do parsing of the text.  H5LTanalyze.l is the lexer for analyzing the
input; H5LTparse.y is the parser.  They are not part of HL library, but are used to generate lex.yy.c
(from H5LTanalyze.l) as well as y.tab.c and y.tab.h (from H5LTparse.y).  The tools used to create
these source files are GNU FLEX and YACC on a Linux machine (fuss).  The commands are "lex H5LTanalyze.l"
and "yacc -d H5LTparse.y".  Detailed document will be added later.

Platforms tested: h5committest and fuss.

Misc. update: MANIFEST
2005-11-03 09:11:09 -05:00
James Laird
617522e467 [svn-r11646] Purpose:
Bug fix/feature

Description:
Added support for -shlib in h5fc and h5c++.
Made check-install use -shlib when only shared libraries have been installed.

Solution:
h5fc and h5c++ didn't recognize -shlib.  Stole code from h5cc to link against
shared libraries.
When static libraries are disabled, the examples Makefiles will automatically
use the -shlib option to link against shared libraries.  Thus,
--disable-static and make check-install should work together.

Platforms tested:
heping(disable-static, enable-static, fortran, c++), modi4 (disable-static, fortran, c++, parallel, enable-static)
2005-10-31 16:35:49 -05:00
James Laird
91cbcdf42f [svn-r11612] Purpose:
Bug fix

Description:
Failed parallel tests now cause make to exit with an error.

Solution:
Edited config/conclude.am to throw an error if parallel test programs fail.

Platforms tested:
heping, modi4
2005-10-27 17:30:46 -05:00
James Laird
69293e09df [svn-r11602] Purpose:
Bug fix

Description:
Removed detection of pdb from configure.in as a corollary to removal
of pdb2hdf5 tool.


Platforms tested:
mir, modi4
2005-10-24 14:31:06 -05:00
James Laird
87a56d9da2 [svn-r11573] Purpose:
Bug fix

Description:
Changed configure.in to use an environment variable TR to set the path
to the tr utility.

Solution:
There are two kind of tr on Solaris with slightly different syntax.
HDF5's configure relies on the "standard" tr.  Traditionally, HDF5ers
have needed to make sure that the "right" tr was found before the
wrong one in their path; now they can use an environment variable.

Platforms tested:
mir, shanti, sol

Misc. update:
Forgot to update release notes.  Off to do that now.
2005-10-17 16:38:38 -05:00
James Laird
bcf3f797d4 [svn-r11566] Purpose:
Makefile bug fix

Description:
Previously, automake didn't output rules to build perform/mpi-perf or
the test/gen_* programs.
Now these can be built by typing 'make mpi-perf' (or 'make foo') or by
configuring with --enable-build-all.

Solution:
Automake doesn't like having rules for programs it doesn't build.  Tricked
it by having these programs built "sometimes"--whenever the user enables
--build-all.  This should be used mostly for testing and to ensure that
these helper programs compile.

***IMPORTANT***
These programs do *not* currently compile.  When --enable-build-all is used
(not the default), gen_new_fill fails because it uses an old API.  This is
an existing "bug" that has simply been exposed by this checkin.

Platforms tested:
sleipnir, modi4, sol

Misc. update:
2005-10-14 17:52:13 -05:00
Albert Cheng
5b4b3d574f [svn-r11537] Purpose:
Fixed the copyright notice.

Tested in heping.
2005-10-11 11:55:29 -05:00
Albert Cheng
184167de7d [svn-r11536] Purpose:
Fixed the copyright notice.
2005-10-11 11:54:56 -05:00
Albert Cheng
55c4f63df7 [svn-r11478] Purpose:
bug fix.

Description:
When a parallel test script test fails, make would continue because the
way it was setup inside a for loop.  Fixed it by issuing an exit 1 inside
the loop.

There was also a typo error in the newer command comparision that it
must be $${chkname} in order to be valid.  Also, the test script itself
was not checked in the newer lists.  All fixed.

Platforms tested:
h5committested and also hand tested in heping pp mode.
2005-09-29 00:17:06 -05:00
James Laird
3267458b64 [svn-r11446] Purpose:
Bug fix

Description:
Massaged the newer script and config/conclude.am to make SX6 happy.


Platforms tested:
SX6, sol, mir
2005-09-20 16:46:24 -05:00
Albert Cheng
c0e83899c3 [svn-r11431] Purpose:
New feature.

Description:
Added the time command to the make check target to report time usage
of the execute of each test and test scripts.  This gives us some idea
how long each test takes and some vague idea it is compute bound or
not.

powerpc-ibm-aix5.x:
Change $RUNPARALLEL default setting to allow it being invoked by the
time command.

Platforms tested:
h5committested.
2005-09-17 22:04:28 -05:00
James Laird
ae2a313b5b [svn-r11421] Purpose:
Feature

Description:
Added H5_CFLAGS, etc. to 1.7 branch.
Now compilation flags can be put in H5_*FLAGS and they'll be used when
building hdf5 but not in h5cc.


Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-09-16 16:26:17 -05:00
James Laird
b656c90c8a [svn-r11420] Purpose:
Bug fix

Description:
Disabled C++ shared libraries for Sun Workshop compiler.

Solution:
This bug only seems to happen when using the -xarch=v9 flag to compile in
64-bit mode, but disabling shared libraries entirely for this compiler is
an easier fix (I don't know how to detect 64 bit mode from the command line).
The framework for disabling shared libraries for other C++ compilers is
in place.

Platforms tested:
sol, mir, sleipnir, modi4
2005-09-16 16:16:11 -05:00
James Laird
cc8f7d98bf [svn-r11418] Purpose:
Bug fix/feature

Description:
Disabled shared libraries for a number of Fortran compilers that don't
support them.
This allows other compilers to support shared Fortran libraries.

Solution:
Added a conditional, SHARED_FORTRAN_CONDITIONAL, which is true if
Fortran supports shared libraries.  It is set in configure.in.

Platforms tested:
mir, sleipnir, colonelk, heping
2005-09-15 16:30:06 -05:00
James Laird
33beeb7f55 [svn-r11411] Purpose:
Bug fix

Description:
Building with --disable-static seems to have been broken on several platforms.
Fixed this.
Configure will now disable shared libraries automatically when using pgf90
or when building on Cygwin.

Solution:
To avoid errors when using shared libraries with pgf90 (which I had not
realized were compiler-specific), I had manually set convenience libraries
to use the -static linking flag.  Apparently, this is not necessary, and
caused these libraries to be created as empty archives when --disable-static
was used.
Also, some libraries were including other libraries, which was not
necessary.
I also fixed code in configure.in to correctly detect whether shared
or static libraries are enabled, and moved code that disables shared libraries
to before libtool is created (rather than editing libtool after the fact).
Despite repeated warnings that only one shared library can be linked at a
time, I have yet to have shared libraries break the linking of tests on
any system.  We'll see if the Daily Tests turn up anything.

Platforms tested:
mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel),
sol (fortran, C++), cygwin
2005-09-13 17:30:33 -05:00
Albert Cheng
6d3715e537 [svn-r11323] Purpose:
tidy up.

Description:
MPE option created *.clog file whenever it is executed in MPI.
The cleanup of *.clog files were done in individual Makefile.in.
Often, it is forgotten.

Solution:
Moved the cleaning of *.clog files to CHECK_CLEANFILES in commence.am
so that it is applied whenever check-clean is called.

Platforms tested:
heping pp using MPE.
2005-08-31 15:03:52 -05:00
James Laird
66af6dce17 [svn-r11319] Purpose:
Bug fixes

Description:
This checkin fixes an occasional error on kelgia on sol during distclean.
It also causes test scripts to depend properly on the programs they're
supposed to be testing.

Solution:
The kelgia bug was due to some files being cleaned by automake and manually.
Removed the manual cleaning in src/Makefile.am.
Test script dependencies now need to be specified manually, since the
makefile can't guess what they test from their name.  Currently all test
scripts in a given directory have a single list of dependencies--this was
easy and seems to be sufficient.
These dependencies are listed in the SCRIPT_DEPEND variable in the Makefile.am.

Platforms tested:
heping, mir, modi4, sol

Misc. update:
2005-08-30 18:42:39 -05:00
Quincey Koziol
fefbe61aca [svn-r11304] Purpose:
Code cleanup (sorta)

Description:
    Adjust H5G_stat_t to prepare for eventual "external link" information.
This also puts the information for regular objects and soft links into more
obviously separate places.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2005-08-27 08:34:28 -05:00
Albert Cheng
538d37a1bc [svn-r11303] Purpose:
minor tidy up.

Description:
Changed both test programs and test scripts to use the same suffixes
(.chkexe and .chklog).  Changed from .log to .chklog to avoid running
into potential conflicts by other "things" (e.g., config.log).

Tested:
Heping.
2005-08-26 17:24:27 -05:00
Quincey Koziol
6b45f5172c [svn-r11245] Purpose:
Code cleanup

Description:
    Trim trailing whitespace, which is making 'diff'ing the two branches
difficult.

Solution:
    Ran this script in each directory:

foreach f (*.[ch] *.cpp)
    sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
end


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-13 15:53:35 -05:00
Albert Cheng
fbb2dd8545 [svn-r11213] Purpose:
Bug fix and improvement.


Description:
The test output were not displayed for parallel tests.
The serial tests output were always displayed whether the test was
actually ran this time or not.


Solution:
Moved the display of test output inside the target where the actual
tests are run.


Platforms tested:
Tested in heping using pp and fortran.
2005-08-08 12:30:23 -05:00
Albert Cheng
ea15f348a1 [svn-r11208] Purpose:
Bug fix and code minor cleanup.

Description:
The attempt to redirect stderr together to the log files were
done in the wrong order such that stderr output goes to where
stdout WAS.  Fixed that.

Code minor cleanup--use shell variables to hold the name of the
log file and the test instead of generating them repeatedly.  This
makes easier code reading, less crowded and avoid typos.

Only conclude.in is changed.  The Makefile.in changes are all
derived from automake.

Platforms tested:
h5committested.
2005-08-08 02:32:27 -05:00
James Laird
e75a185eca [svn-r11185] Purpose:
Makefile feature

Description:
'make check-clean' now cleans *.h5 files created by tests as well as
.log and .chkexe files.

Solution:
check-clean is now a separate target in its own right, which cleans less
than mostlyclean (check-clean < mostlyclean < clean < distclean).

Platforms tested:
mir, heping, modi4 (serial and parallel)
2005-08-02 12:59:03 -05:00
James Laird
c63ef2cba2 [svn-r11179] Purpose:
Feature: check-clean target

Description:
'make check-clean' cleans up output files from tests.

Solution:
Tests create foo.chkexe and foo.log files.  Scripts create foo.chksh and
foo.logsh files.  'make check-clean' will clean these files up so that
the tests can be re-run.
Also suppressed some not-very-useful output of Makefiles when it would
echo commands.

Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-08-01 17:22:55 -05:00
Quincey Koziol
34bd25f361 [svn-r11144] Purpose:
New port

Description:
    Elena asked me to check in her NEC SX-6 work, so here it is! :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    NEC SX-6 (by Elena)
2005-07-22 20:55:12 -05:00
Fang Guo
a073dac37b [svn-r11115] Purpose:
Improvement
Description:
Add high level fortran dll export definition for windows
Solution:

Platforms tested:
MSVS 6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:43:19 -05:00
Fang Guo
2d9a894b52 [svn-r11114] Purpose:
Improvement
Description:
Add definition for high level fortran dll export for windows
Solution:

Platforms tested:
MSVS 6.0 on window xp, cygwin, heping and copper
Misc. update:
2005-07-22 16:39:51 -05:00
Fang Guo
1a5c3ceeb8 [svn-r11113] Purpose:
Improvement
Description:
Add high level c++ dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:36:51 -05:00
Fang Guo
200dcdb6d0 [svn-r11112] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on windows xp, cygwin, heping and copper
Misc. update:
2005-07-22 16:34:53 -05:00
Fang Guo
02f74aa59e [svn-r11111] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:31:48 -05:00
Fang Guo
d782f6cf94 [svn-r11110] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS6.0 on windows XP, cygwin, heping and copper
Misc. update:
2005-07-22 16:30:04 -05:00
Fang Guo
e4c9e3f233 [svn-r11109] Purpose:
Improvement
Description:
Add high level dll macro for windows
Solution:

Platforms tested:
MSVS 6.0 on Windows XP, cygwin heping copper
Misc. update:
2005-07-22 16:27:56 -05:00
James Laird
7236935a9d [svn-r11095] Purpose:
Configuration feature

Description:
Serial test output is now stored in log files and printed when all tests
in a directory complete, or when a test fails.  This should make test output
more readable and useful.
Also made changes to clean up ii_files directories that are created by some
C++ compilers/linkers.
Also fixed a few minor Makefile bugs.

Solution:
When serial tests run, their output is saved in *.log or *.logsh.  While
running, tests only print when they begin and when they complete; their
more specific output (from the log file) is printed if the test fails or
when all tests have completed.
Comments welcome.

Platforms tested:
mir, modi4 (parallel and serial), copper, shanti
2005-07-21 14:28:11 -05:00
MuQun Yang
e9d54ca186 [svn-r11092] Purpose:
Correct a typo for function declaration.
It causes problems for windows DLLs.

Description:
In file hdf5\hl\fortran\src\H5LTf90proto.h
Line 183 'n' might be missed in the very beginning

"h5ltget_dataset_ndims_c"
should change to
"nh5ltget_dataset_ndims_c"


Solution:
change it.

Platforms tested:
too minor to test at other platform,
Fang reported this, so I assume it should work on windows.

Misc. update:
2005-07-20 17:38:46 -05:00
Pedro Vicente Nunes
d4bf186a18 [svn-r11091] Purpose:
improve documentation by comments
changed the return value of H5DSget_num_scales for a case when there are no scales attached from FAIL (-1) to 0

Description:

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-07-20 14:40:51 -05:00
Quincey Koziol
9b597516c0 [svn-r11042] Purpose:
Bug fix

Description:
    The ".chksh" file for a test script was being created in the "source"
location rather than the build location.  This can cause problems when
multiple builds are running because "slower" machines will see the ".cshsh"
file from faster machines and will not run the test script as they should.

Solution:
    Use 'basename' command to strip off the path of the script and create
the ".chksh" file in the build location.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-07-07 15:46:49 -05:00
Albert Cheng
f68a2e6db7 [svn-r11034] Purpose:
bug fix.

Description:
-nt is not a universal option for the test command in all platforms.
The use of it in conclude.am cause some platforms to bark at the
Makefile generated.

Solution:
Created a command script bin/newer which tests if file1 is newer
than file2.  Replace the "test file1 -nt file2" by
"newer file1 file2".

Platforms tested:
Tested in sol.
2005-07-06 23:52:45 -05:00
James Laird
4cf99e9f28 [svn-r11013] Purpose:
Bug fix

Description:
Fixed bugs that caused tests to be unable to find testhdf5.sh during
daily tests, and another that broke sol and shanti.

Solution:
When tests are run, their path is ./$testname .
When scripts are run, their path has no leading "./".  Fixed.
Sol and shanti don't recognize the -e option for test, but they do know
-f.  Fixed.
Also modified release notes.

Platforms tested:
mir, shanti, heping
2005-07-01 16:22:05 -05:00
James Laird
43f091f462 [svn-r11008] Purpose:
Feature: tests now use parallel make and only run once

Description:
When make is invoked in parallel (using the -j option), several tests will
now be run simultaneously.  This should speed up testing on a number of
systems.
When a test passes, it creates a foo.chkexe or foo.chksh file, which prevents
the test from running again unless the test or library changes.

Solution:
Most of the changes live in config/conclude.am.  Added *.chkexe and *.chksh
files to the list of files to be cleaned at "make mostlyclean" time.
Parallel tests still run one at a time, but use the same make instructions
as serial tests.

Platforms tested:
mir, eirene, sleipnir, pommier, copper, modi4 (some errors occurred, probably
due to the test being run before updating hdf5.  Will re-run tests after
checkin.)
2005-06-30 18:35:32 -05:00
Elena Pourmal
1e1e2578f6 [svn-r10997] Purpose: Small bug fix
Description: "long long" type caused compilation problems on Windows

Solution: Use long_long definition

Platforms tested: heping, Windows will follow

Misc. update:
2005-06-28 14:42:51 -05:00
Elena Pourmal
63ed37e807 [svn-r10986] Purpose: Maintenance
Description: Finally moved Fortran related function H5IM_get_palette to the
             fortran part of the hl source (to the H5IMcc.c file)

Solution:

Platforms tested: sleipnir, mir with g95

Misc. update:
2005-06-24 14:32:25 -05:00
Elena Pourmal
ace21943c3 [svn-r10984]
Purpose: Bug fix

Description: mismatched "static" declaration for notorious H5IM_find_palette function
             caused compilation to fail on sleipnir.

Solution: Remove it for now. Function should go back to Fortran part of HL library.

Platforms tested: sleipnir

Misc. update:
2005-06-24 10:41:35 -05:00
Elena Pourmal
2ab6b12b55 [svn-r10977] Purpose: Bug fix
Description:
          1.7 daily tests failed in HL library when Fortran was not
          enabled; also long long instead of long_long declarations
          were used and caused failures on Windows

Solution:
          Removed Fortran related functions (except H5IM_find_palette) from
          H5IM.c file and put it into fortran/src/H5IMcc.c
          Modified appropriate Makefile.am files, regenerated Makefile.in files,          updated header files, MANIFEST, etc.

          Note: H5IM_find_palette should be also in H5IMcc.c, but
          for some unknown to me reason, linking fails if the function is
          included in H5IMcc.c. I will really appreciate if some C guru
          will look into the code and figure out what is wrong :-) Thanks!


Platforms tested: mir with g95, heping with and without Fortran enabled

Misc. update:
2005-06-24 00:00:01 -05:00
Elena Pourmal
ea66068977 [svn-r10970] Purpose: New feature/bug #350 fix
Description:
             When compiler flag was used to set the size of Fortran integer
             to 8 bytes, library would fail.

Solution:
             Cleaned up the code; added detection of Fortran INTEGER type size
             and appropriately defined int_f type for C-stubs routines.

Platforms tested:
             Solaris 2.8 32 and 64-bit, AIX 5.1 64-bit parallel
             PGI Fortran with -i8 flag on heping
             Absoft Fortran with -i8 flag on heping
             g95 on mir (Fortran integer is 8 bytes by default that cannot be
                         changed - compiler bug ;-)
             AIX Fortran with -qintsize=8 32 and 64-bit modes on copper

Misc. update:
2005-06-22 13:23:21 -05:00
Albert Cheng
65107926e1 [svn-r10858] Purpose:
bug fix.

Description:
The check-s and check-p targets are not recursively passes down.
Make them so.

Platforms tested:
heping (serial and pp).
2005-06-04 00:01:12 -05:00
Albert Cheng
a2217d58c8 [svn-r10849] Purpose:
bug fix

Description:
check-s and check-p were set as pre-requistics of test.  They
would get executed in parallel if parallel make is used.  This
could cause problems since serial tests are used to be executed
before parallel tests. It is not known if it is always okay to
run serial and parallel tests in simultantously.

Solution:
Change check-s and check-p as actions of the target test so
that they get executed sequnentially.

Platforms tested:
heping PP.
2005-06-02 18:42:48 -05:00
James Laird
2423bd6cab [svn-r10840] Purpose:
Added check-s and check-p targets.

Description:
Added check-s and check-p targets to 1.7 branch to match changes to 1.6
branch.  Now parallel and serial tests can be run separately.

Platforms tested:
mir, modi4, copper
2005-06-01 20:51:52 -05:00
James Laird
3eff1a1dfb [svn-r10801] Purpose:
Typo correction

Description:
Caught a very minor typo in test output.  Fixed it.

Platforms tested:
None; cosmetic change.
2005-05-25 17:12:09 -05:00
Pedro Vicente Nunes
b3d0eab748 [svn-r10748] Purpose:
removed some outdated comments

Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-05-16 15:02:25 -05:00
Pedro Vicente Nunes
5b6c08e68e [svn-r10747] Purpose:
bug fix

Description:
the fortran type integer*1 has become not portable.
define the image fortran datatype as "integer" and make special save, read, and palette functions
that use native integer for a memory type and UCHAR as disk type for the image data
added some more tests with new palette definitions

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-05-16 14:08:41 -05:00
Quincey Koziol
bbe03d7361 [svn-r10736] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-05-07 14:37:48 -05:00
James Laird
8570c314ef [svn-r10729] Purpose:
Cray X1 Port

Description:
Porting 1.7 branch to Cray X1.  With these changes, HDF5 builds, but
there are some errors in the tests.  Working on the errors.

Solution:
Added nv1-cray file to config directory.
Cleaned up some code in hl/c++ that was causing compiler to complain.

Platforms tested:
Cray X1, mir, sleipnir

Misc. update:
2005-05-05 11:51:46 -05:00
MuQun Yang
117c3740b5 [svn-r10706] Purpose:
bug fix

Description:
When using memcpy on windows, <string.h> needs to be included.

Solution:
include <string.h>

Platforms tested:
MSVS 6.0 on windows XP, too minor to test with three platforms.

Misc. update:
2005-05-02 10:58:17 -05:00