summaryrefslogtreecommitdiffstats
path: root/fortran
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r16196] Description:Scot Breitenfeld2008-12-157-6/+32
| | | | | | | | added: !DEC$ATTRIBUTES reference :: for character strings being passed in to C to fix bug in VMS.
* [svn-r15942] Purpose: Bug Fixes and Libtool UpgradeMike McGreevy2008-10-245-30/+30
| | | | | | | | | | | | | | | | | | Description: - Remove need to set LD_LIBRARY_PATH when using shared szip library. - Libtool 2.2.6a is now used to generate libraries. - 'make check install' dependency bug is fixed, and should no longer break the build. - removed hard coding of shell in config/commence.am, as this causes problems on Solaris with the new version of libtool. - RELEASE.txt with appropriate changes. Tested: - kagiso, smirom, linew (merged from 1.8, pretty quick tests)
* [svn-r15913] Bug fix: #933Albert Cheng2008-10-213-67/+16
| | | | | | | The information of libhdf5_fortran.settings are all included in libhdf5.settings now. Remove it from the source. Tested: kagiso with fortran and C++.
* [svn-r15903] Purpose: Fix Windows compiler errorScott Wegner2008-10-201-4/+5
| | | | | | | | Description: Visual Studio compiler was complaining because variables were declared mid-function, when they should be declared at the top. This checkin simply moves the declarations to the top. Tested: Simple edit, VS2005 only
* [svn-r15879] Description:Scot Breitenfeld2008-10-154-167/+145
| | | | Moved the H5E flags from H5fortran_flags.f90 into the H5E module, we therefore don't need H5fortran_flags.f90.
* [svn-r15864] Description:Scot Breitenfeld2008-10-141-11/+46
| | | | | | | | We check for all the available reals in Fortran and if 16 byte real is available in Fortran and not in C then we disable the 16 byte real in Fortran. Also added the test for 12 byte real in Fortran so that it can match the 12 byte float in C if available. Note: if KIND=10 and KIND=16 are both avaiable as when using g95, then it may be the case on some systems that the size of KIND=10 and KIND=16 are both 16 bytes, so the program will print twice in H5fort_type_defines.h #define H5_FORTRAN_HAS_REAL_16 which should not cause any errors.
* [svn-r15851] Description:Scot Breitenfeld2008-10-131-751/+799
| | | | Added additional H5T definitions: H5T_NATIVE_REAL_4, H5T_NATIVE_REAL_8, H5T_NATIVE_REAL_16
* [svn-r15850] Description:Scot Breitenfeld2008-10-131-0/+88
| | | | Removed refences to "double" so that we don't distinguish between writeDoubleToFiles and writeFloatToFiles such that we match the definitions of c_float_4, c_float_8, and c_float_16 in H5f90i_gen.h
* [svn-r15849] Description:Scot Breitenfeld2008-10-133-76/+374
| | | | | | Changed the datatype test programs such that we don't distinguish between writeDoubleToFiles and writeFloatToFiles so that we only define c_float_4, c_float_8, and c_float_16 in H5f90i_gen.h Added the definition of real_4_f, real_8_f, real_16_f depending on if they are available, also in H5f90i_gen.h
* [svn-r15848] Description:Scot Breitenfeld2008-10-132-14/+39
| | | | Cosmetic changes: added additional comments at the start of the file.
* [svn-r15822] Bug fix: #1090Albert Cheng2008-10-082-8/+8
| | | | | | | | | | | The custom rules for installing h5cc, h5fc, and the fortran modules in fortran and in hl/fortran don't use $(DESTDIR). Added it to all those rules. Tested: kagiso both serial and parallel with fortran and cxx enabled. Tested by: make install make DESTDIR=/tmp/acheng install diff -r /tmp/acheng/.../hdf5 hdf5
* [svn-r15749] Description:Scot Breitenfeld2008-10-012-4/+3
| | | | Removed blank lines
* [svn-r15748] Fixed spelling errorsScot Breitenfeld2008-10-011-3/+2
|
* [svn-r15744] Description:Scot Breitenfeld2008-10-012-15/+0
| | | | Removed extraneous comments and unused code.
* [svn-r15737] Description:Scot Breitenfeld2008-09-308-19/+123
| | | | | Changed the tests so that the *.h5 test files are removed depending on the HDF5_NOCLEANUP environment variable. bug 696
* [svn-r15704] I changed the return values of H5Fget_obj_ids and ↵Raymond Lu2008-09-264-19/+43
| | | | | | | | H5Fget_obj_count to ssize_t and modified C++ and Fortran API functions. This is for bug #1245. Tested on smirom, linew, and kagiso.
* [svn-r15696] Description:Scot Breitenfeld2008-09-251-5/+7
| | | | Fix for test of H5Tget_native_type_f
* [svn-r15693] Description:Scot Breitenfeld2008-09-242-30/+58
| | | | Added test for h5tget_native_type_f
* [svn-r15692] Description:Scot Breitenfeld2008-09-241-16/+20
| | | | Added the optional 'mounted' variable to H5Gget_info_by_idx_f/H5Gget_info_f/H5Gget_info_by_name_f to see that it passes the correct values.
* [svn-r15691] Cosmetic changes.Scot Breitenfeld2008-09-241-3/+2
|
* [svn-r15690] Description:Scot Breitenfeld2008-09-242-71/+70
| | | | In nH5Sget_select_bounds_c swapped array bounds to account for C and Fortran reversed array notation.
* [svn-r15689] Description:Scot Breitenfeld2008-09-242-6/+224
| | | | Added additional tests for h5sget_select_bounds_f
* [svn-r15688] Description:Scot Breitenfeld2008-09-232-1/+756
| | | | | Added additional tests for h5sget_select_hyper_blocklist_f and 5sget_select_elem_pointlist_f
* [svn-r15687] Description:Scot Breitenfeld2008-09-232-27/+64
| | | | | | | | Fixed nh5sget_select_hyper_blocklist_c nh5sget_select_elem_pointlist_ for bug 1319. by transposing arrays for C-FORTRAN convention.
* [svn-r15659] Purpose: Fix Windows Fortran DLL definitions fileScott Wegner2008-09-191-40/+41
| | | | | | | | Description: We recently moved the Windows-specific fortran source code into a separate file for specifying DLL exports. However there were a couple definitions missing in the port from 1.8 to the trunk branch. This checkin correctly includes the .def file into our Windows project, and adds the missing definitions to hdf5_fortrandll.def. Tested: VS2005 on WinXP
* [svn-r15633] Description:Scot Breitenfeld2008-09-162-1/+205
| | | | Added test routines for h5t_get/set_fields_f.
* [svn-r15630] Description:Scot Breitenfeld2008-09-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | In nh5tget_offset_c: (1) The return value type of H5Tget_offset was set to size_t where it should be of type int. (2) Was if offset was equal to 0 it returned the error code of -1 back to Fortran, this was changed to return an error code of -1 when the offset value is < 0. In h5tget_norm_c: (1) was if the return value of H5Tget_norm = 0 it would return an error code to Fortran, but from enum of the return value: typedef enum H5T_norm_t { H5T_NORM_ERROR = -1, /*error */ H5T_NORM_IMPLIED = 0, /*msb of mantissa isn't stored, always 1 */ H5T_NORM_MSBSET = 1, /*msb of mantissa is always 1 */ H5T_NORM_NONE = 2 /*not normalized */ /*H5T_NORM_NONE must be last */ } H5T_norm_t; only when -1 is returned is there an error, changed it to return an error only if the value of H5T_NORM_ERROR = -1.
* [svn-r15628] Description:Quincey Koziol2008-09-1612-377/+377
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r15598] Description:Scot Breitenfeld2008-09-0816-3022/+861
| | | | Moved all the windows DLL function declarations to one file (hdf5_fortrandll.def).
* [svn-r15591] Description:Scot Breitenfeld2008-09-031-7/+7
| | | | Changed the detection of double back which was failing on 32 bit machines.
* [svn-r15573] Description:Scot Breitenfeld2008-09-012-8/+31
| | | | Compiles either H5test_kind.f90 or H5test_kind_SIZEOF.f90 depending on the availability of intrinsic Fortran function SIZEOF (indicated by the status of FORTRAN_HAVE_SIZEOF).
* [svn-r15572] Desciption:Scot Breitenfeld2008-09-011-125/+117
| | | | Was not returning the correct fortran types when -i8 and -r8 flag was specified, fixed. This code is now depreciated and only used when SIZEOF function is not available, H5test_kind_SIZEOF.f90 should be used instead.
* [svn-r15571] Description:Scot Breitenfeld2008-09-011-0/+100
| | | | H5test_kind_SIZEOF.f90 is the preferred portable program used for Fortran type detection. It uses the intrinsic Fortran function SIZEOF. This program should be used instead of H5test_kind.f90 if the SIZEOF function is available. Most of the newer Fortran compilers support SIZEOF.
* [svn-r15543] Description:Scot Breitenfeld2008-08-271-0/+1
| | | | | Put the DOUBLE PRECISION interfaces in a separate module and added a USE statement for the module. The interfaces are included/excluded depending on the state of FORTRAN_DEFAULT_REALisDBLE_F which detects if the default REAL is DOUBLE PRECISION. This allows the library to be compiled with -r8 Fortran flag without the user needing to change the source code.
* [svn-r15541] Description:Scot Breitenfeld2008-08-268-1990/+2115
| | | | | Put the DOUBLE PRECISION interfaces in a separate module. The interfaces are included/excluded depending on the state of FORTRAN_DEFAULT_REALisDBLE_F which detects if the default REAL is DOUBLE PRECISION. This allows the library to be compiled with -r8 Fortran flag without the user needing to change the source code.
* [svn-r15462] Description:Quincey Koziol2008-08-121-2/+2
| | | | | | | | Correct compiler warnings from Visual Studio. Tested on: Mac OS X/32 10.5.4 (amazon) w/FORTRAN & C++ (Too minor to require full h5committest)
* [svn-r15423] Description:Scot Breitenfeld2008-07-291-1/+1
| | | | Fix the error of passing an array to a scalar.
* [svn-r15420] Description:Scot Breitenfeld2008-07-281-1/+1
| | | | | | | | Initialized a string with a space instead of a blank i.e. var = '' is now var = ' ' This fixes a problem with AIX for bug 1252
* [svn-r15418] Description:Scot Breitenfeld2008-07-281-109/+109
| | | | | | | | | | | | | | | | Added missing comma, i.e. WRITE(*, "("" subroutine i"" i2.2,""()"")") j should be WRITE(*, "("" subroutine i"", i2.2,""()"")") j etc... as noted in bug 1251 and NAG compiler. Checked the write fix using Sun f95, g95, pgf90, gfortran, ifort, absoft and all gave the correct write output.
* [svn-r15417] Description:Scot Breitenfeld2008-07-281-4/+4
| | | | | | | Changed the INTENT for total_error to be consistantly INTENT(INOUT) as noted in bug 1251
* [svn-r15378] Description:Scot Breitenfeld2008-07-161-126/+126
| | | | Added optional parameter "mounted" to H5Gget_info_f, H5Gget_info_by_idx_f, H5Gget_info_by_name_f
* [svn-r15377] Description:Scot Breitenfeld2008-07-162-23/+85
| | | | Added optional "mounted" parameter to H5Gget_info_f, H5Gget_info_by_idx_f, H5Gget_info_by_name_f
* [svn-r15233] Description:Scot Breitenfeld2008-06-185-2/+93
| | | | | Added the function h5tget_native_type and associated requirements.
* [svn-r15183] Purpose: _WIN32 macro cleanupScott Wegner2008-06-091-4/+0
| | | | | | | | | | Description: As part of our Windows cleanup, we try to remove windows-specific tweaks in the source code. There are many instances where Windows code is introduces via ifdef's. We re-evaluate whether they are still required, and found that many of them are not. Others we change to "feature"-specific code, rather than Windows-specific. Tested: VS2005 on WinXP VS.NET on WinXP h5committest (kagisopp, smirom, linew)
* [svn-r15110] Description:Scot Breitenfeld2008-05-301-3/+1
| | | | | | Changed the error output formatting so that the test status writes to standard out looks correct when using the sun compiler (it did not correctly tab the output).
* [svn-r15075] Description: removed temporary files created by test programs.Scot Breitenfeld2008-05-271-1/+7
|
* [svn-r15074] Maintenance: This check-in should fix daily tests failures:Elena Pourmal2008-05-277-102/+25
| | | | | | | | Uninstall target had non-existant file to remove; error_handler module triggered a race condition for parallel make with Intel and PGI compilers, therefore we removed the module and created a subroutine instead. Platforms tested: kagiso with GNU, Intel and PGI compilers.
* [svn-r15070] Description:Scot Breitenfeld2008-05-232-4/+4
| | | | fixed typo (minor fix)
* [svn-r15069] Purpose:Scot Breitenfeld2008-05-232-16/+69
| | | | | | | | Added code to remove module files when make clean Description: The module files were not being removed when make clean and caused compiling errors. fixed.
* [svn-r15067] Maintenance: Daily tests failed on several platforms due to the ↵Elena Pourmal2008-05-222-8/+8
| | | | | | | broken dependencies when srcdir and parallel make are used; fixed (I hope) Platforms tested: kagiso with srcdir and parallel make; pgcc and pgf90 -i8 compilers