Commit Graph

7912 Commits

Author SHA1 Message Date
Quincey Koziol
0db530ac5a [svn-r11242] Purpose:
Code cleanup

Description:
    Use enum type instead of int for datatype conversion exception callback
routine.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-13 14:18:02 -05:00
Quincey Koziol
45f1eba213 [svn-r11241] Purpose:
Code cleanup

Description:
    Fix logic error in previous checkin and also finish refactoring I/O
initialization, including simplifying all the collective & parallel cases
into a more unified mechanism.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/ & w/o parallel
    Linux 2.4 (mir)
2005-08-13 13:09:57 -05:00
Quincey Koziol
2efc3027ec [svn-r11240] Purpose:
Bug fix

Description:
    Fix logic error for non-parallel file I/O with library built for parallel
I/O capability.

Platforms tested:
    Linux 2.4 (mir) w/parallel
2005-08-13 11:00:28 -05:00
Albert Cheng
8673333c95 [svn-r11238] Purpose:
Updated for the added feature of standalone build for h5perf.
2005-08-13 10:46:03 -05:00
Albert Cheng
52cfa98120 [svn-r11237] Purpose:
New Feature.

Description:
Added code and changes so that h5perf (pio) can be built by
standalone mode (that is built by just "h5pcc" without all these
internal files.)  With the standalone mode, h5perf can be built
against different versions of hdf5 library and to contrast the
performance among them.
(Note that pio_standalone.c and pio_standalone.h are used in
standalone build only.)


Platforms tested:
Tested in copper and heping.
2005-08-13 10:21:22 -05:00
Quincey Koziol
c5aa1f7a5f [svn-r11236] Purpose:
Code cleanup & bug fix

Description:
    Refactor recent collective chunk changes to simplify them.  Also, compute
the number of chunks by checking the number of objects in the chunk skip list
instead of getting the boundaries of the selection and counting the chunks that
it overlaps, which is faster and computes correct number for certain selections.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-08-12 22:09:38 -05:00
Quincey Koziol
1ba06a8395 [svn-r11235] Purpose:
Code cleanup

Description:
    Refactor, simplify and cleanup Kent's recent checking for collective
chunk I/O.  There's a bug that I need to talk to Kent about and some more
cleanups still, but this is reasonable for an interim point.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor for h5committest
2005-08-12 10:53:55 -05:00
Albert Cheng
1af1bd5fb3 [svn-r11234] Purpose:
bug fix.

Description:
The code for functions snprintf and vsnprintf ignored the size parameter.
It could overflow the buffer.  The two functions are supported by many
platforms now.  Disable the code and see what platform(s) still need
it.

Platforms tested:
h5committested

Misc. update:
2005-08-11 18:52:00 -05:00
Raymond Lu
39da36afe5 [svn-r11233] Purpose: Bug fix
Description: In the macro H5T_CONV_Xx_CORE definition, one line said
"} else if (*((ST*)S) < (D_MIN)) {".  It caused problem on TFLOPS because
it defines LLONG_MIN as a hexadecimal value instead of decimal value.

Solution:  Changed the line to "} else if (*((ST*)S) < (DT)(D_MIN)) {" to
avoid the problem.  (Need to change other similar places when time permits.)

Platforms tested: fuss - simple change.
2005-08-11 17:45:42 -05:00
MuQun Yang
cf377ac318 [svn-r11232] Purpose:
Modified collective chunk Io test
Description:
One test(collective chunk IO test 4) is no longer needed. Comment out first.

The code should be cleaned up later.

Solution:

Platforms tested:

Misc. update:
2005-08-11 13:49:15 -05:00
MuQun Yang
870c5b2f66 [svn-r11231] Purpose:
bug fix for collective chunk IO, phase 1
Optimization hasn't been done yet, the collective chunk IO bug should be fixed.
Description:
In chunking storage, memory space and file space will be remapped, So to check
whether file space and memory space are regular in order to use optimized MPI derived
datatype for collective call one has to check per-chunk wise instead of per hyperslab wise.
Even a regular memory space will be stored in span-tree and will be irregular before chunk IO.

Solution:
1. Check file space and memory space per chunk wise instead of per hyperslab wise.
2. For collective IO mode, number of chunks covered by hyperslab may be different. Since we are
handing per chunk per IO, for the extra chunk IO for some(not all) processors, collective mode will
cause program hanged. So for the extra chunk Io mode independent IO has to be used.
3. On some platforms, Complex MPI derived datatype is not working, so we have to use independent IO for collective IO mode if the selection is irregular. However, when the selection is regular, we do want to use collective IO since that will improve performance. Special cares have to be added for this case.


Platforms tested:
copper(AIX 5.1) Linux(heping mpich 1.2.6), Teragrid machine, Cobalt(altix), modi4

Misc. update:
2005-08-11 13:48:09 -05:00
Quincey Koziol
0e1b41d0fd [svn-r11229] Purpose:
Big fix

Description:
    A group opened by dereferencing a object reference would not work for
H5Giterate(), due to the local heap & B-tree information not being cached.

Solution:
    Get the local heap & B-tree info & point to that structure instead of
the group entry for the group.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-10 15:28:32 -05:00
Quincey Koziol
a8fbde5d18 [svn-r11228] Purpose:
Code cleanup

Description:
    Add a check for the correct type of ID for H5Eclose_stack()

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-10 15:18:49 -05:00
Raymond Lu
108a61528a [svn-r11226] Purpose: Bug fix.
Description:  The change made yesterday regarding repart_test.c wasn't right.

Solution:  Roll back to v1.6 until a solution is figured out.

Platforms tested: fuss - simple change.
2005-08-09 13:07:39 -05:00
Fang Guo
0a2e76ff1e [svn-r11225] Purpose:
Maintenance on windows
Description:
Update solution file to include newly added files
Solution:

Platforms tested:

Misc. update:
2005-08-09 13:07:07 -05:00
Fang Guo
eced247f5a [svn-r11224] Purpose:
Maintenance on Windows
Description:
Update workspace to include newly added file H5Fsfile.c
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-08-09 13:06:13 -05:00
Fang Guo
c558ac0191 [svn-r11223] Purpose:
Maintenance on windows
Description:
Update project file to include the newly added file H5Fsfile.c
Solution:

Platforms tested:
MSVS 6.0 on windows xp
Misc. update:
2005-08-09 13:05:01 -05:00
Albert Cheng
70f1a12883 [svn-r11222] Purpose:
feature

Description:
Add the test for tmpfile.  If it does not exist, compile in our own
version (which always returns NULL for now.)
2005-08-09 11:53:43 -05:00
Raymond Lu
32929893cf [svn-r11221] Purpose: Minor bug fix
Description: repart_test.c was mistakenly treated as a tool, instead of a test program.

Solution:  Took it out of the list of tools.

Platforms tested: fuss - simpl change.
2005-08-08 16:35:02 -05:00
Quincey Koziol
210ef12816 [svn-r11219] Purpose:
Code cleanup

Description:
    Bring some of the cleanups from the external link coding (which isn't
checked in yet) back into CVS as an intermediate checkin.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-08 16:03:17 -05:00
Raymond Lu
d0710fb699 [svn-r11218] Purpose: Minor bug fix
Description: repart_test.c was mistakenly treated as a tool, instead of a test program.

Solution: Took it out of the list of tools.

Platforms tested: fuss - simple change.
2005-08-08 15:19:18 -05:00
Quincey Koziol
502b4c206d [svn-r11215] Purpose:
Bug fix & code cleanup

Description:
    Fix another bug in the file mounting code and refactor the unmount
code that it is simpler.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Too minor to require h5committest
2005-08-08 13:41:35 -05:00
Albert Cheng
c5781c8289 [svn-r11214] Purpose:
bug fix

Description:
Previous commit contained an extra bin (t_chunk_alloc) that is not
ready yet.  It was a mistake.  Removed it.
2005-08-08 13:16:00 -05:00
Albert Cheng
fbb2dd8545 [svn-r11213] Purpose:
Bug fix and improvement.


Description:
The test output were not displayed for parallel tests.
The serial tests output were always displayed whether the test was
actually ran this time or not.


Solution:
Moved the display of test output inside the target where the actual
tests are run.


Platforms tested:
Tested in heping using pp and fortran.
2005-08-08 12:30:23 -05:00
Albert Cheng
1b760b2fd5 [svn-r11212] Purpose:
Bug fix and improvement.

Description:
The test output were not displayed for parallel tests.
The serial tests output were always displayed whether the test was
actually ran this time or not.

Solution:
Moved the display of test output inside the target where the actual
tests are run.

Platforms tested:
Tested in heping using pp and fortran.
2005-08-08 12:24:06 -05:00
Binh-Minh Ribler
88046b9049 [svn-r11211] Purpose: Additional wrappers
Description:
    Added missing member functions:
                H5::CompType::getMemberArrayType
                H5::CompType::getMemberVarLenType
                H5::AbstractDs::getArrayType
                H5::AbstractDs::getVarLenType
                H5::CommonFG::openArrayType
                H5::CommonFG::openVarLenType
                H5::PropList::copyProp -- this will replace the current
                        H5::PropList::copyProp in later releases due
                        to incorrect prototype.
                H5::IdComponent::getHDFObjType
2005-08-08 11:32:34 -05:00
Binh-Minh Ribler
f74bef15ce [svn-r11210] Purpose: Code improvement
Description:
    Made use of IdComponent::inMemFunc in more classes.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
2005-08-08 10:42:39 -05:00
Albert Cheng
ea15f348a1 [svn-r11208] Purpose:
Bug fix and code minor cleanup.

Description:
The attempt to redirect stderr together to the log files were
done in the wrong order such that stderr output goes to where
stdout WAS.  Fixed that.

Code minor cleanup--use shell variables to hold the name of the
log file and the test instead of generating them repeatedly.  This
makes easier code reading, less crowded and avoid typos.

Only conclude.in is changed.  The Makefile.in changes are all
derived from automake.

Platforms tested:
h5committested.
2005-08-08 02:32:27 -05:00
Albert Cheng
a0f06d0961 [svn-r11207] Purpose:
Bug fix and code minor cleanup.

Description:
The attempt to redirect stderr together to the log files were
done in the wrong order such that stderr output goes to where
stdout WAS.  Fixed that.

Code minor cleanup--use shell variables to hold the name of the
log file and the test instead of generating them repeatedly.  This
makes easier code reading, less crowded and avoid typos.

Only conclude.in is changed.  The Makefile.in changes are all
derived from automake.

Platforms tested:
h5committested.

Misc. update:
2005-08-08 02:30:46 -05:00
Binh-Minh Ribler
07592ad7c3 [svn-r11206] Purpose: Additional wrapper/Code improvement
Description:
    Added wrapper for H5Iget_type.
    Added try/catch to many APIs that call private functions so that more
        specific information can be provided at failure.
    Added IdComponent::inMemFunc to help providing specific info.
    Added const to parameters of several functions that missed that.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    AIX 5.1 (copper)
    IRIX64 with -n32 (modi4)
    HPUX 11.00 (kelgia)
2005-08-07 22:53:58 -05:00
HDF Admin
e49bb1feea [svn-r11204] Snapshot version 1.7 release 50 2005-08-07 03:45:28 -05:00
Albert Cheng
8e52b3c798 [svn-r11202] Purpose:
bug fix.

Description:
Fortran test, fflush2, depends on a file created by fflush1.
Fixed Makefile to reflect such a dependency.

Platforms tested:
heping.
2005-08-04 15:23:25 -05:00
Albert Cheng
548608ed7f [svn-r11201] Purpose:
bug fix.

Description:
test program used fortran STOP to end the program even when there
was an error.  STOP does not exit with non-zero.  Therefore, make
or other programs could not detect an error has occurred.

Solution:
Wherever it is appropirate, replace STOP with h5_exit_f statments.

Platforms tested:
Tested in heping.
2005-08-04 15:22:11 -05:00
Binh-Minh Ribler
914f990f22 [svn-r11200] Purpose: Code improvement
Description:
    Changed CompType::getMemberClass to use H5Tget_member_class
    instead of going around unneccesarily.

    Changed "int member_num" to "unsigned member_num" of several
    member functions of CompType, per the C library change.

Platforms tested:
    Linux 2.4 (heping)
    Linux 2.4 w/PGI (colonelk)
    AIX 5.1 (copper)
2005-08-04 15:18:02 -05:00
Albert Cheng
6401dec6c2 [svn-r11199] Updated it. 2005-08-04 14:17:56 -05:00
Albert Cheng
1d8557492a [svn-r11198] Purpose:
upgrade.

Description:
Changed all appropriate error stack calls to the new HSYS_ERROR macro
call in order to push system error message to the stack too.

Platforms tested:
heping.

Misc. update:
2005-08-04 14:13:16 -05:00
Albert Cheng
252c75302c [svn-r11197] Purpose:
Updated.
2005-08-04 09:06:21 -05:00
Quincey Koziol
a80d0f1e83 [svn-r11196] Purpose:
Code tweak

Description:
    Add in a couple of minor changes from Elena's version of pushing the
system error information on the error stack.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-04 00:58:34 -05:00
Albert Cheng
e47d1d053e [svn-r11195] Purpose:
Feature.

Description:
Added HSYS_ERROR macro to retrieve and push system error message to
the error stack.
Added the related H5E_SYSERRSTR error code.

This allows system error messages be shown to users too.  Thus
give a better explanation of what the errors are.

Platforms tested:
h5committested.
2005-08-04 00:17:07 -05:00
Albert Cheng
4d65048d2d [svn-r11193] Purpose:
fixed typo for uint_fast16_t verification.

Tested in Red storm.
2005-08-03 15:35:54 -05:00
Albert Cheng
181f251055 [svn-r11192] Purpose:
Port to Red Storm

Description:
Initial version to configure for SNL Red Storm.  To configure for it, do
   ./configure --host=x86_64-redstorm-linux

Platforms tested:
Tested in Red-storm.  Many things are still failing but this will
make the configure part easier.

Misc. update:
2005-08-03 15:27:42 -05:00
James Laird
a672f80072 [svn-r11191] Purpose:
Updating RELEASE.txt

Description:
Forgot to mention check-p and check-s.

Platforms tested:
Still only textual changes.

Misc. update:
2005-08-03 12:28:13 -05:00
James Laird
0f532aa156 [svn-r11190] Purpose:
Updated RELEASE.txt

Description:
Added/updated recent makefiles changes (test logs, make check-clean) in
RELEASE.txt

Platforms tested:
Textual change only

Misc. update:
2005-08-03 12:22:03 -05:00
Fang Guo
62491212a0 [svn-r11189] Purpose:
Maintenance on windows
Description:
Add high level dlls contents in
Solution:

Platforms tested:

Misc. update:
2005-08-03 12:05:42 -05:00
Fang Guo
578f945939 [svn-r11188] Purpose:
Maintenance on windows
Description:
Add hl dll contents in
Solution:

Platforms tested:

Misc. update:
2005-08-03 11:57:13 -05:00
Fang Guo
2be77ed708 [svn-r11187] Purpose:
Maintenance on windows
Description:
Add hl dlls contents
Solution:

Platforms tested:

Misc. update:
2005-08-03 11:50:29 -05:00
Fang Guo
54f3ee3190 [svn-r11186] Purpose:
Maintenance on windows
Description:
Reformat
Solution:

Platforms tested:

Misc. update:
2005-08-03 11:44:35 -05:00
James Laird
e75a185eca [svn-r11185] Purpose:
Makefile feature

Description:
'make check-clean' now cleans *.h5 files created by tests as well as
.log and .chkexe files.

Solution:
check-clean is now a separate target in its own right, which cleans less
than mostlyclean (check-clean < mostlyclean < clean < distclean).

Platforms tested:
mir, heping, modi4 (serial and parallel)
2005-08-02 12:59:03 -05:00
James Laird
7def00050f [svn-r11184]
Purpose:
Bug fix

Description:
Fixed a Makefile bug that would cause make clean to fail on some platforms
when C++ is enabled.

Platforms tested:
sleipnir, mir

Misc. update:
2005-08-02 12:33:49 -05:00
James Laird
9f07929a07 [svn-r11183] Purpose:
Bug fix

Description:
Removed an extraneous @ from the fortran/src makefile.

Platforms tested:
mir (simple fix)
2005-08-02 11:11:35 -05:00