summaryrefslogtreecommitdiffstats
path: root/hl
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r11737] Purpose:James Laird2005-11-1710-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | 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
* [svn-r11726] Purpose:James Laird2005-11-152-3/+8
| | | | | | | | | | | | | | | | | | 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
* [svn-r11722] Purpose:Fang Guo2005-11-151-1/+1
| | | | | | | | | | | 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:
* [svn-r11715] Purpose: Bug fixRaymond Lu2005-11-151-1/+1
| | | | | | | | | 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.
* [svn-r11711] Purpose: Bug fix for WindowsRaymond Lu2005-11-141-1/+2
| | | | | | | | Description: Windows doesn't have unistd.h file. Solution: Put #ifdef H5_HAVE_UNISTD_H for #include<unistd.h>. Platforms tested: fuss - simple change.
* [svn-r11708] Purpose:Pedro Vicente Nunes2005-11-111-394/+404
| | | | | | | | | | | | | | | 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:
* [svn-r11694] Purpose: Bug fixRaymond Lu2005-11-092-70/+86
| | | | | | | | | 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.
* [svn-r11693] Purpose: Added copyrightRaymond Lu2005-11-085-71/+135
| | | | | | | Description: Put copyright in the new files for H5LTtext_to_dtype(). Platforms tested: fuss - simple change.
* [svn-r11689] Purpose: Bug fixRaymond Lu2005-11-077-155/+164
| | | | | | | | | 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.
* [svn-r11683] Raymond Lu2005-11-041-39/+38
| | | | | | | | | | 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.
* [svn-r11676] Purpose: New featureRaymond Lu2005-11-0310-7/+4227
| | | | | | | | | | | | | | | 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
* [svn-r11646] Purpose:James Laird2005-10-3110-40/+140
| | | | | | | | | | | | | | | | | | 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)
* [svn-r11612] Purpose:James Laird2005-10-2710-10/+10
| | | | | | | | | | | | | 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
* [svn-r11602] Purpose:James Laird2005-10-2410-30/+0
| | | | | | | | | | | | Bug fix Description: Removed detection of pdb from configure.in as a corollary to removal of pdb2hdf5 tool. Platforms tested: mir, modi4
* [svn-r11573] Purpose:James Laird2005-10-1710-0/+10
| | | | | | | | | | | | | | | | | | | | 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.
* [svn-r11566] Purpose:James Laird2005-10-1410-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r11537] Purpose:Albert Cheng2005-10-1137-253/+434
| | | | | | Fixed the copyright notice. Tested in heping.
* [svn-r11536] Purpose:Albert Cheng2005-10-112-4/+22
| | | | Fixed the copyright notice.
* [svn-r11478] Purpose:Albert Cheng2005-09-2910-80/+70
| | | | | | | | | | | | | | | | 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.
* [svn-r11446] Purpose:James Laird2005-09-2010-20/+30
| | | | | | | | | | | Bug fix Description: Massaged the newer script and config/conclude.am to make SX6 happy. Platforms tested: SX6, sol, mir
* [svn-r11431] Purpose:Albert Cheng2005-09-1810-20/+30
| | | | | | | | | | | | | | | | | 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.
* [svn-r11421] Purpose:James Laird2005-09-1610-40/+110
| | | | | | | | | | | | | | | 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:
* [svn-r11420] Purpose:James Laird2005-09-1612-0/+38
| | | | | | | | | | | | | | | | | 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
* [svn-r11418] Purpose:James Laird2005-09-1512-0/+46
| | | | | | | | | | | | | | | | 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
* [svn-r11411] Purpose:James Laird2005-09-138-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [svn-r11323] Purpose:Albert Cheng2005-08-3110-10/+21
| | | | | | | | | | | | | | | | 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.
* [svn-r11319] Purpose:James Laird2005-08-3010-10/+10
| | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r11304] Purpose:Quincey Koziol2005-08-271-8/+8
| | | | | | | | | | | | | 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
* [svn-r11303] Purpose:Albert Cheng2005-08-2610-249/+152
| | | | | | | | | | | | 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.
* [svn-r11245] Purpose:Quincey Koziol2005-08-1335-2417/+2417
| | | | | | | | | | | | | | | | | | | | 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
* [svn-r11213] Purpose:Albert Cheng2005-08-0810-70/+20
| | | | | | | | | | | | | | | | | | | 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.
* [svn-r11208] Purpose:Albert Cheng2005-08-0810-550/+630
| | | | | | | | | | | | | | | | | | | 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.
* [svn-r11185] Purpose:James Laird2005-08-0212-69/+84
| | | | | | | | | | | | | | | 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)
* [svn-r11179] Purpose:James Laird2005-08-0111-65/+132
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r11144] Purpose:Quincey Koziol2005-07-231-1/+1
| | | | | | | | | | | 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)
* [svn-r11115] Purpose:Fang Guo2005-07-222-3/+603
| | | | | | | | | | | 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:
* [svn-r11114] Purpose:Fang Guo2005-07-221-0/+96
| | | | | | | | | | | 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:
* [svn-r11113] Purpose:Fang Guo2005-07-221-3/+3
| | | | | | | | | | | 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:
* [svn-r11112] Purpose:Fang Guo2005-07-222-32/+32
| | | | | | | | | | | Improvement Description: Add high level dll macro for windows Solution: Platforms tested: MSVS 6.0 on windows xp, cygwin, heping and copper Misc. update:
* [svn-r11111] Purpose:Fang Guo2005-07-221-53/+53
| | | | | | | | | | | Improvement Description: Add high level dll macro for windows Solution: Platforms tested: MSVS 6.0 on windows XP, cygwin, heping and copper Misc. update:
* [svn-r11110] Purpose:Fang Guo2005-07-221-13/+13
| | | | | | | | | | | Improvement Description: Add high level dll macro for windows Solution: Platforms tested: MSVS6.0 on windows XP, cygwin, heping and copper Misc. update:
* [svn-r11109] Purpose:Fang Guo2005-07-221-12/+12
| | | | | | | | | | | Improvement Description: Add high level dll macro for windows Solution: Platforms tested: MSVS 6.0 on Windows XP, cygwin heping copper Misc. update:
* [svn-r11095] Purpose:James Laird2005-07-2110-150/+529
| | | | | | | | | | | | | | | | | | | | | | 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
* [svn-r11092] Purpose:MuQun Yang2005-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r11091] Purpose:Pedro Vicente Nunes2005-07-202-21/+21
| | | | | | | | | | | | | | | 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:
* [svn-r11042] Purpose:Quincey Koziol2005-07-0710-70/+70
| | | | | | | | | | | | | | | | | | 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
* [svn-r11034] Purpose:Albert Cheng2005-07-0710-40/+20
| | | | | | | | | | | | | | | | | 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.
* [svn-r11013] Purpose:James Laird2005-07-0110-70/+70
| | | | | | | | | | | | | | | | | | 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-3012-880/+816
| | | | | | | | | | | | | | | | | | | | | | 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-r10997] Purpose: Small bug fixElena Pourmal2005-06-282-2/+2
| | | | | | | | | | Description: "long long" type caused compilation problems on Windows Solution: Use long_long definition Platforms tested: heping, Windows will follow Misc. update: