summaryrefslogtreecommitdiffstats
path: root/fortran/src
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r16768] Added definitionsScot Breitenfeld2009-04-162-2/+9
| | | | | | | | H5D_CHUNK_CACHE_NSLOTS_DEFAULT_F H5D_CHUNK_CACHE_NBYTES_DEFAULT_F H5D_CHUNK_CACHE_W0_DEFAULT_F used in cache/chunk functions.
* [svn-r16678] Description:Scot Breitenfeld2009-04-0716-1502/+1502
| | | | | | | | | Fixed warnings from absoft's compiler for !DEC$ statements. Solution: There should not be a space after !DEC$ statements, removed the spaces. Platforms tested: Jam with gcc and f95
* [svn-r16561] Purpose:Mike McGreevy2009-03-101-3/+3
| | | | | | | | | | | | | | | | | | Bug Fix Description: Fixing BZ #1381. The --includedir=DIR configure option, which is used to specify the installation location of C header files, did not work correctly as the path was hard-coded in config/commence.am. I'm presuming this is because an older version of automake didn't know where to put c header files. In any case, removing this line now defaults the includedir to the same directory that it is currently hard-coded to, and also fixes the configure flag to allow customization of this value. Tested: jam, liberty
* [svn-r16518] have 2 expected outputs for 2 h5ls runs depending if run on a ↵Pedro Vicente Nunes2009-02-261-0/+1
| | | | | | | big or little endian machine. Configure.in was modified to export a variable carrying endianess information to testh5ls.sh. This script then compares the current run with 2 expected outputs, one for a big-endian machine (linew was used to generate the output), other for little endian (jam was used to generate the output) the way h5ls prints types, it starts searching for NATIVE types first. One solution would be h5ls not to detect these native types, using for example the same print datatype function that h5dump does, that would make the output look the same on all platforms ("32-bit little-endian integer" would be printed instead). Drawback, this "native" information would not be available. Other solution is to have not one but 2 expected outputs and make the shell script detect the endianess and compare with one output or other tested: h5committest
* [svn-r16489] Fixed bug #1459 by eliminating the macro long_long and ↵Allen Byrne2009-02-182-13/+13
| | | | | | | | | | | replacing all instances with long long. Tested: h5comittest fedora 10 x64 Vista 32, VS2005, IVF101 XP32, Cygwin
* [svn-r16362] Description:Scot Breitenfeld2009-01-271-5/+13
| | | | | | | | | | | | | *Fixed cd_nelements in nh5pget_filter_c - cd_nelments not pased in or returned correctly. Since cd_nelmts has IN/OUT attributes, fixed the input and returned value of cd_nelmnts to satisfy this specification. *Fixed 'name' returned in nH5Pget_external_c - if the size of the fortran buffer is larger then the returned string from the function then we need to give HD5packFstring the fortran buffer size so that it fills the remaining unused characters with blanks. Found with the gfortran compiler. Platforms tested: smirom, liberty
* [svn-r16303] Description:Scot Breitenfeld2009-01-131-0/+2
| | | | | | | | | added: !DEC$ATTRIBUTES reference :: for character strings being passed in to C to fix bug in VMS for functions h5sdecode_f and h5sencode_f.
* [svn-r16262] Description:Scot Breitenfeld2009-01-051-1/+1
| | | | | | | | added missing reference in h5lget_name_by_idx_f: !DEC$ATTRIBUTES reference :: for character strings being passed in to C to fix bug in VMS.
* [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-241-6/+6
| | | | | | | | | | | | | | | | | | 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-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-r15704] I changed the return values of H5Fget_obj_ids and ↵Raymond Lu2008-09-263-18/+42
| | | | | | | | 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-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-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-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-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-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-r15066] Description:Scot Breitenfeld2008-05-211-1/+1
| | | | Change the interface argument to match that of the actual function.
* [svn-r15060] Maintenance: File space identifier was not closed causing ↵Elena Pourmal2008-05-211-1/+4
| | | | | | memory growth; fixed Platforms tested: kagiso (minor fix)
* [svn-r15036] Bug fix.Albert Cheng2008-05-192-8/+9
| | | | | | | | | | | | | | | | | | | Description: The fortran Makefile.am used HDF_FORTRAN to indicate it is part of the Fortran API source so that conclude.am will give fortran api prefix in the test output. The symbox HDF_FORTRAN is also used in configure for a different purpose (indicated --enable-fortran). They conflicted. Similar problem for the symbol HDF_CXX. Solution: Changed all the involved Makefile.am to use "FORTRAN_API" instead. It is a more appropriate name. Same for CXX_API. Along the way, discovered that the Makefile.am of hl/fortran/test and hl/cxx/test did not have those symbols at all. Added them in. Platform tested: Kagiso only. It is a trivia change.
* [svn-r15030] Maintenance: Fixed a commentElena Pourmal2008-05-181-1/+1
|
* [svn-r15026] Maintenance: Fixed a typo in the fortran h5tget(set)_fields_f ↵Elena Pourmal2008-05-181-22/+28
| | | | | | | subroutines. Platfomrs tested: kagiso with GNU compilers (this is bug 1046, I am not closing it since there is no tests for those routines yet)
* [svn-r15010] Purpose:Scot Breitenfeld2008-05-151-5/+1
| | | | | | | | Fixed validation failure when compiled with -i8 and the g95 compiler Description: Fixed "off by one error" when converting C character buffer into fortran character buffer in h5aget_name_by_idx_c
* [svn-r15007] Purpose: configure cleanupMike McGreevy2008-05-151-1/+0
| | | | | | | Description: cleaning up configure related to removal of --disable-hsizet flag, which we no longer support. Tested: kagiso
* [svn-r15003] Purpose:Albert Cheng2008-05-151-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improvement. Description: src/libhdf5.settings was the initial configure summary and is installed. Then configure is changed to dump a summary of the configure settings to the output and also append it to src/libhdf5.settings. That created two different output formats and duplicated information. This is the initial attempt to clean up this confusion and unify the output format. It is decided to use the src/libhdf5.settings template as the unified means. This requires more macros symbols be defined. The following symbols are all related to generating the src/libhdf5.settings file. AC_SUBST(EXTERNAL_FILTERS) AC_SUBST(MPE) MPE=no AC_SUBST(STATIC_EXEC) STATIC_EXEC=no AC_SUBST(HDF_FORTRAN) HDF_FORTRAN=no AC_SUBST(FC) HDF_FORTRAN=no AC_SUBST(HDF_CXX) HDF_CXX=no AC_SUBST(CXX) HDF_CXX=no AC_SUBST(HDF5_HL) HDF5_HL=yes AC_SUBST(GPFS) GPFS=no AC_SUBST(LINUX_LFS) LINUX_LFS=no AC_SUBST(INSTRUMENT) INSTRUMENT=no AC_SUBST(CODESTACK) CODESTACK=no AC_SUBST(HAVE_DMALLOC) HAVE_DMALLOC=no AC_SUBST(DIRECT_VFD) DIRECT_VFD=no AC_SUBST(THREADSAFE) THREADSAFE=no AC_SUBST(STATIC_SHARED) AC_SUBST(enable_shared) AC_SUBST(enable_static) AC_SUBST(UNAME_INFO) UNAME_INFO=`uname -a` The src/libhdf5.settings.in has CONDITIONAL's added to it too. The untrue conditions turned into a "#" and these lines are cleaned by the post processing script. Platform tested: h5committest on kagiso, smirom and linew.
* [svn-r15002] Purpose:Scot Breitenfeld2008-05-143-58/+58
| | | | Made all subroutine names lowercase.