summaryrefslogtreecommitdiffstats
path: root/fortran
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r18226] Description:Scot Breitenfeld2010-02-101-6/+11
| | | | | | Added H5T_CSET_UTF8_F to the list of possible values for cset in the description of h5tset_cset_f and h5tget_cset_f. Tested: N/A, edited comments only.
* [svn-r18217] Snapshot version 1.9 release 60HDF Tester2010-02-071-1/+1
|
* [svn-r18212] Description:Quincey Koziol2010-02-051-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring revisions from Coverity fixing branch to trunk: r18184: Fixed Coverity issue 373. Allocated memory freed in line 762 in case of error. r18185: Fixed Coverity issues 357 & 358. Added check for NULL pointer before use. r18186: Fix coverity item 65. Added code to h5unjam to correctly handle failures in read() and write, and also to correctly handle writes that write less than requested. r18187: Fix coverity items 115 and 116. Added code to H5Tenum.c to correctly close opened datatypes in case of failure. r18188: Fixed Coverity issue 46. Check that dataset->shared is not null when freeing memory after error. r18190: Fix coverity item 95. Added code to H5T_create_vlen to correctly close allocated datatype in case of failure. r18191: Fixed Coverity error 59. Checked sfirst for -1 value before use in line 10533. r18192: Fix Coverity items 121 and 28 Added Asserts: 121: assert that all dimensions of count have values greater than zero. 28: assert curr_span pointer is not null before dereference. Note: still need too add checks in hyperslab APIs that fail when count values are zero, and appropriate tests. r18194: Fixed Coverity issues 61 & 62. Checked variable snpoints for value < 0 in line 218. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & production (already daily tested on coverity branch)
* [svn-r18199] Snapshot version 1.9 release 59HDF Tester2010-01-311-1/+1
|
* [svn-r18197] Description:Quincey Koziol2010-01-3069-8036/+8036
| | | | | | | | | Trim trailing whitespace from source code files with this command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r18157] Description:Quincey Koziol2010-01-236-566/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring back changes from Coverity session on 1/15/10: r18111: Fix Coverity issue #130: make certain that the cache gets freed on error. r18112: Fix Coverity issue #43 by making cache testing calls protected by 'pass' variable. r18113: Fix Coverity issue #129 by releasing the cache on error. r18115: Coverity #45 fix: patched an error check in H5Screate_simple to prevent future dereferencing of a NULL point. Added a verification in test/th5s.c. r18116: Fix Coverity issue #43 by releasing cache on error. r18117: Coverity #362,363 by adding HGOTO_DONE, freeing allocations and associated changes. REsolving coverity results #364-368, 369, 370-372, 377, 379, and 380. r18118: Fix Coverity issue #42: assert that cache & test specification pointer are valid. r18122: Coverity #362,363 by adding HGOTO_DONE and freeing allocations. This also takes care of #357,358. r18123: Coverity #359-361, 373-376: Added HGOTO_DONE(FAIL) statement after checking allocation for NULL. Verified allocation is freed in done block. r18128: Fixed coverity issue #10 -- removed dead code. Tested on: Mac OS X/32 10.6.2 (amazon)
* [svn-r18120] Snapshot version 1.9 release 58HDF Tester2010-01-171-1/+1
|
* [svn-r18107] bug 1673:Albert Cheng2010-01-125-20/+20
| | | | | | | | | | | | | | The mixed use of RUNTEST (original) and RUNTESTS (new) caused confusion. E.g., the timings in test/ was still using the old $RUNTEST. It made more sense to use $RUNTEST which is used by the dejagnu feature of automake. So, I changed all $RUNTEST or $RUNTESTS to $RUNEXEC. config/commence.am & config/conclude.am are the two files that got changes. Also fixed an error in test/Makefile.am. The rest are changed by bin/reconfigure. Tested: h5committested.
* [svn-r18100] SnapshotHDF Tester2010-01-101-1/+1
|
* [svn-r18098] Description:Scot Breitenfeld2010-01-081-14/+14
| | | | | | | | | | | | | Changed the link type definitions to match the changes made in the source. - ! H5L_LINK_SOFT_F - Soft link - ! H5L_LINK_EXTERNAL_F - External link - ! H5L_LINK_ERROR _F - Error + ! H5L_TYPE_HARD_F - Hard link + ! H5L_TYPE_SOFT_F - Soft link + ! H5L_TYPE_EXTERNAL_F - External link + ! H5L_TYPE_ERROR _F - Error Tested: jam (intel)
* [svn-r18097] Desciption:Scot Breitenfeld2010-01-081-14/+24
| | | | | | | | | | Changed comments to reflect changes made to the link_type names to match those in C (bug 1720) from, H5L_LINK_HARD_F, H5L_LINK_SOFT_F,H5L_LINK_EXTERNAL_F,H5L_LINK_ERROR_F to H5L_TYPE_HARD_F, H5L_TYPE_SOFT_F,H5L_TYPE_EXTERNAL_F,H5L_TYPE_ERROR_F MSB January 8, 2010. Tested: No source changed.
* [svn-r18074] Description:Scot Breitenfeld2010-01-081-8/+8
| | | | renamed the fortran constants H5L_LINK_*_F to H5L_TYPE_*_F to be consistent with C as noted in bug 1720
* [svn-r18059] SnapshotHDF Tester2010-01-031-1/+1
|
* [svn-r18057] Bug fix: 1192Albert Cheng2009-12-262-6/+16
| | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: Jam, both serial and parallel.
* [svn-r18047] SnapshotHDF Tester2009-12-201-1/+1
|
* [svn-r18012] SnapshotHDF Tester2009-12-131-1/+1
|
* [svn-r17973] SnapshotHDF Tester2009-12-071-1/+1
|
* [svn-r17949] Description:Scot Breitenfeld2009-12-021-19/+22
| | | | | | Added comments to subroutine arguments. Tested: jam
* [svn-r17902] SnapshotHDF Tester2009-11-171-1/+1
|
* [svn-r17775] Purpose:Mike McGreevy2009-10-281-1/+1
| | | | | | | | | | | | | | h5cc link-line reordering Description: Re-ordered flags in h5cc such that LDFLAGS appears after hdf5 library include path. This is to ensure third party library locations don't interfere with locating the correct version of hdf5 library. Tested: passed daily tests in 1.8 branch (as verified by Larry just now).
* [svn-r17742] Snapshot version 1.9 release 50HDF Tester2009-10-251-1/+1
|
* [svn-r17670] Snapshot version 1.9 release 49Larry Knox2009-10-181-1/+1
|
* [svn-r17628] Snapshot version 1.9 release 48Larry Knox2009-10-111-1/+1
|
* [svn-r17616] Purpose:Mike McGreevy2009-10-089-69/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CFLAGS overhaul Description: Modified the way configure handles CFLAGS. (note: all changes also apply to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS). 1. The configure process will now always preserve a user's CFLAGS environment variable setup. Any additional flags necessary for compilation added at configure time will be passed into the Makefiles as AM_CFLAGS, which is an automake construct to be used in addition to CFLAGS. This will allow a user to have the final say, as CFLAGS will always appear later in the compile line than AM_CFLAGS. Additionally, setting CFLAGS during make will no longer completely erase all flags set by configure, since they're maintained in AM_CFLAGS. 2. Additionally, where possible, flags previously being assigned directly into CFLAGS (and thus propagating into h5cc) have now been redirected into H5_CFLAGS, so they're used ONLY for compiling hdf5, and not embedded into the h5cc wrapper script as well. *Note that H5_CFLAGS ultimately is assigned into AM_CFLAGS for use in the Makefiles. Complete description of changes and build process will be included in a Configure Document that Elena and I are working on. 3. Removed unsupported config files. This includes: config/dec-osf* config/hpux11.00 config/irix5.x config/powerpc-ibm-aix4.x config/rs6000-ibm-aix5.x config/unicos* 4. Modified configure summary to display additional values. Specifically, appropriate AM_* variables are being shown, as well as H5_FCFLAGS and H5_CXXFLAGS, which were for some reason not already present. Tested: - H5committest - Tested on all THG / NCSA machines, using several combinations of the more prominent configure options (c++, fortran, szip, threadsafe, parallel, et cetera). (Thanks to Quincey for rysnc testing setup!) - With regards to new automated testing, anything *necessary* for compilation will be caught by the daily tests as it stands now. (i.e., if LDFLAGS is not properly set when szip is used, linking will fail). Additionally, with regards to which flags get into h5cc, if any *necessary* flags have been improperly removed, then daily tests should fail during make installcheck. Additional machine-specific desired behaviors and/or checks may have to be set up separately within the daily tests, so this is something to work on.
* [svn-r17589] Snapshot version 1.9 release 47Larry Knox2009-10-041-1/+1
|
* [svn-r17582] Description:Quincey Koziol2009-10-021-3/+11
| | | | | | | | | | | | | | | | | | | | | Bring changes from file free space branch back to the trunk. *yay!* Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.8 (amazon) in debug mode Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r17538] Snapshot version 1.9 release 46Larry Knox2009-09-271-1/+1
|
* [svn-r17498] Bug 1471 - H5Tset_order_f missing constant option H5T_ORDER_NONEScot Breitenfeld2009-09-182-41/+45
| | | | | | | - Fixed, added H5T_ORDER_NONE_F Tested: smirom (g95, gfortran, ifort, pgf90) linew
* [svn-r17487] Cleaned-up comments in h5lget_info_by_idxScot Breitenfeld2009-09-171-5/+10
|
* [svn-r17482] Scot Breitenfeld2009-09-157-36/+165
| | | | | | | | | | | | | | | Bug 1652 - h5lget_info_by_idx_f missing/broken functionalit * added returned val_sel, link_type and address that were missing In the process, fixed the integer type in H5lget_info_f for address and val_sel * wrote test for val_sel, address, and link_type returned values * to check address values added h5Oopen_by_addr_f function and test program. Tested: smirom (pgf90/pgcc, ifort/icc) linew jam (gcc/g95)
* [svn-r17473] Description:Scot Breitenfeld2009-09-141-0/+1
| | | | | | Declared the variable H5L_LINK_EXTERNAL_F need for failing with the portland compiler. Tested: jam (pgif90, pgcc)
* [svn-r17470] Bug fix:Scot Breitenfeld2009-09-111-5/+4
| | | | | | | | | | Bug 1653 - H5_LINK_* values defined in H5f90global.f90 are incorrect The Fortran EQUIVALENCE constant variables did not match those from the C definitions, fixed. Missed because there is not a Fortran test function that uses these constants. Tested: smirom (ifort, g95)
* [svn-r17446] Snapshot version 1.9 release 45Larry Knox2009-09-031-1/+1
|
* [svn-r17345] Purpose:Mike McGreevy2009-08-125-192/+407
| | | | | | | | | | | | | | | | | | | | | | | | Updating autotools Description: Installed new autotools and used them to reconfigure HDF5. - Automake upgraded to 1.11 - Autoconf upgraded to 2.64 - bin/reconfigure script edited to use new versions (on jam), and run to generate new configure script and Makefile.in's. - configure.in script edited to add "_cv_" to all AC_CACHE_VAL strings (in order to comply with new autoconf standard). Tested: Tested on machines jam, smirom, liberty, linew. Tested w/ features c++, fortran, parallel. Tested w/ compilers gcc, pgcc, icc. Further testing via Daily Tests should catch any other outliers. Upon passing DT's, I'll propogate the new tools into 1.8, hdf4, et cetera.
* [svn-r17343] Snapshot version 1.9 release 44Larry Knox2009-08-121-1/+1
|
* [svn-r17222] Description:Scot Breitenfeld2009-07-223-5/+4
| | | | | | Added filename argument to file_space routine to avoid conflicts of the files when running fortranlib_test_1_8.f90 and fortranlib_test.f90 at the same time (i.e. when running the tests in parallel). tested: smirom (ifort, pgf90, g95, gfortran), linew
* [svn-r17159] Snapshot version 1.9 release 43Larry Knox2009-07-061-1/+1
|
* [svn-r17135] Snapshot version 1.9 release 42Larry Knox2009-07-011-1/+1
|
* [svn-r17087] Description:Scot Breitenfeld2009-06-181-1/+2
| | | | | | changed LEN to LEN_TRIM tested: smirom
* [svn-r17049] Description:Scot Breitenfeld2009-06-151-7/+7
| | | | | | | Changed fprintf statements for printing unsigned int from %d to %u. Platforms tested: smirom
* [svn-r17047] Snapshot version 1.9 release 41Larry Knox2009-06-141-1/+1
|
* [svn-r17012] Snapshot version 1.9 release 40Larry Knox2009-06-071-1/+1
|
* [svn-r16995] Snapshot version 1.9 release 39Larry Knox2009-06-011-1/+1
|
* [svn-r16842] Bug fix:Albert Cheng2009-04-221-2/+2
| | | | | | | | | | | | | If the AR command has embedded shell separators such as the case of "AR = ar -X 64", $AR ends up as a blank. Solution: Put quotes around the command substitution string to protect against embedded separators. Applied the same to both AR and RANLIB assignments. Tested: At Up (AIX 5.3) only because that was where I discovered the error when AR is ar -X 64
* [svn-r16797] Changed Scot Breitenfeld2009-04-202-3/+5
| | | | | | | | | | | | | | H5D_CHUNK_CACHE_NSLOTS_DEFAULT_F H5D_CHUNK_CACHE_NBYTES_DEFAULT_F H5D_CHUNK_CACHE_W0_DEFAULT_F to H5D_CHUNK_CACHE_NSLOTS_DFLT_F H5D_CHUNK_CACHE_NBYTES_DFLT_F H5D_CHUNK_CACHE_W0_DFLT_F to get under the 31 limit for variable names
* [svn-r16796] Changed Scot Breitenfeld2009-04-202-9/+12
| | | | | | | | | | | | | | H5D_CHUNK_CACHE_NSLOTS_DEFAULT_F H5D_CHUNK_CACHE_NBYTES_DEFAULT_F H5D_CHUNK_CACHE_W0_DEFAULT_F to H5D_CHUNK_CACHE_NSLOTS_DFLT_F H5D_CHUNK_CACHE_NBYTES_DFLT_F H5D_CHUNK_CACHE_W0_DFLT_F to get under the 31 limit for variable names
* [svn-r16792] Description:Mike McGreevy2009-04-206-22/+52
| | | | | | | | | | | | - Updated bin/reconfigure to use latest version of automake (1.10.2). Re-generated Makefile.in's by running bin/reconfigure. - Added libtool version numbers to c++, fortran, hl, hl c++, and hl fortran libraries. Tested: jam, liberty, smirom
* [svn-r16780] Description:Scot Breitenfeld2009-04-173-4/+300
| | | | | | | | | | | | | | | Added tests for the new APIs: H5D_H5DGET_ACCESS_PLIST_F H5I_H5IIS_VALID_F H5P_H5PSET_CHUNK_CACHE_F H5P_H5PGET_CHUNK_CACHE_F Platforms tested: smirom: pgf90, ifort linew liberty: gcc43, gfortran43, gcc44, gfortran44
* [svn-r16777] Description:Scot Breitenfeld2009-04-172-0/+185
| | | | | | | | | | | Added APIs: H5P_H5PSET_CHUNK_CACHE_F H5P_H5PGET_CHUNK_CACHE_F Platforms tested: smirom: pgf90 ifort
* [svn-r16776] Description:Scot Breitenfeld2009-04-171-0/+9
| | | | | | | | | Added APIs: H5D_mp_H5DGET_ACCESS_PLIST_F H5I_mp_H5IIS_VALID_F H5P_mp_H5PSET_CHUNK_CACHE_F H5P_mp_H5PGET_CHUNK_CACHE_F