summaryrefslogtreecommitdiffstats
path: root/fortran
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r11245] Purpose:Quincey Koziol2005-08-1319-1205/+1205
| | | | | | | | | | | | | | | | | | | | 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-085-35/+10
| | | | | | | | | | | | | | | | | | | 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-085-275/+315
| | | | | | | | | | | | | | | | | | | 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-r11202] Purpose:Albert Cheng2005-08-042-0/+6
| | | | | | | | | | | bug fix. Description: Fortran test, fflush2, depends on a file created by fflush1. Fixed Makefile to reflect such a dependency. Platforms tested: heping.
* [svn-r11201] Purpose:Albert Cheng2005-08-042-6/+5
| | | | | | | | | | | | | | | bug fix. Description: test program used fortran STOP to end the program even when there was an error. STOP does not exit with non-zero. Therefore, make or other programs could not detect an error has occurred. Solution: Wherever it is appropirate, replace STOP with h5_exit_f statments. Platforms tested: Tested in heping.
* [svn-r11185] Purpose:James Laird2005-08-029-46/+56
| | | | | | | | | | | | | | | 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-r11183] Purpose:James Laird2005-08-022-2/+2
| | | | | | | | | | Bug fix Description: Removed an extraneous @ from the fortran/src makefile. Platforms tested: mir (simple fix)
* [svn-r11179] Purpose:James Laird2005-08-0110-78/+97
| | | | | | | | | | | | | | | | | | | 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-232-2/+2
| | | | | | | | | | | 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-r11095] Purpose:James Laird2005-07-216-89/+267
| | | | | | | | | | | | | | | | | | | | | | 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-r11083] Purpose:James Laird2005-07-184-49/+4
| | | | | | | | | | | | 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
* [svn-r11062] Purpose:Albert Cheng2005-07-112-2/+8
| | | | | | | | | | | | 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.
* [svn-r11042] Purpose:Quincey Koziol2005-07-075-35/+35
| | | | | | | | | | | | | | | | | | 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-075-20/+10
| | | | | | | | | | | | | | | | | 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-r11018] Purpose:James Laird2005-07-052-0/+2
| | | | | | | | | | | | | 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)
* [svn-r11016] Purpose:James Laird2005-07-042-0/+8
| | | | | | | | | | | | | | | | 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)
* [svn-r11013] Purpose:James Laird2005-07-015-35/+35
| | | | | | | | | | | | | | | | | | 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-307-447/+412
| | | | | | | | | | | | | | | | | | | | | | 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-281-1/+1
| | | | | | | | | | Description: "long long" type caused compilation problems on Windows Solution: Use long_long definition Platforms tested: heping, Windows will follow Misc. update:
* [svn-r10970] Purpose: New feature/bug #350 fixElena Pourmal2005-06-2217-71/+108
| | | | | | | | | | | | | | | | | | | | 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:
* [svn-r10883] Purpose:James Laird2005-06-091-1/+1
| | | | | | | | | | | | | Bug fix Description: H5test_kind.f90 had an error when being compiled by pgf90. Solution: A variable wasn't declared. Declared it to fix the bug. Platforms tested: heping, mir
* [svn-r10882] Purpose:James Laird2005-06-084-166/+105
| | | | | | | | | | | | | | | Bug fix/improvement Description: Added another step to fortran type detection. This should help on some bizarre platforms. Solution: Formerly, H5fortran_detect.f90 was included in the distribution. Now it is generated by H5test_kind.f90 (written by Elena). Platforms tested: verbena, modi4, copper
* [svn-r10870] Purpose:James Laird2005-06-072-8/+8
| | | | | | | | | | | | | | | | | Bug fix Description: Fortran type detection failed on Cygwin. This is because executables in Cygwin have the .exe extension, which confused dependencies in the Makefile. Solution: Sprinkled the $(EXEEXT) variable liberally about the fortran/src Makefile.am. This variable is set at configure time and will be ".exe" on Cygwin and stay "" on Linux. Platforms tested: Cygwin, modi4, mir
* [svn-r10858] Purpose:Albert Cheng2005-06-045-20/+75
| | | | | | | | | | | 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-025-5/+15
| | | | | | | | | | | | | | | | | | 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-025-30/+180
| | | | | | | | | | | 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-r10794] Purpose:James Laird2005-05-241-6/+7
| | | | | | | | | | | | | | Bug fix Description: Fortran tests failed because UTF-8 character set flag wasn't initialized properly. Solution: Elena showed me where the flags needs to be initialized. Problem solved. Platforms tested: heping, copper, modi4
* [svn-r10793] Purpose:Pedro Vicente Nunes2005-05-235-4/+336
| | | | | | | | | | | | | | | | new fortran parallel test Description: added a test that writes and reads several datasets Solution: Platforms tested: linux (intel compiler, tungsten) AIX (copper) Misc. update:
* [svn-r10785] Purpose:James Laird2005-05-231-7/+9
| | | | | | | | | | | | | | | | | Feature Description: Added "support" for UTF-8 character encoding. Solution: Wrote tests to check that UTF-8 can be used in a number of places in HDF5 (object names, data, etc.). These tests live in test/tunicode.c. Added a new UTF-8 character encoding for datatypes. Platforms tested: mir, modi4, heping Misc. update:
* [svn-r10743] Purpose:James Laird2005-05-121-96/+7
| | | | | | | | | | | | | | | | | | Code cleanup Description: fortran/src/H5f90i.h used to define different fortran types for every compiler. Now it only defines three things, and they are the same for every platform but one. Solution: Eliminate duplicate definitions; now there are only two cases ("UNICOS" and "everything else"). This should also let the HDF5 Fortran compile anywhere, even on unknown platforms. Platforms tested: mir, pommier, modi4, copper, Cray X1 (in progress)
* [svn-r10736] Purpose:Quincey Koziol2005-05-071-144/+48
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10729] Purpose:James Laird2005-05-051-1/+7
| | | | | | | | | | | | | | | | | 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:
* [svn-r10728] Purpose:Pedro Vicente Nunes2005-05-041-2/+2
| | | | | | | | | | | | | | | | bug fix Description: some lines were longer that 132 characters (the "official" max lenght of a line in F95) the g95 compiler complained about it Solution: reduce the line lenght Platforms tested: linux (g95, intel) Misc. update:
* [svn-r10727] Purpose:James Laird2005-05-042-57/+54
| | | | | | | | | | | | | Bug fix Description: Removed Makefile.am for installing .mod files from fortran/testpar. Removed warnings in H5match_types.c Platforms tested: heping Misc. update:
* [svn-r10726] Purpose:James Laird2005-05-041-2/+2
| | | | | | | | | | | Bug fix Description: Removed Makefile.am code to install .mod files in fortran/testpar. Fixed warnings in H5match_types.c Platforms tested: heping
* [svn-r10725] Purpose:Pedro Vicente Nunes2005-05-041-2/+5
| | | | | | | | | | | | | | | bug fix Description: the hdf5 file of the test was being generated on the NFS filesystem Solution: use the libtest function h5_fixname Platforms tested: Linux Misc. update:
* [svn-r10722] Purpose:James Laird2005-05-031-8/+8
| | | | | | | | | | | Bug fix Description: Forgot to check in new version of H5match_types.c that uses long_long instead of long long. Platforms tested: mir, modi4, pommier
* [svn-r10721] Purpose:Pedro Vicente Nunes2005-05-031-12/+107
| | | | | | | | | | | | | | added more checks to failure conditions Description: Solution: Platforms tested: linux (PGI, intel) AIX Misc. update:
* [svn-r10719] Purpose:Pedro Vicente Nunes2005-05-037-389/+335
| | | | | | | | | | | | | | | | | | | | | added new fortran parallel tests that replace the old ones Description: this first set of tests do a write/read by hyperslabs Solution: Platforms tested: Linux (heping) PGI compiler Linux (heping) Intel compiler AIX (copper) IBM compiler SGI Altix (cobalt) Intel compiler Xeon Linux cluster (tungsten) Intel compiler Misc. update:
* [svn-r10701] James Laird2005-04-291-1/+3
| | | | | | | | | | | | | | | | | Purpose: Bug fix Description: Some platforms (Windows) don't have the long long type, which causes automatic Fortran type matching to fail. A solution is to use HDF5's long_long type. Solution: Changed H5match_types.c to use long_long type. Moved definition of long_long out of H5private.h and into H5public.h. Platforms tested: mir, copper, pommier
* [svn-r10667] Purpose:James Laird2005-04-265-7/+7
| | | | | | | | | | | | | | | | | Bug fix Description: Made High-Level Fortran code use automatically generated headers rather than a separate hardcoded header. Solution: Set hdf5/hl/fortran/src to include hdf5/fortran/src, so that it will find the copy of H5f90i.h in that directory. Took #include "H5private.h" out of H5f90i.h (and moved it to files that included H5f90i.h. Platforms tested: mir, modi4, pommier
* [svn-r10657] Purpose:James Laird2005-04-2511-164/+631
| | | | | | | | | | | | | | | | | | | | Configuration feature Description: Fortran integer types (not reals) are now automatically detected at build-time. Solution: Two helper programs are used, one to detect what types the Fortran compiler has access to, and one to generate header files for C and Fortran matching up types. Platforms tested: mir, copper, modi4, pommier (last week) Misc. update: MANIFEST updated, H5f90fortran_types.f90 removed from configure.in, since it is not longer generated by configure.
* [svn-r10656] Purpose:James Laird2005-04-258-0/+26
| | | | | | | | | | | | | | | 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)
* [svn-r10641] Purpose:Albert Cheng2005-04-211-11/+16
| | | | | | | | | | | | | | | | | | Bug fix. Description: When there were errors in the test, program still just call MPI_FINALIZE and failed to attempt to exit with some error code so that calling programs like make be informed of the exceptions. Solution: Call MPI_ABORT if error is detected. Though MPI_ABORT does not guarantee 100% failure report, it has the best chance. Also made dimension incompatible as a real error. Platforms tested: Did not h5committest but tested in heping PP only since this is a simple fix.
* [svn-r10593] Purpose:Albert Cheng2005-04-121-1/+5
| | | | | | | | | | | | | | | Bug fix. Description: Data file name is hardcoded to be in current directory which does not necessarily support MPIO. Changed it to /tmp/sds.h5 for slightly larger chance of success but the eventual solution is to set it according to environment variables. Patch it this way for now. Platforms tested: mir. Misc. update:
* [svn-r10587] Purpose:James Laird2005-04-112-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Minor feature Description: If a user configures without C++ or Fortran, 'make' will not recurse into c++ or fortran directories. However, if the user cd's into these directories and 'makes,' the Makefiles will attempt to build interfaces that have not been configured, usually failing. In an unrelated but minor change, src/H5detect should be compiled with the -g flag to disable compiler optimizations since it is only executed once. Solution: Make it harder for users to try to compile interfaces that have not been configured by making c++, fortran, and hl directories not recurse into their subdirectories unless they have been configured. Thus, 'make' in /fortran/src will break if Fortran has not been configured, but 'make' in /fortran will not break. Platforms tested: mir, modi4, copper Misc. update:
* [svn-r10585] Purpose: Bug fixElena Pourmal2005-04-106-3/+63
| | | | | | | | | | | | | Description: h5pget_driver_f function returned information that could not be interpreted by fortran application Solution: Defined Fortran global variables that correspond to the C H5FD_<driver_name> variables at the Fortran library initialization time. Platforms tested: heping with PGI compilers, sol 64-bit and copper parallel Misc. update:
* [svn-r10571] Purpose:James Laird2005-04-072-294/+294
| | | | | | | | | | | | Improvement Description: Changed headers in Fortran directories to use H5_FC_FUNC macro from H5pubconf.h rather than FC_FUNC macro from H5config.h. This is better practice and works better with the Windows projects. Platforms tested: heping, Windows
* [svn-r10570] Purpose: MaintenanceElena Pourmal2005-04-075-20/+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-r10561] Purpose: MaintenanceElena Pourmal2005-04-064-0/+125
| | | | | | | | | | | Description: Added missing h5get_member_class_f function Solution: Platforms tested: heping; it is a simple change. I will watch daily tests and take care of failures. Misc. update: