summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r11013] Purpose:James Laird2005-07-011-7/+7
| | | | | | | | | | | | | | | | | | 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
* [svn-r11008] Purpose:James Laird2005-06-301-87/+81
| | | | | | | | | | | | | | | | | | | | | | 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.)
* [svn-r10858] Purpose:Albert Cheng2005-06-041-4/+15
| | | | | | | | | | | bug fix. Description: The check-s and check-p targets are not recursively passes down. Make them so. Platforms tested: heping (serial and pp).
* [svn-r10849] Purpose:Albert Cheng2005-06-021-1/+3
| | | | | | | | | | | | | | | | | | 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.
* [svn-r10840] Purpose:James Laird2005-06-021-6/+36
| | | | | | | | | | | 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
* [svn-r10570] Purpose: MaintenanceElena Pourmal2005-04-071-4/+0
| | | | | | | | | | | Description: Removed support for SRB driver Solution: Removed or modified appropriate files; ran reconfigure to regenerate Makefile.in and configure files. Platforms tested: heping and shanti Misc. update: ran bin/chkmanifest on heping
* [svn-r10534] Purpose:James Laird2005-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | Configuration feature Description: Different Fortran compilers mangle function names in different ways (upper case, lower case, adding underscores). To link between Fortran and C functions, we need to know what a given function's name is under a given compiler. Solution: Use autoconf's FC_WRAPPERS check to determine the Fortran naming scheme and define the FC_FUNC_ macro to name our functions (in H5f90proto.h). Removed references to our old FNAME macro, as well as flags that indicated whether function names were upper or lower case. Platforms tested: mir, pommier, modi4, copper, more
* [svn-r10517] Purpose:James Laird2005-03-311-6/+15
| | | | | | | | | | | | | | | | Bug fix Description: On some machines, $RUNSERIAL variable needs to be used to run tests. Set $RUNTESTS (which is used for non-parallel tests) to be $RUNSERIAL in configure.am. Also, since I was updating all Makefiles.in anyway, I updated commence.am to point to autotools installs in AFS instead of those on heping. Platforms tested: mir, sleipnir, modi4, copper
* [svn-r10511] James Laird2005-03-301-1/+6
| | | | | | | | | | | | | Purpose: "Bug fix" Description: Hardcoded Makefiles to use /bin/sh instead of letting configure detect shell automatically. This is what v1.6 does, and avoids problems on janus. Platforms tested: sleipnir, copper, modi4, mir
* [svn-r10475] Purpose:James Laird2005-03-291-0/+2
| | | | | | | | | | | | | | | | | Feature - conditional compilation Description: SRB file driver and tests are now compiled only when SRB is enabled (using --with-srb during configure). Solution: Added an automake conditional in configure.in, altered Makefiles.am in src and test directories to depend on that conditional. This should make a nice example for posterity to add conditionally compiled sources. Platforms tested: heping (only configure change)
* [svn-r10459] James Laird2005-03-281-0/+1
| | | | | | | | | | | | | | | | | Purpose: Added C++ wrapper for Packet Table API. Description: Added macro for high-level C++ library (LIBH5CPP_HL), which changes every Makefile.in. Added directories for high-level C++ library (though currently only Packet Table API is supported). Added both C++ source and tests. Platforms tested: sleipnir, mir, modi4 Misc. update:
* [svn-r10158] Purpose:James Laird2005-03-071-76/+175
| | | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r10123] Purpose:Albert Cheng2005-03-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | Removed GASS configuration and software packages associated with it. The following software are no longer configurable. checking for main in -lcrypto... yes checking for SSL_get_version in -lssl... yes checking globus_common.h usability... yes checking globus_common.h presence... yes checking for globus_common.h... yes checking for globus_module_activate in -lglobus_common... yes checking for main in -lglobus_gass_cache... yes checking for main in -lglobus_gaa... yes checking for main in -lglobus_gss... yes checking for main in -lglobus_gss_assist... yes checking for main in -lglobus_io... yes checking for main in -lglobus_gass_transfer_assist... yes checking for main in -lglobus_gass_transfer... yes checking for globus_gass_open in -lglobus_gass_file... yes Platforms tested: h5committested (but copper was down.) tested in modi4 too.
* [svn-r10066] Purpose:James Laird2005-02-231-0/+4
| | | | | | | | | | Libtool upgrade Description: HDF5 was using libtool 1.4.2. Upgraded to libtool 1.5.14. Platforms tested: verbena, heping, pommier, copper, modi4, arabica
* [svn-r10023] Purpose:Xiaowen Wu2005-02-171-0/+1
| | | | | | | | | | | | | | New feature. Description: Add the scaleoffset internal library filter. Solution: Platforms tested: heping, copper, arabica Misc. update:
* [svn-r10016] James Laird2005-02-161-1/+0
| | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: modi4 dies during build with strange errors. The root cause of these is a two-year-old hack in HDF5's libtool script that only takes effect on IRIX. Solution: Edited the libtool hack (by editing ltmain.sh) to correct a bug in the hack. Also made sure that compiler-specific DEFAULT_LIBS are used when linking. Platforms tested: sleipnir, copper, modi4, sol
* [svn-r9988] Purpose:James Laird2005-02-112-23/+12
| | | | | | | | | | | | | | | | | | | | Bug fix Description: pmake (on modi4, for instance) complains about undefined variables if it is run without the -V flag, which turns those errors to warnings. Solution: Added test to configure.in to see if $MAKE will allow Makefiles with undefined variables. If not, sets -V flag in AM_MAKEFLAGS. Ensured that all custom make targets use AM_MAKEFLAGS. Also defined all variables that caused errors in top-level Makefile.am. This means that pmake can be used to build hdf5 *from the top level only*. To run make from a subdirectory, still need to use -V flag (or use make or gmake). Platforms tested: modi4, heping, copper, sleipnir
* [svn-r9930] James Laird2005-02-031-1/+1
| | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: Parallel builds were breaking in tools/lib Solution: talign didn't realize it depended on libh5tools.la because its dependencies listed the full path (../../tools/lib/libh5tools.la). Changed this, and made similar changes in a couple of other directories. This checkin should also add the --foreign flag to every Makefile.in Platforms tested: sleipnir (minor change)
* [svn-r9928] Purpose:Quincey Koziol2005-02-031-1/+1
| | | | | | | | | | | | | New feature Description: Add basic code for new B-tree implementation. They don't do much yet, aren't hooked up to anything yet and the format may change, but I'd like to start getting them into the daily tests. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r9920] Purpose:James Laird2005-02-021-2/+3
| | | | | | | | | | | | | | | | | | | Bug fix Description: Found the permanant fix to automake/CVS dependency problem Solution: Added AM_MAINTAINER_MODE macro to configure.in. Now automake will never try to regenerate Makefiles, Makefiles.in, configure, H5config.h, etc. when they are out of date, nor will it print any warnings. Developers should be very very careful to use reconfigure script, and can add --enable-maintainer-mode flag to configure on heping to regenerate these files correctly. Platforms tested: heping sleipnir copper
* [svn-r9915] Purpose:James Laird2005-02-021-6/+6
| | | | | | | | | | | | | | | Bug fix Description: Configuration files' timestamps were incorrect. Solution: Update Makefiles.in. Also added correct paths to autotools on heping, so heping build should be able to re-generate configuration files even if they are still broken. Platforms tested: sleipnir
* [svn-r9912] Purpose:James Laird2005-02-011-87/+8
| | | | | | | | | | | | | | | | | Bug fix Description: Dependencies between configure files (aclocal, configure.in, configure, Makefiles.am and .in) are still causing Makefiles to try to run autotools during build. Solution: Committed all Makefiles.in to update their timestamps. As a temporary measure, forcibly prevented automake from running autotools during build by redefining the variables it uses. Platforms tested: sleipnir (No changes to Makefile content)
* [svn-r9907] Purpose:James Laird2005-02-011-0/+1
| | | | | | | | | | | | | Bug fix Description: Different compilers use different flags to include Fortran module files Solution: Changed boilerplate to use configure variable rather than hardcoded -M flag. Platforms tested: sleipnir, sol, copper
* [svn-r9902] Purpose:James Laird2005-02-013-618/+725
| | | | | | | | | | | | | | | 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
* [svn-r9727] Purpose:Quincey Koziol2004-12-2913-99/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9526] Purpose:Quincey Koziol2004-11-121-2/+2
| | | | | | | | | | | | | | Bug fix, sorta. Description: Revert change to H5Pget_data_transform() which changed len of buffer returned to be inconsistent with H5Iget_name(), etc. We should discuss this change and apply it to all the similar functions if we decide to change the return value. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9523] Purpose:Leon Arber2004-11-122-0/+194
| | | | | | | | | | | | | | | | | Added data transform example Description: Added example code for the data dtransform Solution: This code both illustrates how data transform works and shows how to use it. Examples of data transform on read, write, and both at the same time. Also shows usage of H5Pget_data_transform Platforms tested: eirene + copper Misc. update:
* [svn-r9100] Purpose:Albert Cheng2004-08-161-1/+1
| | | | | | | | | | | | | | | | | | | Bug fix Description: The examples would compile even if some header file were not installed. That was because the CPPFLAGS has -I... components that included the src directories. Solution: The h5cc or h5pcc commands should have all the necessarily library include directories covered. Changed CPPFLAGS to search only the examples source directory for local header files. Platforms tested: No h5committest tests which do not check examples. Hand tested it in sol.
* [svn-r8207] Purpose:Albert Cheng2004-02-171-0/+468
| | | | | | | | | | | | | | | | | | | | Bug fix, sort of. Description: Some compilers, e.g., intel compiler, would take a long time to compiler H5detect.c if optimization is on. Solution: Setup special make rules for H5detect to be compiled always with optimization off by using -g. Since H5detect is run once to generate H5Tinit.c, it does not matter that much if it is optimized or not. Platforms tested: "h5committested". Tested in Titan too.
* [svn-r8199] Purpose:Quincey Koziol2004-02-131-1/+1
| | | | | | | | | | | Bug fix typo Description: Correct typo in last fix... *sigh* Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest - Really! :-)
* [svn-r8197] Purpose:Quincey Koziol2004-02-121-1/+1
| | | | | | | | | | | | Bug fix Description: Hack on include paths some more to make srcdir builds work correctly with the [broken] dependency generation from the Intel 7.1 C compiler. Platforms tested: Linux 2.4 (titan) w/srcdir build Too minor to require h5committest
* [svn-r8187] Purpose:Quincey Koziol2004-02-121-1/+1
| | | | | | | | | | | | Bug fix Description: Added directory where actual source code is located to allow broken Intel C 7.1 compiler to generate dependencies correctly. Platforms tested: Linux 2.4 (titan) too minor to need h5committest
* [svn-r8181] Purpose:Albert Cheng2004-02-111-48/+48
| | | | | | | | | | | | | | | | | Bug fix. Description: "make check" failed because the macro "$<" is not known to those makes. Solution: Replace that macro with a string name in the form of a more basic macro of "$@". Platforms tested: h5committested (copper used make.) Misc. update:
* [svn-r8171] Purpose: MaintenanceElena Pourmal2004-02-1012-0/+180
| | | | | | | | | | Description: Copyright notice was missing from the examples files Solution: Added copyright notice Platforms tested: eirene Misc. update:
* [svn-r7898] Description:Albert Cheng2003-11-271-1/+2
| | | | | | | | | Added *.clog which are generated by the MPE option, to the CLEAN list. Platforms tested: Tested in copper which supports the MPE option. Misc. update:
* [svn-r7816] Purpose:Bill Wendling2003-11-041-16/+89
| | | | | | | | | | | | | | | | | | Improvement Description: If the library is built in parallel mode, then name the "h5cc" and "h5fc" programs "h5pcc" and "h5pfc" resp. This saves the user from worrying about mixing serial and parallel builds of the library and having to specify the pathnames and so-forth. Platforms tested: Linux (w/ parallel & Fortran) Modi4 (w/ parallel & Fortran) Sol (Serial & Fortran & C++) Misc. update: Updated release/docs/RELEASE
* [svn-r7361] Description:Albert Cheng2003-08-141-1/+2
| | | | | | | | | | | | Updated the copyright notice--mostly by rearranging some text to make them consistent. Solution: Platforms tested: "h5committested"--sol is down, so, no SUn test. Misc. update:
* [svn-r7283] Elena Pourmal2003-08-041-0/+2
| | | | | | | | | | | | | | Purpose: Enhancement Description: This example writes extendible dataset and doesn't use fill value. On some systems (verebena, titan) unwritten data will be displayed as garbage by h5_chunk_read. Solution: Use H5Pset_fill_value to set 0 fill value. Platforms tested: arabica, verbena, titan Misc. update:
* [svn-r7273] Purpose:Bill Wendling2003-07-291-376/+0
| | | | | | | | | | | | | | | | | Update/Fix Description: The Dependencies files weren't begin generated properly for C++. Solution: Modified the "dependencies" script to use "top_srcdir" only instead of "srcdir", which tended to confuse matters. Regenerated the Dependencies files. Platforms tested: Arabica (Small changes) Misc. update:
* [svn-r6842] Purpose:Bill Wendling2003-05-081-2/+0
| | | | | | | | | | | | | | | | | | | Code Cleanup Description: Warning messages were being produced by the "make" program because the "docdir" was being specified twice as a target in the generated Makefiles. This is because the "EXAMPLESDIR" was also defined as "docdir". Solution: Made "EXAMPLESDIR" unique for C, Fortran, and C++ in the commence.in file and removed EXAMPLESDIR from the Makefile.ins Platforms tested: Dangermouse (only affects make system, not code). Misc. update:
* [svn-r6066] Purpose:Albert Cheng2002-11-111-4/+4
| | | | | | | | | | | | Improvement Description: if neither -f option nor $HDF5_PARAPREFIX was set, it exited. Solution: Use '.' (current directory) if neither -f option nor $HDF5_PARAPREFIX is used. Try to proceed as much as possible. Platforms tested: only sleipnir since it was a simple fix and was failing in sleipnir only.
* [svn-r5701] Purpose:Bill Wendling2002-06-251-24/+24
| | | | | | | | | | | | Bug Fix Description: Making of the programs when using the --srcdir option didn't work. It couldn't find the files to compile. Solution: Specified where the files are by prepending the $(srcdir) macro to them. Platforms tested: Linux
* [svn-r5692] Purpose:Bill Wendling2002-06-241-27/+35
| | | | | | | | | | | | | | Bug Fix Description: Ported the bug fix for h5cc failing on platforms from the 1.4 branch to 1.5 branch. In a nutshell, when we ran "make check" in the examples directory, libtool would get in the way trying to compile things to .lo for us. but we didn't want libtool to do this. Solution: Made it so that make check will compile only the .c files to executables without the intervening .lo stage... Platforms tested: Linux (Dangermouse and Platinum)
* [svn-r5014] Purpose:Albert Cheng2002-02-271-10/+126
| | | | | | | | | | | | | | | | | | | | | fetures Description: The example code used to just run parallel I/O test in the current directory which is most likely where the program is compiled. In general, this directory is most likely not a parallel file system. Therefore, the example code often fails. Solution: Add an option "-f <prefix>" for specifying the correct test files pathname prefix. The program now requires an explicite file prefix either via the "-f" option or the environment variable $HDF5_PARAPREFIX. (With the proper setup of $HDF5_PARAPREFIX, the example code can run automatically in situtaions such as batch job or gmake check.) Also added feature to cleaup up the test files created. Of course, an added option "-c" to turn OFF the cleanup action. Platforms tested: eirene, modi4, dangermouse (all parallel modes). modi4 (serial) just to verify it can compile.
* [svn-r4976] Purpose:Albert Cheng2002-02-151-16/+16
| | | | | | | | | | | | | Feature Description: Change examples to use the installed h5cc to compile the examples programs. That will test the correctness of the installed software. Removed examples from make targets in the top level so that it does not get invoked in make or make check since one cannot compile the example programs until after "make install" has completed. Platforms tested: eirene and modi4 (parallel)
* [svn-r4972] Description:Albert Cheng2002-02-151-58/+28
| | | | | | Cleaned out lots of warnings. Platforms tested: modi4 and eirene (parallel)
* [svn-r4880] Purpose:Albert Cheng2002-01-291-56/+0
| | | | | | | | Retired run_examples.sh. Its purpose is covered by the "check" target. Platforms tested: No tests--hard to test something that is removed. Pretty sure it is not needed by any Make targets.
* [svn-r4879] Purpose:Albert Cheng2002-01-292-5/+4
| | | | | | | | | | | | | Bug fix Description: $TEST_PROG_PARA was included in the serial tests. $TEST_PROG_PARA was not dependent on $LIBHDF5 (it should.) Solution: Adjusted the file to fix both problems. Platforms tested: eirene (pp, linux 2.2.), dangermouse (pp, linux 2.4) modi4 (pp, -64) and modi4 serial (to verify that ph5example was not tested at all.)
* [svn-r4757] Purpose:Albert Cheng2001-12-301-10/+34
| | | | | | | | | | | | | | | | | | Removing the DPSS (gridstorage) driver source code. Description: The DPSS (using Grid-Storage) driver is retired. Removed the configure option with-gridstorage from configure.in. Cvs remove the following files ./src/H5FDdpss.c ./src/H5FDdpss.h ./test/dpss_read.c ./test/dpss_write.c Regenerated Dependencies files (some had to be hand-edited since 'make depend' did not cover them.) Removed reference to DPSS Virtual file driver from H5F.c. Platforms tested: modi4 (Parallel; -with-gass=...), eirene, arabica (fortran, cxx).
* [svn-r4747] Purpose:Quincey Koziol2001-12-201-2/+2
| | | | | | | | | | | | | | Bug Fix. Description: The H5Rget_object_type function could not get the object type for dataset region references. Solution: Added a new function, H5Rget_obj_type, to replace H5Rget_object_type. The new function requires the reference type as an additional parameter, in order to allow queries on different reference types to be performed correctly. Platforms tested: FreeBSD 4.4. (sleipnir)