Commit Graph

229 Commits

Author SHA1 Message Date
Bill Wendling
ebb263afa6 [svn-r6765] Purpose:
Bug Fix

Description:
    If there was a header file with a path like:

        /some/path/mpich.optimized/...

    The dependencies script would change that to

        /some/path/mpich.loptimized/...
                         ^--Note.

Solution:
    Mike McKay offered the solution to replace the substitution script
    from "s/\.o/\.lo/g" to "s/\.o(\b)/\.lo$1/g". It doesn't crash when
    run on Linux, but we need to make sure that it's okay for his
    machine.

Platforms tested:
    Linux, since this script is only run on GNU platforms.

Misc. update:
2003-04-28 13:39:41 -05:00
Albert Cheng
3198f06a63 [svn-r6692] Purpose:
feature.

Description:
Added the option of "setenv3" which sets the environment variable
that has three components like env AR="ar -X 64".  It is another
kludge like setenv2.  Got to code in a better 'setenv' option.

Platforms tested:
Copper (because its -64 compiling needs that AR set as above).
Eirene (where it usually launches).
Did not do h5committest which does not test bin/runtest.

Misc. update:
2003-04-16 16:11:45 -05:00
Albert Cheng
6e9724c46c [svn-r6572] Purpose:
bug fix.

Description:
It checked on the CVSROOT setting even when no cvs is needed.

Solution:
Moved the verification inside the checkout code so that the
CVS settings are checked when it is needed.

Platforms tested:
Eirene--this is invoked by bin/runtest.  Platform tests do not
apply here.

Misc. update:
2003-04-02 16:35:57 -05:00
Albert Cheng
bf10a762df [svn-r6548] Purpose:
New Feature

Description:
Some machine has a different hostname from its official name (e.g., copper
is called Cu12) and some machine name are dynamic aliases (e.g., titan is
mapped user01 or user02).  Some names are cryptic (who could remember
hn0? are platinum hosts while user0? are for titan).  We had to hardcode
those names into the snaptest.cfg file.  An ongoing maintenance PAIN.

Solution:
Added -configname <name> option where
   "use <name> as hostname in the parsing of the snaptest configure file"
Changed RSH code to append the hostname used in the Allhostfile.  Now, we
need not worry about machine name mapped to a different host and it is
much cleaner to match up entries between allhostfile and snaptest.cfg files.


Platforms tested:
Did not use h5committest which does not cover this code.
Tested in eirene, titan, platinum and copper.

Misc. update:
2003-03-31 14:05:41 -05:00
Bill Wendling
2021329c69 [svn-r6536] Purpose:
Updated Copyright Statement

Description:
    Replaced old copyright statement with new one.

Platforms tested:
    No need.

Misc. update:
2003-03-31 12:39:53 -05:00
Albert Cheng
9dedbf110e [svn-r6529] Purpose:
Improvement

Description:
Added a 5 seconds timeout to the PING command so that it can detect
host not online quicker.

Platforms tested:
The three platforms tests do not cover this command.
Test it in eirene where it is usually run.

Misc. update:
2003-03-29 12:36:35 -05:00
Albert Cheng
4857e382ba [svn-r6523] Purpose:
Bug fix.

Description:
n_test must be inited to 1 when it is for tests within one machine.
Undid my previous mistake.

Platforms tested:
Eirene.
Did not do the h5committest because this is a script and if it works
in one machine, it most like will work in all Unix platform.

Misc. update:
2003-03-26 18:08:24 -05:00
Albert Cheng
6cfa419f9a [svn-r6522] Purpose:
new feature and some bug fixes

Description:
Add a new feature to "skip" some tests.
Sometimes, a machine has problem (e.g. titan and sleipnir having AFS
problems).  Sometimes some feature in a machine is temporary off (e.g.,
PGI compilers in eirene.)  The tests will be reported being SKIPPED
which will be reminder to remove the skipping once the problem is fixed.

I installed the skipping control in snaptest.cfg rather than in
allhostsfile to have a finer control to skip just a subset of the
tests of a machine, rather than skipping the all tests of a machine.

Bug fixes: fixed the miscounting of number of tests ran.  It was
reporting one too many.

Platforms tested:
Only tested in eirene since eirene is the one uses it directly.

Misc. update:
2003-03-26 17:14:35 -05:00
Albert Cheng
ef67cef161 [svn-r6488] Purpose:
New feature

Description:
Added feature to print a summary of total number of tests and time spent
in each host.

Platforms tested:
Did not run h5committest because it does not test this script.
Did test it out in eirene and burrwhite.

Misc. update:
No document change.
2003-03-19 10:22:22 -05:00
Quincey Koziol
0475dd9a70 [svn-r6412] Purpose:
Code cleanup

Description:
    Update dependencies and clean up a few warnings.

Platforms tested:
    Linux 2.2 (eirene) w/parallel
2003-02-17 12:11:03 -05:00
Quincey Koziol
98f01e2df2 [svn-r6255] Purpose:
Code cleanup

Description:
    Clean up a few more warnings and update dependencies.

Platforms tested:
    Linux 2.2.18smp (eirene) serial & parallel
2003-01-09 13:40:19 -05:00
Albert Cheng
7fb720becf [svn-r6225] Purpose:
Bug fix
Description:
    SGI shell treats $0 as function name if used in a function.
    Set the name here to avoid that ambiguity and better style too.
Platforms tested:
    Just in modi4 and burrwhite since it is a shell script and the
    change is machine independent.
2003-01-02 15:48:33 -05:00
Robb Matzke
5760cd2c9a [svn-r6191] ./hdf5-devel/bin/trace
Purpose:
    Missed a file
Description:
    Missed the `trace' changes.
Solution:
    Committing again
Platforms tested:
    None
2002-12-04 11:06:13 -05:00
Robb Matzke
946c559de1 [svn-r6175] ./hdf5-devel/bin/trace
Purpose:
    New Feature; Optimization; Clean-up
    (Merged from 1.4 branch)

Description:
    There is no symbolic constant to pass to functions that take an
    optional object ID for when the caller wants to indicate no object
    ID. In the past the caller always passed a negative integer.

    GPFS performs poorly.

    The h5ls tool decides whether to list the file name in the output
    based on a compile-time choice, which isn't always optimal at run
    time.

Solution:
    Added a symbolic constant H5I_INVALID_HID.

    Added code to tell the mmfsd of GPFS to forego byte range token
    prefetching.

    h5ls decides whether to print the file name at runtime based on
    the number of objects being listed.

Platforms tested:
    SuSE Linux (arborea), gcc and mpich-1.2.4
    SunOS (baldric), gcc


2002-08-09 11:58:59 Robb Matzke  <matzke@arborea.spizella.com>
	* rewrite_func: Add trace info after any kind of FUNC_ENTER* macro.
2002-12-04 10:43:54 -05:00
Albert Cheng
db6808a25b [svn-r6146] Description:
added a command so that snapshot prints a message before
    exiting.
Platforms tested:
    eirene
2002-12-03 11:18:15 -05:00
Albert Cheng
02fe47462b [svn-r6092] Purpose:
New feature
Description:
    Added TIMESTAMP and event markers.  Easier to tell the chronical events.
    Turned of echo mode.  Added an option to turn it on.
Platforms tested:
    Only in eirene.
2002-11-14 10:53:11 -05:00
Quincey Koziol
3ce3ccc9eb [svn-r5984] Purpose:
Bug fix
Description:
    Teach the perl script about the new "_API" added to all API functions.
Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 13:34:01 -05:00
Albert Cheng
2237d52cd0 [svn-r5623] Purpose:
It has been replaced by the more general locate_sw.
2002-06-13 06:53:50 -05:00
Albert Cheng
aaf7818a66 [svn-r5621] Purpose:
feature
Description:
    Removed the search of HDF4 library specifically.
    Replaced the locate_hdf4 with a more general locate_sw.
    Added the search of zlib.
Platforms tested:
    eirene and all hdf group machines.
2002-06-13 06:52:22 -05:00
Albert Cheng
ceff48eb58 [svn-r5619] The TFLOPS configure instructions have been simplified.
This file is no longer needed or useful.
2002-06-13 06:45:41 -05:00
Albert Cheng
81a53a5950 [svn-r5617] Purpose:
Bug fix
Description:
    removed a debug code that was left in by mistake.
Platforms tested:
    eirene
2002-06-13 06:32:12 -05:00
Albert Cheng
9d7f7c5f9b [svn-r5613] Purpose:
New feature
Description:
    This search for various software (hdf4, hdf5, zlib) among possible
    locations.  It is customized toward NCSA machines structure.
Platforms tested:
    eirene.
2002-06-12 18:16:03 -05:00
Quincey Koziol
893cf5899c [svn-r5466] Purpose:
Code cleanup.

Description:
    Updated perl scripts to be aware of new "FUNC_ENTER_NOINIT" macro.

Platforms tested:
    IRIX64 6.5 (modi4)
2002-05-28 13:02:38 -05:00
Quincey Koziol
214aa4a367 [svn-r5308] Purpose:
Update API tracing information
Platforms tested:
    Linux 2.2 (eirene)
2002-05-01 10:03:12 -05:00
Bill Wendling
7065ac7982 [svn-r5280] Purpose:
Update
Description:
    Changed so that the Fortran and C++ configures are named "HDF5
    Fortran" and "HDF5 C++" resp. instead of just "HDF5.
Solution:
    Add an extra parameter to the subroutine which generates the new
    configure.in files.
Platforms tested:
    Linux
2002-04-29 12:24:50 -05:00
Bill Wendling
43d1e71c2b [svn-r5266] Purpose:
Update
Description:
    Updated the h5vers script to automatically update the configure.in
    files so that they reflect the correct version in the AC_INIT line.
Platforms tested:
    Linux
2002-04-25 17:37:24 -05:00
Bill Wendling
34fd49d1e4 [svn-r5252] Purpose:
Update
Description:
    Updated ltmain.sh with the newest version from the 1.4.2 libtool. The
    one I updated with earlier still had a few bugs in it, for some
    reason. I got rid of the RPM version on my machine and used the
    compiled source instead.
Platforms tested:
    Linux
2002-04-25 00:36:03 -05:00
Bill Wendling
3edcb9032b [svn-r5246] Purpose:
Bug Fix
Description:
    On some platforms, mktemp doesn't work. This would wipe out the
    tmpdir variable's value.
Solution:
    Reinitialize tmpdir in these cases.
Platforms tested:
    HP-UX
2002-04-24 14:21:22 -05:00
Bill Wendling
48f1fde29e [svn-r5179] Purpose:
Bug Fix
Description:
	Ported the hack of hte ltmain.sh script from the v1.4 branch to the
	1.5 branch, since it's sure to fail on systems with really long
	-Wl... flags...
2002-04-12 15:04:35 -05:00
Bill Wendling
68556658db [svn-r5132] Purpose:
Autotools Update
Description:
	I've updated autoconf, automake, and libtool to the latest/greatest
	versions; 2.53, 1.6, and 1.4.2 resp.

	Many changes come with the new versions:

		- ltconfig is no longer used
		- acconfig.h is no longer used (#define values are declared with
		  the macro)
		- regeneration of all of the aclocal.m4, configure, and
		  H5config.h.in files.
		- new config.{guess,sub} files
		- new ltmain.sh file
Platforms tested:
	AIX (blue), and Linux
2002-04-02 17:08:23 -05:00
Albert Cheng
0ce6b8c9e6 [svn-r5068] Purpose:
Updated the help message to include the diff option.
2002-03-18 17:19:59 -05:00
Albert Cheng
235aa17446 [svn-r5058] Purpose:
Feature/bug fix
Description:
    The 'snapshot diff' command is run in all cases, even after the initial
    "snapshot diff" and hosts are polled to run the test.  It would not cause
    any harm except wasting time repeating diff'ing.  Also, the path is
    quite right to invoke snapshot by merely "bin/snapshot diff" since it
    has not "cd" to the right directory yet.
Solution:
    Added a new option of "-nodiff" to skip the special diff request.
    Then make "runtest" to call itself again with it to prevent
    any further unnecessary diff'ing.
Platforms tested:
    eirene
2002-03-10 22:49:16 -05:00
Albert Cheng
6531ce3b52 [svn-r5055] Purpose:
New feature
Description:
    "snapshot diff" will just run the diff and exit 0 is no significant
    differences found between current and previous versions.
    Runtest will try a "snapshot diff" and will skip test if no significant
    differences are found.
Platforms tested:
    eirene
2002-03-08 18:36:59 -05:00
Albert Cheng
a3c023c143 [svn-r5034] Purpose:
New feature
Description:
    Replacing the hardcoding of default version for snapshot test
    to a file, bin/snapshot_version.  This way, runtest and snapshot
    can be version neutral.  Makes maintenance easier.
Platforms tested:
    eirene.
2002-03-05 19:55:31 -05:00
Albert Cheng
2b8c251be6 [svn-r5026] Purpose:
Bug fix
Description:
    check-install was on the same make line with install.  They
    got run in parallel.
    Run check-install as a separate make action after make install is completed.
Platforms tested:
    Eirene
2002-02-28 10:51:00 -05:00
Albert Cheng
1e8161af38 [svn-r5024] Purpose:
Feature
Description:
    The output of multiple tests of one host used to all go to the same
    logfile.  It is harder to find the beginning of each test.
Solution:
    Added hour and minute (HHMM) into the logfile name.  Different
    tests should go to different files now.  If a second test starts
    within a minute of the previous test, their output will be all
    in the same file.  In the case, there are probably not that much
    output to worry.
Platforms tested:
    eirene
2002-02-28 10:10:30 -05:00
Albert Cheng
f6ecbd18b0 [svn-r5020] Purpose:
Feature
Description:
    Use the new target of check-install instead of previous hand-made
    commands.
Platforms tested:
    eirene.
2002-02-27 14:46:46 -05:00
Albert Cheng
92dd563371 [svn-r5000] Purpose:
New feature
Description:
    The examples have been changed to use the installed h5cc to do
    the compiling.  Added a step in the "test" part to
    "cd examples; gmake check" which will test against the installed
    software.
    A more proper way is to create a "check-install" target to test
    other installed software besides the C API, such as the Fortran
    API.
Platforms tested:
    eirene
2002-02-22 00:13:19 -05:00
Bill Wendling
8c035746cc [svn-r4987] Purpose:
Bug Fix
Description:
	When doing an install of dynamic executables on some platforms, the
	"mktemp" command may fail which causes the contents of "tmpdir" to go
	away. If it's a failure, we still need the previous value of tmpdir.
Solution:
	I replicated some code so that tmpdir's old value before the mktemp
	call is regen'ed if the mktemp call failed.
Platforms tested:
	HP-UX SysV
2002-02-18 14:11:44 -05:00
Bill Wendling
82f4e6ca69 [svn-r4927] Purpose:
Feature Add
Description:
	Added hack so that it will recognize a Hitachi platform.
2002-02-08 13:56:02 -05:00
Quincey Koziol
17da7e80da [svn-r4912] Purpose:
Feature add

Description:
    Added 'H5S_sel_type' to the list of types that the API tracing knows about.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-07 11:19:14 -05:00
Bill Wendling
e2e0424f2f [svn-r4883] Purpose:
Bug Fix
Description:
	For some reason, a wrong line was introduced into the ltconfig in my
	"Major Hack(tm)" stuff.
Solution:
	Removed this line, which isn't supposed to be there cause that's why
	the Major Hack was there to begin with.
Platforms tested:
	NERSC machine and Pacific Blue
2002-01-30 16:16:33 -05:00
Albert Cheng
42f333314a [svn-r4682] Purpose:
Bug fix
Description:
    A a build had occurred in the source tree ($CURRENT) and did not
    do a distclean, the left over files would interfere with srcdir
    build.
Solution:
    Added a "make distclean" in the "checkout" option to clean up
    the $CURRENT just in case.  Not necessarily the most optimal
    spot to do the cleaning but convenient.
Platforms tested:
    Eirene.
2001-12-06 16:42:41 -05:00
Albert Cheng
e3c98c2899 [svn-r4672] Purpose:
Bug fix
Description:
    Snapshot does "make check" directly, instead of building all
    binary first.  This means it does not cover code that are not
    tested (e.g., example, perform).  (That explained why the errors
    in the PIO performance code were not reported in daily test but
    blew up when people built the library the "normal" way.)
    It is done this way so that the snaptest aborts as soon as
    the first test failed rather than after all code are compiled.
Solution:
    Add "make" (to build all binary) before "make check".
    The allows snaptest to fail as soon as the first compiling failure.
    If we wish the snaptest to abort on the first test failure, the two
    can be swapped as "make check && make ...".  (It would appear strange
    to run tests then make binary.)
Platforms tested:
    Would be tested in the daily test tonight.  (I should have tested
    it first but I started this commit process already.  Sorry.)
2001-12-05 12:18:34 -05:00
Bill Wendling
0c4dec2ba1 [svn-r4661]
Purpose:
	Bug Fix
Description:
	We needed to support C++ on SP3. Libtool was putting a "-bnso" flag
	on the compile line. This was causing the C++ compiler to barf..
Solution:
	Removed the line.
Platforms tested:
	OSF5.1
2001-11-30 13:04:36 -05:00
Albert Cheng
46af16f87b [svn-r4571] Purpose:
Improvement
Description:
    Removed the hard coding of all the test hosts.  Let it be defined
    in a file.
Platforms tested:
    Eirene
2001-10-24 13:06:50 -05:00
HDF Admin
5efe5534ce [svn-r4557] Purpose:
kludge
Description:
    Somehow if consecutive "rsh houdin -n ..." are issued too close,
    a "Connection refused" result.  Then /usr/local/krb5/rsh falls
    back to ordinary rsh protocal which of course won't work either.
Solution:
    if the houdin to be tested is houdin, wait for 5 seconds before
    launching the 'rsh ...' command.  Hopefully the system admin can
    fix the rsh problem.
Platforms tested:
    eirene talking to houdin.
2001-10-19 18:53:46 -05:00
Albert Cheng
7e76f7b0d1 [svn-r4556] Purpose:
Feature (actually a kludge)
Description:
    The old "setenv" option for the snaptest.cfg cannot handle
    if there are white spaces in the setenv value part.
    Added a "setenv2" that expects the value consists of 2 parts.
    A better solution (like can parse in double quoted values) is
    needed.
Platforms tested:
    eirene with houdin (solaris 2.7)
2001-10-19 00:20:44 -05:00
Elena Pourmal
e62fba460a [svn-r4535]
Purpose:
    Fix Bill's "Major Hack" for NERSC seaborg machine
Description:
    Bill's fix was based on the machine name. NERSC SP3 gseaborg
    was renamed to seaborg.
Solution:
    Fixed the name.
Platforms tested:
    Not tested yet.
2001-10-09 14:53:08 -05:00
Albert Cheng
3a57757306 [svn-r4514] Purpose:
feature
Description:
    Ignore blank lines in the config file too.
Platforms tested:
    Eirene.
2001-10-03 02:03:12 -05:00