Commit Graph

7522 Commits

Author SHA1 Message Date
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
MuQun Yang
ecf77d5189 [svn-r10644] Purpose:
remove all.zip from HDF5 directory.
Description:

In 1.7, windows projects are directly installed under windows directory.
all.zip should be deprecated.
Solution:
Read install_windows.txt for details on how to build and install HDF5 library on
windows.
Platforms tested:

Misc. update:
2005-04-22 07:53:10 -05:00
Albert Cheng
c7984f2914 [svn-r10642] Changed the TMPFILE to reside in snapshot log area. 2005-04-21 23:40:09 -05:00
Albert Cheng
1fb7c9c135 [svn-r10641] Purpose:
Bug fix.

Description:
When there were errors in the test, program still just call MPI_FINALIZE
and failed to attempt to exit with some error code so that calling
programs like make be informed of the exceptions.

Solution:
Call MPI_ABORT if error is detected. Though MPI_ABORT does not
guarantee 100% failure report, it has the best chance.
Also made dimension incompatible as a real error.

Platforms tested:
Did not h5committest but tested in heping PP only since this
is a simple fix.
2005-04-21 13:49:18 -05:00
Quincey Koziol
0cf3f85cce [svn-r10637] Purpose:
Bug fix/code cleanup

Description:
    Add tests to determine that very long (64K+) object names are working.
Fixed a couple of bugs in h5dump where they weren't...

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
2005-04-21 01:55:42 -05:00
Quincey Koziol
31fb2d13de [svn-r10636] Purpose:
Code cleanup

Description:
    Rearrange struct members to fit better on 64-bit machines.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
2005-04-21 01:48:24 -05:00
Leon Arber
7058153705 [svn-r10634] Purpose:
Use getenv_all for determining HDF5_PARAPREFIX instead of getenv

Description:
the environment variable HDF5_PARAPREFIX is now determined collectively, instead of
having each task call getenv.

Solution:
Environment variables set for task 0 often do not propogate to other tasks which
leads to obscure and hard to track down bugs.  getenv_all was written to overcome
this by having all tasks query a single task for the value of its environment.
Eventually, all calls to getenv will be migrated to use getenv_all.  For now,
only HDF5_PARAPREFIX will be determined this way.

Platforms tested:
heping pp, sol pp

Misc. update:
2005-04-20 16:48:31 -05:00
James Laird
af260258da [svn-r10633] Purpose:
Release log update

Description:
Mentioned libtool shared library versioning in release log.
2005-04-20 11:46:41 -05:00
HDF Admin
183741eff0 [svn-r10632] Snapshot version 1.7 release 46 2005-04-20 04:48:31 -05:00
James Laird
8079dd8820 [svn-r10631] Purpose:
Cleanup

Description:
C++ src and test directories weren't being distcleaned when C++ wasn't
configured.

Platforms tested:
mir
2005-04-19 10:13:40 -05:00
Quincey Koziol
639e5908b3 [svn-r10630] Purpose:
Cleanup

Description:
    Add some new test files to the 'distclean' target.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-19 09:40:12 -05:00
Quincey Koziol
af6276f654 [svn-r10628] Purpose:
Code cleanup

Description:
    Clean up various warnings reported by the Windows team.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-18 16:21:35 -05:00
James Laird
d8b08dbc85 [svn-r10627] Purpose:
Feature - libtool shared library versioning

Description:
Libtool provides a mechanism for different versions of the same shared
library to be distinguished.  Now this is applied to HDF5 when it is
built as a shared library.

Solution:
The version number is stored in config/lt_vers.am, and included in
src/Makefile.am.
This number will be automatically updated by bin/h5vers; developers
only need to update it when they change the API.

*** IMPORTANT ***
Any time the API changes, the version number in config/lt_vers.am must
be updated!



Platforms tested:
mir, eirene, verbena, modi4

Misc. update:
2005-04-18 10:48:32 -05:00
Raymond Lu
28a3ec7209 [svn-r10622] Purpose: Bug fix
Description:  Some memory buffers were allocated by HDmalloc() but weren't cleaned
up before use.

Solution:  Use HDmemset() to 0 set the buffers.

Platforms tested: h5committest.
2005-04-16 12:15:38 -05:00
Quincey Koziol
9b68e8e927 [svn-r10620] Purpose:
Bug fix

Description:
    Opening a dataset (or named datatype) with "." for the name and using a
group ID for the location ID was not returning an error value.

Solution:
    Check the type of the object before attempting to open it (internally,
using a group ID and "." for the name maps to the group object).

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
    Too minor to require h5committest
2005-04-16 11:22:16 -05:00
Quincey Koziol
3c5faf9fb6 [svn-r10618] Purpose:
Bug fix

Description:
    Correct typo in "base array" free list macro when free list macros are
disabled.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 2.9 (shanti)
    Too minor to require h5committest
2005-04-16 11:17:42 -05:00
MuQun Yang
dd6c600f72 [svn-r10615] Purpose:
Turning off collective irregular selection feature for this platform
because the MPI package doesn't support MPI complicated derived data
type.

Description:

Solution:
Add the macro hdf5_mpi_complex_derived_datatype_works=${hdf5_mpi_complex_derived_datatype_works='no'}
at the end of config file.
Platforms tested:
Won't affect other platform and too minor to go to PSC cluster for testing.

Misc. update:
2005-04-15 15:25:50 -05:00
MuQun Yang
ffb8a86cf6 [svn-r10614] Purpose:
Adding supporting decription for collective irregular selection IO,
scaleoffset filter, N-bit filter and updating compiler supported on
windows.

Description:

Solution:

Platforms tested:

Misc. update:
2005-04-15 15:20:50 -05:00
Xiaowen Wu
089fc7f7db [svn-r10613] Purpose:
Bug fix.

Description:
     Several call to macro HGOTO_ERROR passes wrong value to ret_value.

Solution:
     Change the value from zero to FAIL.

Platforms tested:
     heping

Misc. update:
2005-04-15 15:15:02 -05:00
Xiaowen Wu
c240263d2d [svn-r10612] Purpose:
Bug fix.

Description:
     One call to macro HGOTO_ERROR passes wrong value to ret_value.

Solution:
     Change the value from zero to FAIL.

Platforms tested:
     heping

Misc. update:
2005-04-15 15:02:38 -05:00
Fang Guo
7edb30b429 [svn-r10611] Purpose:
Update project settings for hdf5/windows/proj/all/all.dsw.
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-15 10:54:03 -05:00
Fang Guo
77f594d254 [svn-r10610] Purpose:
Update batchfile hdf5test.bat
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-14 17:57:09 -05:00
Fang Guo
24530b80dd [svn-r10609] Purpose:
Update test project files under hdf5/windows
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-14 17:49:05 -05:00
Fang Guo
ddba6a77a8 [svn-r10608] Purpose:
Update windows project files.
Description:
Add two new project files.
Solution:

Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
2005-04-14 14:39:11 -05:00
Fang Guo
2530815ac0 [svn-r10607] Purpose:
Remove outdate source code from hdf5/windows/proj/hdf5dll/hdf5dll.dsp
Description:

Solution:

Platforms tested:
MSVS 6.0 on windows xp
Misc. update:
2005-04-14 14:37:35 -05:00
Fang Guo
076e66c3a0 [svn-r10606] Purpose:
Remove outdate source code from hdf5/windows/proj/hdf5/hdf5.dsp
Description:

Solution:

Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
2005-04-14 14:35:53 -05:00
Fang Guo
6633703382 [svn-r10605] Purpose:
Add new test project file into hdf5/windows/test
Description:
Add dt_atomicdll.dsp
Solution:

Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
2005-04-14 14:33:28 -05:00
Fang Guo
0e1c8898ff [svn-r10604] Purpose:
Add new test project files into windows/test
Description:
add dt_atomic.dsp
Solution:

Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
2005-04-14 14:31:38 -05:00
Xiaowen Wu
3604c17051 [svn-r10603] Purpose:
Bug fix.

Description:
     The nbit filter test case (compound datatype with no-op field)
     can not pass the daily test on heping and eirene when the
     enable-production option is set with configure and PGI compiler
     is used. It will generate segmentation fault.

Solution:
     It was found that the seg fault disappears when adding a new
     index variable in the test case and using it instead of using
     an existing index variable twice during initialization.

     This does not make much sense since previous codes is logically
     equivalent to the changed codes. So, some other factors beyond
     the test case codes may have caused the problem.

Platforms tested:
     heping

Misc. update:
2005-04-13 21:05:42 -05:00
Elena Pourmal
bcbae952b8 [svn-r10601] Purpose: Small bug fix (discovered by Kent on Windows)
Description: When stream driver was not enabled, H5FD_STREAM variable
             was not define. Fortran compilation failed since H5FD_STREAM
             was needed to set up fortran global variables.

Solution: Followed MPIO driver model and defined H5FD_STREAM to be -1
          when driver is not enabled.

Platforms tested: heping with --enable(disable)-stream-vfd

Misc. update:
2005-04-13 19:42:44 -05:00
MuQun Yang
baffe3d733 [svn-r10600]
Purpose:
Fix the daily test failure of collective irregular test in modi4.

Description:
The original test passed with new SGI compiler. Albert verified this from
the SGI machine at DOE. The compiler version number at modi4 is 7.3.1.3m, the compiler version number at DOE  is 7.4.2m. compiler at modi4 is old and SGI may fix some bugs during the updating of their compiler.


Solution:
At configuration file IRIX.6.x, set the macro MPI_COMPLEX_DERIVED_DATATYPE to no. In that way, HDF5 library won't call derived datatype routine in the test.

Platforms tested:
modi4

Misc. update:
2005-04-13 17:29:17 -05:00
Albert Cheng
2b908577c1 [svn-r10598] Purpose:
Bug fix.

Description:
The irregular chunk IO tests do not work for processes sizes larger than 3.
Added a check of number of processes and skip the irregular chunk IO
tests if number of processes are larger than 3.

Revamped the tests of collective chunk IO tests too.

Platforms tested:
Tested in mir.

Misc. update:
2005-04-12 17:04:01 -05:00
Xiaowen Wu
1841933607 [svn-r10596] Purpose:
New feature.

Description:
     The scaleoffset filter previously does not use macros to handle
     different integer datatype situations.

Solution:
     Added macros in the filter for better maintenance and clarity of codes.

Platforms tested:
     heping, copper, shanti

Misc. update:
2005-04-12 16:04:35 -05:00
Albert Cheng
39803ca9f1 [svn-r10593] Purpose:
Bug fix.

Description:
Data file name is hardcoded to be in current directory which does not
necessarily support MPIO. Changed it to /tmp/sds.h5 for slightly larger
chance of success but the eventual solution is to set it according to
environment variables.  Patch it this way for now.

Platforms tested:
mir.

Misc. update:
2005-04-12 15:38:17 -05:00
James Laird
afef3c0358 [svn-r10587] Purpose:
Minor feature

Description:
If a user configures without C++ or Fortran, 'make' will not recurse into
c++ or fortran directories.  However, if the user cd's into these
directories and 'makes,' the Makefiles will attempt to build interfaces
that have not been configured, usually failing.
In an unrelated but minor change, src/H5detect should be compiled with
the -g flag to disable compiler optimizations since it is only
executed once.

Solution:
Make it harder for users to try to compile interfaces that have not been
configured by making c++, fortran, and hl directories not recurse into
their subdirectories unless they have been configured.
Thus, 'make' in /fortran/src will break if Fortran has not been configured,
but 'make' in /fortran will not break.

Platforms tested:
mir, modi4, copper

Misc. update:
2005-04-11 16:47:05 -05:00
Elena Pourmal
408471420f [svn-r10585] Purpose: Bug fix
Description: h5pget_driver_f function returned information that could not
             be interpreted by fortran application

Solution: Defined Fortran global variables that correspond to
          the C H5FD_<driver_name> variables at the Fortran library
          initialization time.

Platforms tested: heping with PGI compilers, sol 64-bit and copper parallel

Misc. update:
2005-04-10 17:15:51 -05:00