summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r1129] Test bugs fixed in T3E port.Albert Cheng1999-03-092-12/+21
| | | | | | | | | external.c: Test assumed sizeof(int) is 4. Changed the hard-coded values to values depending on the native sizeof(int). th5s.c: Changed hardcoded old filenames to macro FILE.
* [svn-r1128] Changes for T3E port.Albert Cheng1999-03-094-7/+17
| | | | | | | | | | | | | | | | | H5Flow.c: Document previous changes (same changes committed by Robb first.) H5Fprivate.h: Change DECODE macros to do sign extension. (Sign extension can be skipped if machines use the exact sizes.) H5Sall.c: Fixed a typo in return value. H5private.h: Fixed a typo and also changed the strategy of the int16_t and uint16_t typedef. Now will use short as long as it is at least 2 bytes big.
* [svn-r1127] Removed -64 from default setting. Irix workstations running 32 bitAlbert Cheng1999-03-091-1/+1
| | | | | | | OS cannot handle the 64 bit instruction sets. Let the local system default takes care of preferred machine code. Tested on both IRIX and IRIX64 platforms.
* [svn-r1126] Undoing previous change. src library won't compile.Dan Wells1999-03-091-1/+1
|
* [svn-r1125] The linesDan Wells1999-03-091-1/+1
| | | | | | | PABLO_SAVE (ID_ ## func_name); \ H5TRACE_DECL; had to be switched because the asci red machine wouldn't compile the source when -DHAVE_PABLO was used.
* [svn-r1124] Changed the names of the pablo masksDan Wells1999-03-097-7/+7
|
* [svn-r1123] Updates for bug fixes and new entry points in files from src ↵Dan Wells1999-03-098-680/+927
| | | | directory.
* [svn-r1122] Fixed a typo. DEBUG_FLAGS should be DEBUG_CFLAGS.Albert Cheng1999-03-092-3/+3
|
* [svn-r1121] Added Cray T3E recognition. OS named as unicosmk.Albert Cheng1999-03-092-0/+7
|
* [svn-r1120] SnapshotRobb Matzke1999-03-092-2/+2
|
* [svn-r1119] Purpose:Paul Harten1999-03-081-2/+4
| | | | | | | | | | | | | | | | | | | Bug fix Problem: On Solaris2.5, once the library has been compilied with any type of optimization, a bus error comes up in the "dtypes" test. Solution: The problem appears to be in the compilers' version of memcpy() that is used when optimized. Instead of substituting HDmemmove(), on Solaris, the problem is also taken care of by preparing the second argument to HDmemcpy(). The datatype pointer is copied to a separate char pointer which is then used as the second argument to HDmemcpy(). For some reason, it isn't enough to simply cast the datatype pointer. Platform tested: Solaris2.5
* [svn-r1118] SnapshotRobb Matzke1999-03-052-2/+2
|
* [svn-r1117] Changes since 19990303Robb Matzke1999-03-0416-194/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./configure.in ./configure [REGENERATED] The path for a command is calculated explicitly the hard way because `type -path' isn't portable. ./config/freebsd ./config/linux-gnu ./config/linux-gnulibc2 Changed the way files reference each other. ./config/gnu-flags [NEW] ./config/dec-flags [NEW] These files figure out what flags to pass to certain compilers so we can reuse code in more than one config/* file. They also have better warning messages when old compilers are used. ./config/linux-gnulibc1 ./config/dec-osf4.x These files use the new *-flags files. ./src/H5D.c ./src/H5Onull.c ./src/H5Tconv.c ./tools/h5ls.c Fixed a compiler warning. ./src/H5detect.c Added a better comment to the top of the generated file.
* [svn-r1116] SnapshotRobb Matzke1999-03-042-2/+2
|
* [svn-r1115] Changes since 19990302Robb Matzke1999-03-0310-167/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL ./configure.in ./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] Improvements for parallel library. If you have a properly working mpicc you should be able to just say: $ CC=mpicc ./configure and you will see checking for mpirun... /usr/local/mpi/bin/mpirun checking for parallel support files... skipped checking how to run on one processor... /usr/local/mpi/bin/mpirun -np 1 checking how to run in parallel... /usr/local/mpi/bin/mpirun -np $$NPROCS To quote from the INSTALL file.... *** Parallel vs. serial library The HDF5 library can be configured to use MPI and MPI-IO for parallelizm on a distributed multi-processor system. The easy way to do this is to have a properly installed parallel compiler (e.g., MPICH's mpicc or IBM's mpcc) and supply that executable as the value of the CC environment variable: [NOTE: mpcc is not tested yet] $ CC=mpcc ./configure $ CC=/usr/local/mpi/bin/mpicc ./configure If no such wrapper script is available then you must specify your normal C compiler along with the distribution of MPI/MPI-IO which is to be used (values other than `mpich' will be added at a later date): $ ./configure --enable-parallel=mpich If the MPI/MPI-IO include files and/or libraries cannot be found by the compiler then their directories must be given as arguments to CPPFLAGS and/or LDFLAGS: $ CPPFLAGS=-I/usr/local/mpi/include \ LDFLAGS=-L/usr/local/mpi/lib/LINUX/ch_p4 \ ./configure --enable-parallel=mpich If a parallel library is being built then configure attempts to determine how to run a parallel application on one processor and on many processors. If the compiler is mpicc and the user hasn't specified values for RUNSERIAL and RUNPARALLEL then configure chooses `mpirun' from the same directory as `mpicc': RUNSERIAL: /usr/local/mpi/bin/mpirun -np 1 RUNPARALLEL: /usr/local/mpi/bin/mpirun -np $${NPROCS:=2} The `$${NPROCS:=2}' will be substituted with the value of the NPROCS environment variable at the time `make check' is run (or the value 2). ./testpar/Makefile.in Saying `make check' (or `make test') will run the tests on two processors by default. If you define NPROCS then that many processors are used instead: $ NPROCS=4 make check ./configure.in Fixed (hopefully) bugs with detecting whether __attribute__ and __FUNCTION__ are special keywords for the compiler. ./Makefile.in Saying `make install' from the top level directory shows instructions for using shared libraries. ./config/commence.in ./src/Makefile.in ./test/Makefile.in ./testpar/Makefile.in ./tools/Makefile.in Moved the @top_srcdir@ into the makefiles because it was expanded too early and had the wrong value. ./INSTALL Added a warning that if the wrong version of hdf4 tools are installed then `make check' will fail in the tools directory.
* [svn-r1114] Purpose:Paul Harten1999-03-031-1/+1
| | | | | | | | | | | | | | | | | Bug fix Problem: On Solaris2.5, once the library has been compilied with any type of optimization, a bus error comes up in the "dtypes" test. Solution: The problem appears to be in the compilers' version of memcpy() that is used when optimized. Apparently, the same optimization problem is not associated with the similar function memmove(). So, as a solution to this problem, memmove() is substituted in for memcpy(). Platform tested: Solaris2.5
* [svn-r1113] SnapshotRobb Matzke1999-03-022-2/+2
|
* [svn-r1112] Changes since 19990301Robb Matzke1999-03-0229-849/+5946
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL Reorganized and added some additional examples. ./MANIFEST ./aclocal.m4 [NEW] ./configure.in ./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] ./bin/ltconfig [NEW] ./bin/ltmain.sh [NEW] Added tests to determine how to compile shared libraries and how to link programs with them before the libraries are installed. Also how to install and uninstall shared libraries. The configure step also prints the names of the config files it's trying to load for easier debugging. ./bin/config.guess ./bin/config.sub Replaced with a newer version from GNU. The changes we made to that file to report `irix6.x' and `FreeBSD' without version numbers have been incorporated into configure.in instead. In the future, do not change these two files (see the top of configure.in instead). By the way, this update was required to get shared libraries working. ./config/linux [REMOVED] ./config/linux-gnulibc1 [NEW] ./config/linux-gnu [NEW] ./config/alpha-dec [REMOVED] ./config/alpha-dec-osf4.0 [REMOVED] ./config/dec-osf4.x [NEW] ./config/irix5.3 [REMOVED] ./config/irix5.x [NEW] ./config/irix64 [REMOVED] ./config/freebsd Moved config files around to agree with output from the new config.guess. The linux file was split into gnu (RedHat), gnulibc1, and gnulibc2 versions. The alpha-dec file was removed (I think it was unused) and the alpha-dec-osf4.0 was changed to dec-osf4.x. The irix5.3 file renamed to irix5.x and the irix64 file was renamed to irix6.x. The freebsd file was changed to point to linux-gnulibc1. These changes were tested on: Linux 2.0 Linux 2.1 FreeBSD 3.2 Irix 5.3 Irix64 6.2 Irix64 6.4 HP/UX 10.20 OSF1 4.0 ./config/alphaev56-dec-osf4.x ./config/irix64 Added warnings similar to linux/freebsd about using compilers with known bugs. ./config/commence.in ./config/conclude.in ./src/Makefile.in ./test/Makefile.in ./testpar/Makefile.in ./tools/Makefile.in Added definitions for shared libraries. This has been tested on the following systems: Linux 2.0 Linux 2.1 FreeBSD 3.2 Irix 5.3 Irix64 6.2 Irix64 6.4 HP/UX 10.20 static only OSF1 4.0 If you want to disable use of shared libraries (you probably do for development purposes since it takes a lot longer to compile and because you have to run dynamically linked programs in a special way if the library hasn't been installed) then add `--disable-shared' to the configure command line. This is all documented in the INSTALL file. ./bin/release Temprarily commented out the MANIFEST checking when running under svf since svf is about to be replaced by a newer version. This change only affects error checking during the release process. ./Makefile.dist ./Makefile.in Added `make check' which does the same thing as `make _test' since the former is endorsed by the GNU coding style and people are used to it. The old `make _test' still works too (and so does `make test' if you use GNU make).
* [svn-r1111] SnapshotRobb Matzke1999-03-022-2/+2
|
* [svn-r1110] Changes since 19990226Robb Matzke1999-03-0111-224/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL Added instructions for using other compilers on Irix platforms. ./configure.in ./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] ./src/H5private.h The presence of <sys/sysinfo.h> and <sys/proc.h> is only checked on DEC/Alpha because there are too many problems including these headers on other systems. ./config/irix6.x ./config/irix64 Removed `-ansi' and added a comment. Converting an ASCII UTC date and time to a time_t value is not defined by ANSI or Posix but is available if we don't use `-ansi'. This allows the dataset modification time messages to be read properly by H5Gget_objinfo(). ./src/H5Tconv.c Fixed a compiler warning. ./test/dtypes.c ./test/hyperslab.c ./test/istore.c Fixed compiler warnings in printf() statements.
* [svn-r1109] SnapshotRobb Matzke1999-02-262-2/+2
|
* [svn-r1108] Changes since 19990225Robb Matzke1999-02-2616-1127/+1298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL Added warnings and a disclaimer about GNU, DEC, Irix64, and NT compilers that generate incorrect machine code. ./configure.in ./src/H5private.h Detects and includes <sys/param.h> which is needed on FreeBSD before <sys/proc.h> even though we only really using anything from <sys/proc.h> on the DEC Alpha. ./config/irix64 Turned off warnings for duplicate definitions from the linker because -lnsl on irix has the same stuff in it as -lc. ./config/irix6.x Split up the CC and CFLAGS settings like with irix64 so that compilers besides `-n32' can be used. ./bin/snapshot The snapshots are tagged with names like hdf5-1_1_52 which is similar to the way the releases are tagged (cvs doesn't allow dots in tags). ./test/dtypes.c ./src/H5private.h ./src/H5Tconv.c Fixed some alignment violations on the DEC when using high optimization levels. The DEC incorrectly optimizes certain memcpy() and memmove() calls when the source argument is not word aligned if the call looks like it's copying an atomic data type. ./test/hyperslab Worked around code generation bugs in the Irix64 Mongoose 7.00 compiler by casting some `unsigned long' values to `unsigned' in an expression. ./src/H5Ocomp.c Fixed a place where %d was used to print a size_t.
* [svn-r1107] SnapshotRobb Matzke1999-02-262-2/+2
|
* [svn-r1106] Cleaned up a few compiler warnings, etc.Quincey Koziol1999-02-253-7/+7
|
* [svn-r1105] Removed flag which was stopping the HDF4 library from being ↵Quincey Koziol1999-02-251-1/+1
| | | | | | tested, now that I've rolled back the installed library on hawkwind to HDF4.1r2.
* [svn-r1104] Corrected a typo in the "ld warning suppress" which has a peculiarAlbert Cheng1999-02-251-1/+2
| | | | syntax.
* [svn-r1103] Purpose:Paul Harten1999-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | Bug fix Problem: This bug is coming up as a bus error on some machines (fuga, spank) in the "fillval" test. At higher levels of optimizations, H5detect gets rid of a statement which is to be used in alignment tests. Because of this, SIGBUS is never delivered, and the alignment constraints of the machine are not recorded correctly by H5detect in H5Tinit.c. Solution: By preventing the optimizer from getting rid of the statement to be used in the alignment tests, SIGBUS is delivered as expected, and the alignment constraints of the machine are recorded correctly. Platform tested: Irix6.5(fuga), HPUX10.20(spank), Solaris2.5(Kryten)
* [svn-r1102] SnapshotRobb Matzke1999-02-252-2/+2
|
* [svn-r1101] Changes since 19990219Robb Matzke1999-02-2529-585/+650
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./config/irix64 The old (-32) compiler is now supported by setting envrionment CC='cc -32'. The -64 compiler is the default or you can set CC='cc -64'. ./src/H5A.c ./src/H5D.c ./src/H5F.c ./src/H5Fistore.c ./src/H5Flow.c ./src/H5G.c ./src/H5I.c ./src/H5Ocomp.c ./src/H5P.c ./src/H5R.c ./src/H5RA.c ./src/H5T.c ./src/H5Tbit.c ./src/H5Tconv.c ./src/H5Z.c ./src/H5detect.c ./test/big.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/enum.c ./test/mtime.c ./test/ohdr.c ./tools/h5ls.c Fixed lots of warnings on Irix64. Mailed a few remaining warnings in H5S to Quincey and a few in the dumper to Ruey-Hsia.
* [svn-r1100] SnapshotRobb Matzke1999-02-252-2/+2
|
* [svn-r1099] Patrick Lu1999-02-241-0/+0
| | | | added the alpha settings to the enum and enumdll projs
* [svn-r1098] SnapshotRobb Matzke1999-02-232-2/+2
|
* [svn-r1097] Added ./config/unicosmkRobb Matzke1999-02-233-449/+424
|
* [svn-r1096] SnapshotRobb Matzke1999-02-231-1/+1
|
* [svn-r1095] SnapshotRobb Matzke1999-02-231-1/+1
|
* [svn-r1094] Patrick Lu1999-02-221-0/+0
| | | | added the h5toh4 project into the zip
* [svn-r1093] Patrick Lu1999-02-221-0/+0
| | | | removed a file from the zip
* [svn-r1092] Patrick Lu1999-02-221-0/+0
| | | | added some test batch files, updated the config file and updated the project file
* [svn-r1091] SnapshotRobb Matzke1999-02-221-1/+1
|
* [svn-r1090] Patrick Lu1999-02-211-0/+0
| | | | | | fixed the H5Tinit.c so it had the correct endians. I must have been using the wrong H5Tinit.c file for the past few weeks. Also added a few comments to the h5config.h
* [svn-r1089] changed the call to open to HDopen since NT needs that 0_BINARY flagPatrick Lu1999-02-211-1/+1
| | | | in it to open binary files.
* [svn-r1088] SnapshotRobb Matzke1999-02-211-1/+1
|
* [svn-r1087] Changes since 19990218Robb Matzke1999-02-2021-1057/+1273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5F.c ./src/H5private.h ./src/H5Ipublic.h ./src/H5O.c Fixed a rather nasty bug with file closing that caused the file boot block to be updated incorrectly, effectively truncating the file. The bug I fixed was triggered by: 1. Create a file, F 2. Open an object, X 3. Close file F 4. Reopen file F for read/write. 5. Create and close some objects 6. Close file F 7. Close library (exit). Step 3 pended the close because object X is still open, but the file ID was removed from the H5I_FILE ID group. Step 4 created a new file because it didn't see any matching file on the H5I_FILE ID group. Step 5 extends the file. Step 6 writes the new file boot block to disk. Step 7 closes object X and completes the close from step 3, writing the old boot block information to disk. The new behavior is that step 3 moves the file from the H5I_FILE group to the H5I_FILE_CLOSING group. Step 4 searches both groups and finds the file. Step 5 extends the file using the same H5F_file_t struct as step 3. Step 6 closes the H5F_t struct opened in step 3 but not the H5F_file_t struct shared by steps 1 and 3. Step 7 closes object X which closes the H5F_file_t from step 1, flushing the boot block which was shared by all steps. ./src/H5F.c Added some bulletproofing to file reference counting and removed comments which no longer apply. Added H5F_flush_all() and H5F_close_all() which apply to all files. ./src/H5A.c ./src/H5D.c ./src/H5F.c ./src/H5G.c ./src/H5I.c ./src/H5Iprivate.h ./src/H5R.c ./src/H5RA.c ./src/H5S.c ./src/H5T.c Added the new H5I_free_t data type to describe the function type to be passed as the `free_func' argument to H5I_init_group(). ./src/H5I.c Bulletproofed the object removal functions. Removed comments which no longer apply. Changed global variable names so they don't violate the naming scheme. Added H5I_debug() that prints the contents of an ID group. Removed H5I_inc_ref() because it isn't used. Reindented a couple of functions. ./src/H5.c ./src/H5G.c ./src/H5Ipublic.h Changed H5I_MAXID to H5I_NGROUPS to better relect the fact that it's the total number of valid ID groups. ./src/H5Shyper.c Changed hyperslab offset arrays to signed quantities to get rid of warnings on DEC cluster. ./src/H5Flow.c ./src/H5Fprivate.h Changed the objno argument of H5F_addr_pack() to be unsigned to get rid of warnings on DEC cluster.
* [svn-r1086] SnapshotRobb Matzke1999-02-201-1/+1
|
* [svn-r1085] Added platform T3E.Albert Cheng1999-02-192-0/+7
|
* [svn-r1084] Added configuration for platform T3E whose OS is called unicosmk.Albert Cheng1999-02-191-0/+138
|
* [svn-r1083] Purpose:Paul Harten1999-02-191-2/+6
| | | | | | | | | | | | | | | | | | Bug fix Problem: Currently, when --enable_preduction --disable-debug modes are selected during configure, the optimization level scheduled is -O (-O2). Unfortunately, this level of optimization relaxes too much the alignments necesary for the building, and testing of the hdf5 library. Solution: Lower the level of optimiztion to -O1. This still maintains required alignments. Platform tested: Irix6.5(fuga)
* [svn-r1082] SnapshotRobb Matzke1999-02-192-2/+2
|
* [svn-r1081] Changes since 19990218Robb Matzke1999-02-185-159/+183
| | | | | | | | | | | | | ---------------------- ./src/H5Shyper.c Changed hyperslab offset arrays to signed quantities to get rid of warnings on DEC cluster. ./src/H5Flow.c ./src/H5Fprivate.h Changed the objno argument of H5F_addr_pack() to be unsigned to get rid of warnings on DEC cluster.
* [svn-r1080] Disabled detection of hdf4 during the configuration because hawkwindRobb Matzke1999-02-181-1/+8
| | | | has old enough hdf4 libraries that the h5toh4 test always fails.