summaryrefslogtreecommitdiffstats
path: root/fortran
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r12411] Purpose:James Laird2006-06-135-0/+5
| | | | | | | | | | | | | | Bug fix - bugzilla #552 Description: On Cray X1, trying to use : as an argument confused the system. Solution: Added a test in configure to see if : as an argument is bad. If so, skipped the test. Platforms tested: mir, Cray X1 (change to configure only)
* [svn-r12379] Purpose:James Laird2006-05-262-5/+7
| | | | | | | | | | | | | | | Bug fix Description: tg-login was having an error about H5match_types.Tpo being missing. Solution: tg-login was trying to build H5_match_types twice at the same time and becoming confused as a result. Massaged the dependencies in the Makefile.am to prevent this. Platforms tested: mir, sol, tg-login
* [svn-r12358] Purpose:Albert Cheng2006-05-195-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: The ${TR}, though avoid the error, is inconvenient. It is needed because configure.in use the char range in the style of 'a-z'. The other style of '[a-z]' is more commonly accepted by all tr but autoconf tends to strip away [], making the syntax rather clumsy. Solution: Learned from autoconf that it avoids the use of character range by just spell all the letters out. Changed our tr commands to use those variables defined by autoconf. Also removed the definition of ${TR} since it will cause inconsistancy when autoconf also use plain 'tr' in its generated code. The Makefile.in are changed because the elimination of ${TR} from configure triggered its removal from all Makefil.in. That is okay because ${TR} is not used at all in Makefile. Platforms tested: h5committested. (sol failed to connected). also tested in shanti using both /usr/ucb/tr and /bin/tr (the bad one before.) Misc. update: Updated both INSTALL and RELEASE files.
* [svn-r12347] Purpose: Maintenance/bug fixElena Pourmal2006-05-144-1/+67
| | | | | | | | | | | | | | | | Description: When --enable-group-revision flag was used, h5fget_filesize_f function returned different value from expected one. Test failed with false negative result. Solution: Added Fortran function h5_group_revision_f and its C stub to check if macro H5_GROUP_REVISION is defined. Expected value from h5fget_filesize_f is set up accordingly. Platforms tested: copper, shanti and heping with and without --enable-group-revision configuration flag Misc. update:
* [svn-r12295] Purpose:James Laird2006-04-215-15/+15
| | | | | | | | | | | | | | | | | | | Several bug fixes Description: Added config file for Cray X1 (previous file was misnamed) Simplified some code in hyperslab.c test that seemed to have been confusing compiler on Cray X1. Fixed typo in config/commence.am Cleaned up hl/src/Makefile.am Solution: All four fixes should be straightforward. The failure on Cray was very difficult to debug, but involved arithmetic errors. This change seems to fix it. Platforms tested: heping, copper, sol, some Cray X1 (more testing when system comes back up)
* [svn-r12270] Purpose: Bug fix (it is quite serious, so I decided to check ↵Elena Pourmal2006-04-171-4/+4
| | | | | | | | | | | | | | | the fix in) Description: H5match_types uses reserved "INT" string and writes it to the H5H5fortran_types.f90 file. If application uses Fortran intrinsic INT and HDF5, compilation fails since it becomes redefined in H5H5fortran_types.f90. Solution: Rename INT to Fortran_INTEGER Platforms tested: copper, shanti, heping with g95 Misc. update:
* [svn-r12251] Purpose: MaintenanceElena Pourmal2006-04-141-2/+12
| | | | | | | | | | Description: file_close and multi driver tests fail on VMS. Solution: IFDEF'ed them for now with !DEC directive. Platforms tested: VMS server, heping Misc. update:
* [svn-r12229] Purpose:Pedro Vicente Nunes2006-04-127-7/+21
| | | | | | | | | | | | | | | | | | | | | new feature Description: 1) separated the HL library into "public" and "private" header files, with the same caracteristics as the basic library 2) added the public headers to hdf5.h (with a conditional include macro, defined in configure.in) 3) added the path to HL in all Makefile.am 's , because of the inclusion in hdf5.h Solution: Platforms tested: linux 32, 64 AIX solaris with fortran and c++ (one packet table example fails) Misc. update:
* [svn-r12217] Purpose:Quincey Koziol2006-04-101-4/+5
| | | | | | | | | | | | | | | | | Code cleanup Description: Tweak fortran test for alpha release to check for different file size (a size difference between the compact & "old" dense form). Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 32-bit (heping) Linux 2.4 64-bit (mir) Solaris 2.9 (shanti) Misc. update:
* [svn-r12149] Purpose:James Laird2006-03-235-35/+5
| | | | | | | | | | | | | | | | Bug fix Description: Previous checkin did a bad thing; 'make clean' failed in example directories. Solution: Fixed commence.am so that examples no longer break, and fixed a mistake in conclude.am. Platforms tested: heping (minor makefile change) Misc. update:
* [svn-r12143] Purpose:James Laird2006-03-236-9/+38
| | | | | | | | | | | | | | Bug fix Description: make check-clean didn't clean results of example tests Solution: Fixed Makefiles so that check-clean recurses into example directories. Also a little Makefile cleanup. Platforms tested: mir, modi4, heping, copper
* [svn-r12053] Purpose: VMS portElena Pourmal2006-03-091-0/+4
| | | | | | | | | | | | Description: defined H5_FC_FUNC_(name, NAME) for VMS since we cannot run autoconf on that system Solution: Used append methos to form the string; this may become the change for all platforms after more testing Platforms tested: heping, VMS server Misc. update:
* [svn-r11780] Purpose:James Laird2005-12-092-73/+44
| | | | | | | | | | | | | | | | | 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
* [svn-r11779] Purpose:Quincey Koziol2005-12-091-2/+2
| | | | | | | | | | | | Bug fix Description: Change unsigned index variable to signed index variable (again), to fix error introduced with last Windows warnings cleanup. Platforms tested: Linux 2.4 (heping) w/FORTRAN Too minor to require h5committest
* [svn-r11771] Purpose:Quincey Koziol2005-12-082-4/+2
| | | | | | | | | | | | Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11758] Purpose:Quincey Koziol2005-12-044-19/+19
| | | | | | | | | | | | | New feature Description: Add in a combination of Peter's & my code to support copying variable-length data from one file to another, although currently only supported with contiguous data storage. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r11741] Purpose:James Laird2005-11-186-34/+90
| | | | | | | | | | | | | | | | | Bug fix Description: Fortran type generation was broken in two ways. Fixed both. Solution: Firstly, there were a couple of path problems. Fixed a typo and specified the full path of a file. Secondly, the dependencies weren't right when building with HDF5-specific commands (make lib, make check-s, etc.). Tweaked dependencies to fix the problem. Platforms tested: mir, modi4, sleipnir
* [svn-r11738] Purpose:James Laird2005-11-185-0/+20
| | | | | | | | | | | | | | | | | | | Configure feature Description: Added 'make trace' target. Solution: Added tracing to 1.7. This was done automatically in 1.6, but left out of 1.7 until now (oops!). Tracing in 1.7 only happens manually, when the user types 'make trace.' Tracing automatically requires more framework than it's worth. I also fixed a couple of tracing bugs and ran trace. Platforms tested: mir, sleipnir, modi4 Misc. update:
* [svn-r11737] Purpose:James Laird2005-11-175-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | 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-r11712] Purpose:Quincey Koziol2005-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New feature Description: Check in baseline for compact group revisions, which radically revises the source code for managing groups and object headers. WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! This initiates the "unstable" phase of the 1.7.x branch, leading up to the 1.8.0 release. Please test this code, but do _NOT_ keep files created with it - the format will change again before the release and you will not be able to read your old files!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! WARNING!!!! Solution: There's too many changes to really describe them all, but some of them include: - Stop abusing the H5G_entry_t structure and split it into two separate structures for non-symbol table node use within the library: H5O_loc_t for object locations in a file and H5G_name_t to store the path to an opened object. H5G_entry_t is now only used for storing symbol table entries on disk. - Retire H5G_namei() in favor of a more general mechanism for traversing group paths and issuing callbacks on objects located. This gets us out of the business of hacking H5G_namei() for new features, generally. - Revised H5O* routines to take a H5O_loc_t instead of H5G_entry_t - Lots more... Platforms tested: h5committested and maybe another dozen configurations.... :-)
* [svn-r11655] Purpose:James Laird2005-11-011-3/+9
| | | | | | | | | | | | | Bug fix Description: Fixed a bug when using h5fc and h5c++ with static libraries. Added high-level C++ and Fortran libraries to h5c++ and h5fc. Solution: Platforms tested: mir, heping, shanti, sleipnir
* [svn-r11646] Purpose:James Laird2005-10-316-27/+133
| | | | | | | | | | | | | | | | | | 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-275-5/+5
| | | | | | | | | | | | | 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-245-15/+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-175-0/+5
| | | | | | | | | | | | | | | | | | | | 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-145-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-r11543] Purpose:James Laird2005-10-112-1/+32
| | | | | | | | | | | | Copyright fix Description: Added copyright notice to fortran/src/H5match_types.c and fortran/src/H5test_kind.f90 Platforms tested: heping
* [svn-r11486] Purpose:Albert Cheng2005-09-301-1/+1
| | | | | | | | | | | | | Bug fix. Description: mpich2 using f95 did not support function 'unlink'. Removed the unlink call for now. Need a better solution. Platforms tested: heping using mpich and mpich2 versions of mpif90. Misc. update:
* [svn-r11478] Purpose:Albert Cheng2005-09-295-40/+35
| | | | | | | | | | | | | | | | 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-205-10/+15
| | | | | | | | | | | Bug fix Description: Massaged the newer script and config/conclude.am to make SX6 happy. Platforms tested: SX6, sol, mir
* [svn-r11432] Elena Pourmal2005-09-181-1/+1
| | | | | | | | | | | | | Purpose: Typo fix Description: Declaration of long double variable was after executable statement. Many compilers choked ;-( Solution: Declare variable before the first executable statement Platforms tested: shanti (compilation only), copper (tests passed) Misc. update:
* [svn-r11431] Purpose:Albert Cheng2005-09-185-10/+15
| | | | | | | | | | | | | | | | | 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-r11427] Purpose: SX-6 portElena Pourmal2005-09-171-2/+4
| | | | | | | | | | | | | | | | | Description: Fortran multi_file test failed on SX-6. It turned out that compiler could not handle (long long HADDR_MAX) * ( float var). The result of this operation was 0. Solution: Introduced long double variable to store the value of HADDR_MAX and use the new variable in * operation. (Suggested by John) Platforms tested: SX-6, mir with PGI compilers; a very minor change Misc. update:
* [svn-r11423] Purpose: Small bug fixElena Pourmal2005-09-171-2/+1
| | | | | | | | | | Description: wrong parameter was passed to the Fortran call. Solution: fixed Platforms tested: SX-6 Misc. update:
* [svn-r11422] Purpose: Bug fix/ SX6 portElena Pourmal2005-09-171-3/+7
| | | | | | | | | | | | Description: Fortran array was passed directly to a C function. Since size of fortran INTEGER is bigger than size of C int on SX-6 with -ew switch, the passed data was wrong. Solution: Copy Fortran array to the appropriate C array. Platforms tested: SX-6 ; trivial change Misc. update:
* [svn-r11421] Purpose:James Laird2005-09-165-20/+55
| | | | | | | | | | | | | | | 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-166-0/+27
| | | | | | | | | | | | | | | | | 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-157-0/+36
| | | | | | | | | | | | | | | | 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-136-71/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r11401] Purpose: MaintenanceElena Pourmal2005-09-131-1/+5
| | | | | | | | | | Description: brought back changes from SX-6 Solution: Platforms tested: SX-6, heping and mir with new g95 Misc. update:
* [svn-r11392] Purpose:Quincey Koziol2005-09-121-1/+1
| | | | | | | | | | | Bug fix Description: Recent group code changes tweaked the size of the free space in the file for this test. Update to the latest correct value. Platforms tested: h5committested
* [svn-r11373] Purpose: Maintenance/improvementElena Pourmal2005-09-081-1/+1
| | | | | | | | | | | Description: Fixeda typo in an error message Solution: Platforms tested: heping with g95 (-r8, -d8) mir with ifc (-r16, -r8) Misc. update:
* [svn-r11372] Purpose: Maintenance/improvementElena Pourmal2005-09-083-10/+151
| | | | | | | | | | | | | | | | Description: Added support for "big" REAL and DOUBLE PRECISION datatypes (i.e. sizes of Fortran real and double precision may be 8 and/or 16 bytes; usually specified by compilers flags like -r8, -r16, -d8, etc.) Solution: Added code to generate all necessary datatypes on a fly. Platforms tested: heping with g95 (-r8, -d8) mir with ifc (-r16, -r8) Note: multi file test failed when REAL is 128 bit. I will address this later. Misc. update:
* [svn-r11370] Purpose: Typo fixElena Pourmal2005-09-071-1/+1
| | | | | | | | | | Description: Fixed a typo introduced by my previous check in Solution: Platforms tested: heping Misc. update:
* [svn-r11369] Purpose: Improvement/maintenanceElena Pourmal2005-09-071-0/+43
| | | | | | | | | | | | Description: Added code to generate sizes of Fortran REAL and DOUBLE PRECISION types. This will "almost" eliminate H5f90i.h file that defines C stubs datatypes. Solution: Platforms tested: heping with g95 (-r8, -d8 and default settings) Misc. update:
* [svn-r11359] Purpose: Bug fix/maintenance/new featureElena Pourmal2005-09-071-0/+2
| | | | | | | | | | | | | | | | | | | Description: Currently we are trying to match excatly Fortran and C types. Unfortunately, some systems (SX-6) provide compiler switches (-ew) that make ALL Fortran types to be at least of size 8. As a result, Fortran library cannot be compiled. Solution: Allow INTEGER(HID_T) type to be 8 bytes if necessary. The values of this type are originated in the C library and can be safely passed back and forth. Please note that we cannot do the same for INTEGER(SIZE_T) type. Fortunately there is a switch that allows size_t be 8 bytes for both C and Fortran compilers. Platforms tested: It is a minor change, therefore SX-6 only; daily tests will do the rest :-) Misc. update:
* [svn-r11330] Purpose:James Laird2005-08-312-22/+2
| | | | | | | | | | | | | | | | | Bug fix Description: Errors on sol may have been due to "make clean" being run both manually and by automake. Removed the manual run. Also cleaned c++/examples/ii_files directory created by some compilers (e.g., on modi4). Solution: This does mean that examples directories will not be cleaned by 'make clean'. Platforms tested: sol, mir, heping, modi4
* [svn-r11323] Purpose:Albert Cheng2005-08-315-5/+10
| | | | | | | | | | | | | | | | 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-305-5/+5
| | | | | | | | | | | | | | | | | | | | | | | 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-r11303] Purpose:Albert Cheng2005-08-265-122/+75
| | | | | | | | | | | | 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.