Commit Graph

7507 Commits

Author SHA1 Message Date
James Laird
1b7ae2a5b7 [svn-r10701]
Purpose:
Bug fix

Description:
Some platforms (Windows) don't have the long long type, which causes automatic
Fortran type matching to fail.
A solution is to use HDF5's long_long type.

Solution:
Changed H5match_types.c to use long_long type.  Moved definition
of long_long out of H5private.h and into H5public.h.

Platforms tested:
mir, copper, pommier
2005-04-29 17:00:32 -05:00
Quincey Koziol
8f4b37accf [svn-r10700] Purpose:
Bug fix

Description:
    Kent reminded me that switching the logic wasn't enough, we really needed
to add the definition to the configure script.

Solution:
    Do that.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-29 16:39:05 -05:00
Quincey Koziol
55f8e19fc7 [svn-r10699] Purpose:
Code cleanup

Description:
    Switch name & logic from H5_LLONG_TO_FP_CAST_BROKEN to
H5_LLONG_TO_FP_CAST_WORKS, to better match the rest of the library.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-29 15:31:29 -05:00
Xiaowen Wu
abe7368338 [svn-r10698] Purpose:
Bug fix.

Description:
	The scaleoffset filter checks the uppper limmit of span of values
	before it is assigned. The check for floating-point data, which may
	not be represented in the machine exactly as the user wanted, did
	not consider this.

Solution:
	Slight modification of check above.

Platforms tested:
	heping

Misc. update:
2005-04-29 15:19:49 -05:00
Fang Guo
bceba07ad2 [svn-r10697] Purpose:
Update fortran source code for windows.
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-29 12:23:47 -05:00
Fang Guo
6415a6daf6 [svn-r10696] Purpose:
Update header files for windows
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-29 12:22:42 -05:00
MuQun Yang
14af6936b0 [svn-r10695] Purpose:
Update collective irregular IO support information for IBM AIX 5.x

Description:

Solution:

Platforms tested:

Misc. update:
2005-04-29 09:38:50 -05:00
MuQun Yang
65f7a7d2c4 [svn-r10694] Purpose:
Add some comments for handling collective irregular IO with this platform.

Description:

Solution:

Platforms tested:

Misc. update:
2005-04-29 09:37:47 -05:00
MuQun Yang
e5b61f99ab [svn-r10690] Purpose:
Bug fix

Description:
On visual studio 6.0, conversion from unsigned long long to double is not supported.
Even during compilation stage, it will fail.


Solution:
Albert changed the way the macro is handled so that for windowx MSVS 6.0,
the code that has conversion from unsigned long long to double will not compile.

Platforms tested:
windows, linux

Misc. update:
2005-04-28 16:23:48 -05:00
John Mainzer
e445e815d6 [svn-r10689] Purpose:
Update config/lt_vers.am


Description:

My version number bump to config/lt_vers.am somehow didn't get checked
in with the rest of the metadata cache API mods.


Solution:

Bumped the version numbers again, and try checking in the file again.


Platforms tested:

None -- but see previous checkin of metadata cache API additions.


Misc. update:
2005-04-28 12:02:35 -05:00
John Mainzer
a9ba92287d [svn-r10688] Purpose:
Add API calls allowing user control of the metadata cache.


Description:

Prior to this update, the metadata cache was not configurable
from outside the library.


Solution:

Add API calls allowing the user to configure the metadata cache
either at file open time, or for any open file.  Also added calls
permitting the user to monitor cache size and hit rate.  These
latter facilities are needed for "manual" cache size control


Platforms tested:

h5committested


Misc. update:
2005-04-28 11:40:07 -05:00
Xiaowen Wu
0971859803 [svn-r10687] Purpose:
Modifications.

Description:
	Scaleoffset filter codes could not pass windows compiler.

Solution:
	Modifications were made to make it pass. Also slight improvements of codes.

Platforms tested:
	heping

Misc. update:
2005-04-27 22:45:28 -05:00
Frank Baker
c7587a02c7 [svn-r10686]
Purpose:
    Added note to H5Tget_class description that library returns
        H5T_STRING for both fixed-length and variable-length strings.
        Fixes Bugzilla #329.
    In H5Tget_member_class, added reference to list of valid class
        identifiers in H5Tget_class.
Platforms tested:
    Firefox
2005-04-27 17:13:29 -05:00
Frank Baker
a33e31b5b3 [svn-r10683] Purpose:
Corrected return value of H5Tget_member_value.
    Fixed Bugzilla #309
Platforms tested:
    Firefox
2005-04-27 16:08:12 -05:00
Xiaowen Wu
348f391e42 [svn-r10682] Purpose:
Slight modifications.

Description:
	Several constants related to the H5Pset_scaleoffset interface
	are added into H5Zpublic.h. Test cases that calls H5Pset_scaleoffset
	needs slight modifications.

Solution:
	Use the defined names when calling H5Pset_scaleoffset instead of
	using numerical numbers.

Platforms tested:
	heping, shanti

Misc. update:
2005-04-27 12:03:06 -05:00
Xiaowen Wu
2ae18539b1 [svn-r10681] Purpose:
Slight modification.

Description:
	Several constants were added for the scaleoffset filter in
	file H5Zpublic.h and corresponding changes needs to be made
	in H5Zscaleoffset.c.

Solution:
	Slight modification of codes.

Platforms tested:
	heping, shanti

Misc. update:
2005-04-27 11:59:11 -05:00
MuQun Yang
192631a52e [svn-r10680] Purpose:
H5Pset_scaleoffset API is changed due to addition of the floating-point filter

Description:
Only add a parameter, nothing should change for the tool.

Solution:

Platforms tested:
Linux 2.4

Misc. update:
2005-04-27 10:26:28 -05:00
MuQun Yang
fb7f30ef4c [svn-r10679] Purpose:
H5Pset_scaleoffset API is changed due to addition of the floating-point filter.

Description:
Only add a parameter, nothing should change for the tool.

Solution:

Platforms tested:
Linux 2.4

Misc. update:
2005-04-27 10:25:23 -05:00
MuQun Yang
20786cd28b [svn-r10678] Purpose:
Update usage of H5Pset_scaleoffset.

Description:
H5Pset_scaleoffset API is changed due to addition of the floating-point filter.

Solution:
Only add a parameter, nothing should change for the tool.

Platforms tested:
Linux 2.4

Misc. update:
2005-04-27 10:22:32 -05:00
MuQun Yang
affa4e9bff [svn-r10677] Purpose:
Add some comments for H5Pset_scaleoffset.

Description:

Solution:

Platforms tested:
No need to test.

Misc. update:
2005-04-27 10:19:31 -05:00
MuQun Yang
676ecf88dd [svn-r10676] Purpose:
Add a few constants for the scaleoffset filter.

Description:

Solution:

Platforms tested:

Misc. update:
2005-04-27 10:18:24 -05:00
Xiaowen Wu
470719f4cf [svn-r10675] Purpose:
New feature.

Description:
	The scaleoffset filter has been implemented for compressing
	floating-point data (float, double, but not long double)
	using D-scaling method from GRIB. It also changes to
	according to the new interface of H5Pset_scaleoffset API.

Solution:

Platforms tested:
	heping, copper, shanti

Misc. update:
2005-04-26 16:45:43 -05:00
Xiaowen Wu
c5ed3b9576 [svn-r10674] Purpose:
New feature.

Description:
	The scaleoffset filter has been implemented to
	to compress floating-point data (single precision
	and double precision) using D-scale method from
	GRIB.

Solution:
	Test cases for float and double datatypes are added
	according to the change of scaleoffset filter. Situations
	of fill value defined/undefined are tested.

Platforms tested:
	heping, shanti, copper

Misc. update:
2005-04-26 16:42:42 -05:00
Xiaowen Wu
6876ac9c16 [svn-r10673] Purpose:
New feature.

Description:
	To update libtool's version number for changing API interface
	of H5Psetscaleoffset.

Solution:

Platforms tested:
	heping

Misc. update:
2005-04-26 15:33:24 -05:00
Xiaowen Wu
02f7cdac77 [svn-r10672] Purpose:
New feature.

Description:
	The H5Pset_scaleoffset is changed for the scaleoffset filter
        to handle both integer and floating-point data. Currently,
        the D-scaling method from GRIB has been implemented for
        compressing floating-point data.

Solution:
	One more parameter is added to the H5Pset_scaleoffset interface
        to let user specify what type of data is used and what method
        to use as well as corresponding parameters.

Platforms tested:
	heping

Misc. update:
	Needs to update libtool's version number
2005-04-26 15:26:17 -05:00
Xiaowen Wu
0af6a38a3f [svn-r10671] Purpose:
New feature.

Description:
	The H5Pset_scaleoffset is changed for the scaleoffset filter
	to handle both integer and floating-point data. Currently,
	the D-scaling method from GRIB has been implemented for
	compressing floating-point data.

Solution:
	One more parameter is added to the H5Pset_scaleoffset interface
	to let user specify what type of data is used and what method
	to use as well as corresponding parameters.

Platforms tested:
	heping

Misc. update:
2005-04-26 15:22:22 -05:00
MuQun Yang
c7e6a3d9d8 [svn-r10670]
Purpose:
collective chunk IO support for AIX 5.x
Description:
NCSA just updated its poe version, this new version will support
MPI complicated derived data type.

So update our configuration file for AIX 5.x.

Solution:

Platforms tested:
copper, no need for others since only AIX 5.x will be affected.

Misc. update:
2005-04-26 14:28:54 -05:00
James Laird
f8bb618d92 [svn-r10669] Purpose:
Bug fix

Description:
Removed H5f90i.h from MANIFEST.
2005-04-26 13:12:54 -05:00
James Laird
9cab0a1273 [svn-r10668] Purpose:
Bug fix

Description:
Removed hdf5/hl/fortran/src/H5f90i.h from CVS.
HL APIs should now include hdf5/fortran/src/H5f90i.h
2005-04-26 13:11:58 -05:00
James Laird
139c899ba1 [svn-r10667] Purpose:
Bug fix

Description:
Made High-Level Fortran code use automatically generated headers
rather than a separate hardcoded header.

Solution:
Set hdf5/hl/fortran/src to include hdf5/fortran/src, so that it
will find the copy of H5f90i.h in that directory.
Took #include "H5private.h" out of H5f90i.h (and moved it to files
that included H5f90i.h.

Platforms tested:
mir, modi4, pommier
2005-04-26 13:10:31 -05:00
MuQun Yang
6bc71d32f9 [svn-r10666] Purpose:
Adding new fortran header file name for windows.

Description:

Solution:

Platforms tested:

Misc. update:
2005-04-26 10:56:04 -05:00
MuQun Yang
c1e2a4b00f [svn-r10665] Purpose:
One dtransform test failed with Intel 8.1 C++ compiler.
Turned off the test with assertion of a macro.

Description:

Solution:

Platforms tested:
Intel C++ 8.1 on .Net 2003.

Misc. update:
2005-04-26 10:53:33 -05:00
MuQun Yang
8ab8a39817 [svn-r10664] Purpose:
H5f90i_gen.h has to be copied to fortran/src for windows.
Add this line in the batch file.

Description:

Solution:

Platforms tested:
MSVS 6.0 on windows XP


Misc. update:
2005-04-26 10:51:28 -05:00
MuQun Yang
4a5280bd71 [svn-r10663] Purpose:
Update windows fortran support

Description:
Currently an implementation of automatic generated fortran data type from C has been done for
Linux/Unix platforms. For windows different implementation needs to be developed to make it
consistent with the implementation on Linux/Unix. For the purpose of 1.8 release, we have to add a
new header file. The checking program of the header file on windows will be generated on windows separately.
Solution:

Platforms tested:
VS 6.0 on windows xp.

Misc. update:
2005-04-26 10:50:09 -05:00
Leon Arber
936f41d3f0 [svn-r10661] Purpose:
Bug fix....

Description:
Despite passing all tests, the previous checkin had a copy/paste typo that
resulted in the tests being run under the wrong conditions.

Solution:
Fixed typo.

Platforms tested:
yet another minor change... copper only.

Misc. update:
2005-04-25 14:40:36 -05:00
Leon Arber
1208855335 [svn-r10660] Purpose:
bug fix (sorta)

Description:
Rename H5_LLONG_TO_FP_CAST_WORKS to H5_LLONG_TO_FP_CAST_BROKEN

Solution:
Since a test for  H5_LLONG_TO_FP_CAST_WORKS is not present in the configure script,
the dtransform test would assume that this cast doesn't work and skip the test.  Change the variable around
so that, by default, it is assumed a long long to double cast does work.

Platforms tested:
minor change: copper, sol

Misc. update:
2005-04-25 14:33:44 -05:00
Leon Arber
b3c8b2f846 [svn-r10659] Purpose:
Optimization

Description:
removed an unncessary memset call.

Solution:

Platforms tested:
heping (pp), sol (pp)

Misc. update:
2005-04-25 14:15:22 -05:00
Leon Arber
0ae785b76b [svn-r10658] Purpose:
Bug fix

Description:
The intel compiler on windows doesn't support long long to double conversion.

Solution:
Added a flag  H5_LLONG_TO_FP_CAST_WORKS.  When it is not defined, the data transform will issue
an error when someone tries to perform a transform from long long to double and the long long to double
dtransform test will be skipped.

Platforms tested:
heping, sol, copper

Misc. update:
2005-04-25 14:14:01 -05:00
James Laird
a05061f512 [svn-r10657] Purpose:
Configuration feature

Description:
Fortran integer types (not reals) are now automatically detected at
build-time.

Solution:
Two helper programs are used, one to detect what types the Fortran compiler
has access to, and one to generate header files for C and Fortran matching
up types.

Platforms tested:
mir, copper, modi4, pommier (last week)

Misc. update:
MANIFEST updated, H5f90fortran_types.f90 removed from configure.in, since
it is not longer generated by configure.
2005-04-25 14:00:06 -05:00
James Laird
1cc3666a27 [svn-r10656] Purpose:
Output tweak

Description:
Test output in C++ and Fortran directories now puts "C++ API:" or
"Fortran API:" in front of the name of the test being run.
I had overlooked the line of code that caused this to happen.

Solution:
Added HDF_CXX and HDF_FORTRAN variables to C++ and Fortran Makefiles.am.

Platforms tested:
heping (minor change)
2005-04-25 12:43:58 -05:00
MuQun Yang
7946059021 [svn-r10655] Purpose:
Supper 12-byte long double for intel compiler.

Description:
Long double is 12-byte at intel compiler, currently we always set long double to 8-byte.
Change this for intel compiler. This is not the compelete change. H5Tinit.c needs also to be changed to support this.

Solution:

Platforms tested:
Not test yet, since it won't affect other compilers except intel, will test soon.

Misc. update:
2005-04-25 11:47:52 -05:00
MuQun Yang
4260605b14 [svn-r10654] Purpose:
long_long to long_long data transform doesn't work with intel compiler on windows.

Description:
Turned off this test.


Solution:
Need corresponding source code changes, will talk with Leon.

Platforms tested:
VS. Net 2003 + Intel 8.1


Misc. update:
2005-04-25 11:39:39 -05:00
MuQun Yang
7eede86c90 [svn-r10653] Purpose:
installhdf5_fort.bat is removed, update MANIFEST.

Description:

Solution:

Platforms tested:

Misc. update:
2005-04-25 09:16:53 -05:00
Binh-Minh Ribler
ec33ba8c44 [svn-r10652] Purpose: Update config for AIX
Description:
    Many warnings about duplicate symbols for various members in the std.

Solution:
    Temporarily added -qweaksymbol to suppress linker messages warning
    of duplicate symbols since these warnings are harmless.

    Note from pSeries and AIX Information Center:
        When compiling C++ programs containing extern inline functions,
        you can use the -qweaksymbol compiler option to suppress linker
        messages warning of duplicate symbols.

    Hoping that a better solution is suggested or the problem will be
    handled by the compiler in the future.

Platforms tested:
    AIX 5.1 (copper)
2005-04-23 08:30:51 -05:00
Fang Guo
21d06b51b2 [svn-r10651] Purpose:
Remove outdated source filrs from project files hdf5_f90cstub.dsp
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-22 17:10:02 -05:00
Fang Guo
a2c0a9bde9 [svn-r10650] Purpose:
Update header file for windows.
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-22 17:08:06 -05:00
Fang Guo
3281133721 [svn-r10649] Purpose:
Remove unused batch file!
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-22 16:33:05 -05:00
Quincey Koziol
eec925dc3f [svn-r10648] Purpose:
Bug fix

Description:
    Remove declaration of 'prefix' variable that was moved into the h5tools
library.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/CC=g++
    Too minor to require h5committest
2005-04-22 12:47:45 -05:00
MuQun Yang
85af724937 [svn-r10646] Purpose:
update windows information.

Description:

Solution:

Platforms tested:

Misc. update:
2005-04-22 10:44:16 -05:00
MuQun Yang
ecc54ece00 [svn-r10645] Purpose:
Update MANIFEST since all.zip is removed from HDF5 1.7 cvs tree.
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-22 07:54:25 -05:00