summaryrefslogtreecommitdiffstats
path: root/fortran/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9824] Elena Pourmal2005-01-141-3/+7
| | | | | | | | | | | | | | | | Purpose: Bug fix Description: test reported failure because of the wrong testing condition when when SZIP had only decoder Solution: Fixed Platforms tested: copper with without SZIP with SZIP (encoder/decoder) with SZIP (decoder only) Misc. update:
* [svn-r9822] Purpose: Bug fixElena Pourmal2005-01-131-0/+1
| | | | | | | | | | | | | Description: Search path for the Fortran modules was hardcoded in the acsite.m4 file Solution: Since I removed the path from the acsite.m4 file, I added the search path for the Fortran modules; search path is defined by using configure variables. Platforms tested: heping, arabica, copper (parallel) Misc. update:
* [svn-r9810] Purpose: Bug fixElena Pourmal2005-01-121-1/+1
| | | | | | | | | | | | Description: libh5test_fortran.a(la) files were installed by make install Solution: Figure out why C test library is not installed and used the same trick. Platforms tested: eirene, mir (too minor for h5committest) Misc. update:
* [svn-r9804] Purpose: Bug fixElena Pourmal2005-01-112-17/+24
| | | | | | | | | | Description: Fortran szip test was broken; brought changes from 1.7 Solution: Platforms tested: mir, copper Misc. update:
* [svn-r9787] Purpose:Albert Cheng2005-01-095-11/+13
| | | | | | | | | | | | | | bug fix and document. Description: Unix and probably other systems too, has a small exit value range such as 1 byte. So, exit(256) may end up the same as exit(1). Added caution message to the exit wrappers and changed test programs to exit(1) when errors detected. Platforms tested: tested in copper. verified here that exit(256) was treated just like exit(0).
* [svn-r9729] Purpose:Quincey Koziol2004-12-2913-52/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r9480] Purpose:MuQun Yang2004-10-282-2/+7
| | | | | | | | | | | | | | | | | | Fix small fortran bug, Add DLL token to export and import functions. Description: rountine "verify" is not exported for DEC fortran. Two routines at t.c need to be exported. Solution: Platforms tested: XP(VC 6.0 + DEC Fortran 6.6c) Heping(Linux 2.4 gcc+pgf90) Misc. update:
* [svn-r9152] Elena Pourmal2004-08-252-0/+71
| | | | | | | | | | | | | Purpose: Maintenance Description: Added new test for h5iget_file_id_f and brought back Quincey's test for h5premove_filter_f from 1.7 branch Solution: Platforms tested: OSF1 (lemieux), Solaris 2.8 (sol), AIX 5.1 (copper) Misc. update:
* [svn-r8835] Elena Pourmal2004-07-081-0/+16
| | | | | | | | | | | | | | Purpose: Maintenance Description: Added h5fget_name_f and h5fget_filesize_f subroutines and tests. Solution: N/A Platforms tested: arabica (32-bit), sol (64-bit). Will test on copper after this check-in. Misc. update:
* [svn-r8798] Elena Pourmal2004-07-031-1/+1
| | | | | | | | | | | | | | Purpose: Maintenance Description: H5_SZIP_CHIP_OPTION_MASK was deleted from the list of the available parameters for the H5Pset_szip function. Solution: Updated Fortran source, tests and documentation to reflect this change. Platforms tested: arabica (too small for h5committest) Misc. update:
* [svn-r8753] Nat Furrer2004-06-281-1/+30
| | | | | | | | | | | | | | | | | | | Purpose: Handled SZIP without the encoder present. Description: It is now an error for a user to try to create, extend, or write to a dataset without the encoder present in their SZIP library. Added H5Zget_filter_info to provide users with a way to query HDF5 about the presence (or lack thereof) of the SZIP encoder. Platforms tested: Windows Verbena Arabica Copper Misc. update:
* [svn-r8401] Purpose:MuQun Yang2004-04-221-18/+18
| | | | | | | | | | | | | | | | macro change Description: $FOODEC cannot be recognized by DEC visual fortran. change it back to $DEC. Solution: Platforms tested: windows 2000 visual fortran, doesn't need to be tested on other platforms since it is windows specific. Misc. update:
* [svn-r8357] Elena Pourmal2004-04-1515-53/+50
| | | | | | | | | | | | | | | | | | | | | Purpose: Maintenance Description: Fortran functions h5dwrite/read_f and h5awrite/read_f were overloaded with the dims parameter being of type INTEGER. It was a design flaw. dims should be of type INTEGER(HSIZE_T). Overloading was done to assure backward compatibility of 1.4.* branch with hdf5 1.2.* branch. We promised to remove the old function with INTEGER dims in 1.6.0. It was removed from the documentation but was not removed from the source code. Solution: Finally cleaned up the code. Platforms tested: Windows 2000 with DEC Fortran, LInux with Intel Fortran, Solaris 2.7 32/64-bit mode. Misc. update:
* [svn-r8012] Purpose:Quincey Koziol2004-01-021-3/+12
| | | | | | | | | | | | | | | | Bug fix Description: Fix szip FORTRAN tests.. Solution: Increase the chunk size to be bigger than the szip 'pixels per block'. Also add in code that checks for a maximum number of errors and doesn't keep reporting that thousands of errors have occurred. Platforms tested: Linux 2.4 (verbena) w/szip & FORTRAN Not tested w/h5committest since this combination isn't covered by it.
* [svn-r7936] Purpose:Quincey Koziol2003-12-112-34/+75
| | | | | | | | | | | Add new feature Description: Add FORTRAN wrappers for new H5I routines. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7617] Purpose:Quincey Koziol2003-10-131-1/+1
| | | | | | | | | | Bug fix Description: "group" test was not updating total number of errors correctly. Platforms tested: None, just eyeballed it - too minor of a fix to require testing
* [svn-r7606] Elena Pourmal2003-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: Type of the third argument to the h5pset(get)_cache_f subroutines was incorrect (INTEGER instead of INTEGER(SIZE_T)). I was confused while doing my previous change since fortran docs were wrong, and the type of the same argument in 1_4 branch is INTEGER. I forgot to check carefully #if def for 1_4 branch in the C code, and encountered only int type for the corresponding C functions. Since Fortran doesn't support backward compatibility, type of the argument should be always in sync with the latest branch. Solution: ALWAYS, ALWAYS pay attention to compiler's warning. Fixed type to be INTEGER(SIZE_T). Platforms tested: kelgia, copper 64-bit mode, solaris 2.7 64-bit mode. Misc. update:
* [svn-r7602] Elena Pourmal2003-10-101-0/+18
| | | | | | | | | | | | | | Purpose: Bug fix Description: Parameter rdcc_nelmts of the h5pget_cache_f subroutine had wrong INTEGER(SIZE_T) instead of INTEGER type. Solution: Fixed the type Platforms tested: arabica in 64-bit mode (where INTEGER(SIZE_T) is not the same as INTEGER) Misc. update:
* [svn-r7560] Purpose:Quincey Koziol2003-10-072-0/+83
| | | | | | | | | | | | | | Add feature Description: Add H5Fget_freespace() routine, to check the amount of free space in a file. This information is only valid until the file is closed currently, however (until we start recording the free space information in the file itself). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7343] Purpose:Albert Cheng2003-08-1119-43/+24
| | | | | | | Updated, cleanup or added Copyright notice. Platforms tested: h5committested
* [svn-r7129] Purpose:Quincey Koziol2003-07-011-1/+1
| | | | | | | | | | Bug fix Description: Propogate szip flag changes into FORTRAN source & tests Platforms tested: h5committest
* [svn-r7062] Elena Pourmal2003-06-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: On Cray SV1 multi-driver test failed while closing access property list. This test creates a file using multi driver, writes dataset, closes the file; reopens the file and reads back data. At some point I commented out call to h5pget_access_plist_f, but forgot to comment out corresponding h5pclose_f. Solution: removed comment on the h5pget_access_plist_f subroutine. Platforms tested: Cray SV1, copper with parallel, Winodws with VF, arabica. There is some caveat left. I have a call to h5pget_fapl_multi_f that follows h5pget_access_plist_f, it was also commented out. This call works everywhere except Windows. Fortran part looks OK, since my test program uses h5pget_fapl_multi_f before it closes the file in the same test, and it works. Probably it is a library bug that needs confirmation. For now I will leave second h5pget_fapl_multi_f commented out. Misc. update:
* [svn-r7059] Purpose:Quincey Koziol2003-06-181-1/+1
| | | | | | | | | | | Refactoring Description: Track changes to H5Fget_obj_<foo> API functions. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7031] Elena Pourmal2003-06-121-1/+0
| | | | | | | | | | | | | | Purpose: Small bug fix Description: Variable flag was declared twice. That caused compilation to fail on True64 system. Solution: Deleted one of the declarations. Platforms tested: True64 at PSC and arabica. Change is trivial, so h5commitest is not necessary. Misc. update:
* [svn-r6996] Purpose:Albert Cheng2003-06-091-8/+10
| | | | | | | | | | | | | | | | | | | | | | | bug fix and cleanup Description: Previous change messed things up that fortranlib_test was linked with multiple MAIN because $(TEST_OBJ) was used as if it was for fortranlib_test only. Solution: Created a separated $(FORTLIBTEST_OBJ) for the fortranlib_test test. Adjusted other related symbol names. Also, removed DISTCLEAN=* which held files that should have been removed in MOSTLYCLEAN. Platforms tested: "h5committested" (modi4, sol, verbena). In the process of running fortran tests in arabica and kelgia. Misc. update:
* [svn-r6994] Purpose:Albert Cheng2003-06-091-2/+5
| | | | | | | | | | | | | Cleanup Description: Moved the cleanup of configure generated files to DISTCLEAN as that should be the place they get removbed. Platforms tested: Tested in copper only as change is trivial. Misc. update:
* [svn-r6967] Elena Pourmal2003-06-041-1/+2
| | | | | | | | | | | | | Purpose: Maintenance Description: Updated test to use new type of the argument for the h5pset(get)_preserve_f function Solution: Platforms tested: arabica nad verbena Misc. update:
* [svn-r6950] Purpose:Quincey Koziol2003-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | API tweak. Description: The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving the 'start' and 'end' coordinates, which is counter to the rest of the dataspace API. Solution: Change the arrays to be hssize_t instead. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested Misc. update: Updated all docs for this change. Added 1.4 compatibility #ifdef's
* [svn-r6685] Elena Pourmal2003-04-154-2/+41
| | | | | | | | | | | | | | | | Purpose: Added copyright statement; cleaned code and fixed bugs for Windows and Cray T90IEEE Description: Windows and Cray ports exposed few typos in the source code that caused tests to fail Solution: Added copyright statement and clean the code. Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000 Only static tests (both debug and release) passed on Windows. DLLs have multiple problems ;-) Misc. update:
* [svn-r6642] Elena Pourmal2003-04-122-0/+215
| | | | | | | | | | | | | | | | | | Purpose: Catching up with C library Description: I added tests for new functions h5pset_szip_f h5pget_filter_by_id_f h5pall_filters_avail_f I am not sure how to test h5pmodify_filter_f. Solution: Platforms tested: arabica (with and without SZIP Library), modi4 (with SZIP and parallel) burrwhite (with SZIP and PGI C and Fortran compilers) Misc. update:
* [svn-r6602] Purpose:Quincey Koziol2003-04-091-2/+1
| | | | | | | | | | | | | | | | | | Code cleanup Description: Adjusted parameters for fortran wrappers of H5Pset_shuffle to match the changes to the C API function. Solution: Platforms tested: FreeBSD 4.8 (sleipnir) w/szip Linux 2.4 (sleipnir) w/szip Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel Misc. update:
* [svn-r6574] Elena Pourmal2003-04-022-0/+226
| | | | | | | | | | | | | | Purpose: Maintenance Description: New fortran APIs h5pset_fapl_multi and h5pget_fapl_multi have been added along with the new tests. Solution: Platforms tested: burrwhite with PGI compilers, arabica and modi4 with --enable-parallel Misc. update:
* [svn-r6495] Elena Pourmal2003-03-195-2/+135
| | | | | | | | | | | | | | | | | | | | | Purpose: Catching up with the C library Description: Added tests for the follwoing new fortran functions h5iget_name_f h5tis_variavle_str_f h5zunregister_f h5zfilter_avail_f h5pset_shuffle_f h5pset_fletcher32 h5pset_edc_check_f h5pget_edc_check_f h5dfill_f Solution: Platforms tested: arabica(C and F90), burrwhite (pgcc and pgf90), modi4 (F90 and parallel) Misc. update:
* [svn-r6464] Elena Pourmal2003-03-055-5/+494
| | | | | | | | | | | | | | | | | | Purpose: Maintenance Description: * Added support for generic properties. * Added support for time allocation properties. * Added support for variable length datatypes (only datatypes based on INTEGER, REAL and CHARACTER Fortran types are supported). * added some missing functions Solution: I am checking in new Fortran APIs and their man pages to support 1.5 features listed above. Not all APIs have tests yet. APIs were written in Fall 2002, and I am afraid that I will loose the code or totally forget what I did if I wait longer. ;-) Platforms tested: arabica (fortran), eirene (fortran), modi4 (parallel, fortran)
* [svn-r6443] Elena Pourmal2003-02-272-0/+99
| | | | | | | | | Purpose: Bug fix Description: Added tests for enumeration types. Platforms tested: modi4, artabica, eirene
* [svn-r6138] Purpose:Albert Cheng2002-11-263-0/+12
| | | | | | | | | | | | | | | | | | Improvement Description: The fortran test code did not exit with error like C programs do. Without the appropriate exit code, make or shell could not tell the fortran test program has encountered errors. So, make continues on even when some fortran tests have failed. Solution: Consultant advised to use "CALL exit(code)" to simulate what C programs do. Though this is not standard Fortran, he has not seen it failed to work in most fortran compilers thought some of them, like intel compiler, may need to link in an extra library. Platforms tested: Tested on burrwhite (linux 2.4), eirene (linux 2.2), sol (Solaris 8, serial and mpich parallel), modi4. Did not use the standard commit test since this is a purely fortran fix.
* [svn-r5967] Elena Pourmal2002-10-082-1/+4
| | | | | | | | | | | | | Purpose: Make Intel (and other) C and F90 compilers happy Description: There were several warnings about missing function prototypes and wrongly defined string in the test program. Solution: Fix the code to include proper header files and function prototypes. Fix the string. Platforms tested: Platinum (IA32) and arabica (Solaris 2.7)
* [svn-r5958] Elena Pourmal2002-10-021-0/+18
| | | | | | | | | | | | | | Purpose: Added missing fortran functions h5set(get)_buffer_f. Also added docs and tests for them. Solution: Currently functions do not accept conversion and background buffers. This corresponds to H5set(get)_buffer call with buffer pointers set to NULL. If there is a demand, I can overload the functions to have new parameters and go through all trouble creating functions for all supported datatypes. Platforms tested: Solaris 2.7, Linux 2.2., IRIX64-6.5
* [svn-r5956] Elena Pourmal2002-10-013-0/+144
| | | | | | | | | | | | | | | | | | Purpose: Added new F90 APIs Description: I added new F90 APIs, tests, and documentation for the following functions: h5fget_obj_count_f h5pequal_f h5tget_member_index_f h5fget_obj_ids_f h5pget_fclose_degree_f h5pset_fclose_degree_f Documentation for exisiting functions was missing: h5freopen_f, h5fflush_f, h5fmount_f, h5unmount_f, h5fget_create_plist_f, h5fget_access_plist_f. Platforms tested: Solaris 2.7, Linux 2.2 and IRIX64-6.5
* [svn-r5948] Elena Pourmal2002-09-251-6/+18
| | | | | | | | | | Purpose: Added new fortran functions Description: Source code, tests and documentation for h5glink2_f and h5gmove2_f functions were added. I also added missing man page for h5glink_f Platforms tested: Solaris 2.7, IRIX64-6.5 and Liniux 2.2
* [svn-r5946] Elena Pourmal2002-09-241-1/+17
| | | | | | | | | | | | | | Purpose: Added missing fortran functions. Description: Four Library Fortran API functions have been added: h5get_libversion_f, h5_check_version_f, h5garbage_collect_f and h5dont_atexit_f. Only first two functions were tested. Documentation file and RELEASE.txt were updated. Platforms tested: Solaris 2.7, IRIX64-6.5 and Linux 2.2
* [svn-r5944] Elena Pourmal2002-09-241-0/+2
| | | | | | | | | | | | | | Purpose: Bug fix Description: Search path for include files to build h5test_fortran.a did not have hdf5_builddir and hdf5_srcdir directories. Compilation failed when scrdir configure flag was used. Solution: Modified Makefile.in to include the directories into the search path. Platforms tested: modi4 with srcdir on AFS and build dir in $SCR using --enable-parallel --enable-fortran flags.
* [svn-r5940] Elena Pourmal2002-09-2319-354/+906
| | | | | | | | | | | | | | | | | | | | Purpose: Bug fix, code improvement Description: Fortran tests didn't cleanup created files. Also HDF5_PREFIX and HDF5_PARAPREFIX were not used to specify location of the files. There was a redundant file in the testpar directory that contained an error reporting function used by both serial and parallel tests. Solution: Created library h5test_fortran.a that contains functions used by the serial and parallel tests. It includes Fortran and C functions that may be called from Fortran programs to report errors, to modify file names and to cleanup files after run. Modified test code to use new functions. Platforms tested: Linux 2.2 (eirene) serial IRIX64 (modi4) parallel with HDF5_PREFIX and HDF5_PARAPREFIX set to $SCR Solris 2.7 with mpich 1.2.4 with HDF5_PARAPREFIX set to /tmp/epourmal
* [svn-r5492] Elena Pourmal2002-05-315-13/+13
| | | | | | | | | | | Purpose: Code clean up. Description: Many F90 compilers were not happy about character*(*) declarations. Solution: Used F90 character(len=*) declarations. Platforms tested: Solaris 2.7 and Linux 2.4
* [svn-r5321] Elena Pourmal2002-05-022-5/+7
| | | | | | | | | Purpose: Bug#670 fix Description: Added tests to use overloaded subroutines. Platforms tested: Windows, Solaris 2.7, IRIX64-6.5
* [svn-r4866] Elena Pourmal2002-01-261-1/+2
| | | | | | | | | | | | Purpose: Maintenance Description: Several compiler's warnings caused Hitachi SR8000 F90 and C compilers to fail. Solution: Fixed the code to eliminate warnings. Platforms tested: O2K (modi4) and Solaris 2.7 (arabica)
* [svn-r4638] Elena Pourmal2001-11-273-1/+54
| | | | | | | | | Purpose: Maintenance Description: Added tests for the H5E Fortran interface Platforms tested: arabica and eirene
* [svn-r4298] Bill Wendling2001-08-011-0/+3
| | | | | Purpose: Regenerated Dependencies Files
* [svn-r4166] Bill Wendling2001-07-091-2/+0
| | | | | | | | | Purpose: Fix Description: Porting fixes from the 1.4 branch to the 1.5 branch. This fixes the dependency problem in the testpar/ directory and also the problem with module includes on the command line.
* [svn-r3861] Elena Pourmal2001-04-2711-60/+126
| | | | | | | | | | | Purpose: Code maintenance Description: read/write APIs have been changed. Solution: Made necessary changes to the tests. Platforms tested: Windows 98, Linux, Solaris 2.7, O2K, T3E