Commit Graph

17 Commits

Author SHA1 Message Date
Albert Cheng
4b716c38b8 [svn-r13633] Purpose
New feature

Description:
Added test scripts to test the compiler scripts (h5cc, h5fc and h5c++)

Tested platform:
Kagiso (serial and pp)
2007-04-11 00:17:13 -05:00
James Laird
c64266b78e [svn-r13359] Fixed a bug where the -shlib flag for h5cc would end up on the Dependency line
in the Makefile.

Makefile change only.  Tested on kagiso, to be used to test on cobalt.
2007-02-20 18:39:44 -05:00
Albert Cheng
a7cac4a194 [svn-r13264] Updated Makefile.am with new THG copyright notice.
Ran reconfigure to generate the Makefile.in files.
2007-02-07 17:28:58 -05:00
James Laird
3fdcb8b3d9 [svn-r13203] Unable to replicate Daily Test error, but hopefully this is a fix anyway.
The examples had been depending on the build libraries in src, but should have
been depending only on the installed h5cc.  Fixed this.

Tested on kagiso (dependency change only, and was unable to replicate the
problem on any system).  Real test will be Daily Tests tonight.
2007-01-26 10:00:09 -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
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
James Laird
d2e92fd236 [svn-r11083] Purpose:
Bug fixes

Description:
A number of minor changes to Makefiles.  Some files will now be cleaned
properly, some comments are more informative, etc.


Platforms tested:
heping, mir, modi4
2005-07-18 18:30:38 -05:00
Albert Cheng
b802c46622 [svn-r11062] Purpose:
bug fix

Description:
rwdsetexample and attrexample both modify the same file created by
dsetexample. Need to serialize all three of them.

Platforms tested:
Did 50 times of make check in fortran/examples.  It used to fail
at least once.  Now it does not fail.
2005-07-11 00:07:29 -05:00
James Laird
7c7a856c5f [svn-r11018] Purpose:
Bug fix

Description:
Fixed error in Fortran examples on modi4.

Solution:
Added another dependency in the Fortran examples.

Platforms tested:
mir, modi4 (serial and parallel)
2005-07-05 12:42:19 -05:00
James Laird
c80b03cf33 [svn-r11016] Purpose:
Bug fix

Description:
Added dependencies to examples Makefiles so that examples can be run in
parallel.

Solution:
The examples directories (for C, C++, and Fortran) all have some dependencies
explicitly spelled out in their Makefiles.am.  This is a good short-term
solution, and should prevent errors in the Daily Tests.

Platforms tested:
mir, modi4 (parallel and sequential)
2005-07-04 16:25:07 -05:00
James Laird
1cc3666a27 [svn-r10656] Purpose:
Output tweak

Description:
Test output in C++ and Fortran directories now puts "C++ API:" or
"Fortran API:" in front of the name of the test being run.
I had overlooked the line of code that caused this to happen.

Solution:
Added HDF_CXX and HDF_FORTRAN variables to C++ and Fortran Makefiles.am.

Platforms tested:
heping (minor change)
2005-04-25 12:43:58 -05:00
James Laird
9008184b4d [svn-r10557] Purpose:
Makefile tweak

Description:
Added dependency for fortran/examples/ph5example.f90 to Makefile.am.

Platforms tested:
mir, modi4
2005-04-05 18:39:38 -05:00
Albert Cheng
a4760c1ade [svn-r10554] Purpose:
Added new fortran parallel example.

Platforms tested:
Tested by hand in heping pp.
2005-04-05 16:34:08 -05:00
James Laird
7f5e1dfe31 [svn-r10533] Purpose:
Feature

Description:
Added support for conditional compilation of parallel Fortran
examples.  No such examples exist currently, but it should be
possible to add them to the Makefile.am with no fuss and have
them compile only when parallel is enabled.

Platforms tested:
eirene, copper, modi4

Misc. update:
2005-04-01 14:41:57 -05:00
James Laird
25df1908bc [svn-r10158] Purpose:
Automake version upgrade

Description:
Upgraded automake version from 1.6.2 to 1.9.5.
Changed bin/reconfigure script to use automake 1.9.5.
Changed configure.in and Makefiles to use new FCFLAGS and FC variables
instead of FFLAGS and F9X.
Automake and configure should now do the lion's share of the work
supporting Fortran 9X; macros in acsite.m4 are now mostly unused (will
be cleaned later).
Altered how configure handles pmake; now root-level Makefile.in is
processed by bin/reconfigure to have a .MAKEFLAGS target, since
automake no longer allows us to define unused variables.
Configure now always checks for C++ compiler even if it is not
used, since automake thinks this is the Right Thing To Do and
will break otherwise.

Platforms tested:
Sol, copper, heping, mir, sleipnir, eirene, pommier, kelgia, modi4.
2005-03-07 12:57:27 -05:00
James Laird
26303241fe [svn-r9902] Purpose:
Configuration feature

Description:
HDF5 now uses automake to generate Makefiles

Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh

Platforms tested:
Many
2005-01-31 22:17:02 -05:00