Commit Graph

240 Commits

Author SHA1 Message Date
Quincey Koziol
222e001c1d [svn-r7684] Purpose:
Bug fix

Description:
    Reduce optimization level from -O3 to -O for gcc 3.*, since it seems to
be generating bad code for the atomic type conversions now...

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (eirene, verbena)
    h5committest not necessary, this is a GNU-only change.
2003-10-20 23:08:51 -05:00
Quincey Koziol
d7bde16f45 [svn-r7480] Purpose:
Bug fix

Description:
    The MPI_File_set_size() routine on ASCI Red is not able to extend files
so that they are larger than 2GB.

Solution:
    Add an extra macro which controls whether MPI_File_set_size() can handle
>2GB offsets or if our "older" way of reading a byte, then writing a byte at
the appropriate offset should be used.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-16 12:33:00 -05:00
Quincey Koziol
26e94d4eef [svn-r7293] Purpose:
Code cleanup

Description:
    Remove some redundant libtool definitions, etc.

Platforms tested:
    h5committested
2003-08-08 13:33:45 -05:00
Elena Pourmal
c926d46a9d [svn-r7284]
Purpose: Bug fix (by Bill Wendling)

Description:  When efc compiler was used, FFLAGS were not set up
              to deal with !DEC amd !MS dirctive and to use
              -Vaxlib flag for exit call.

Solution: Modify the file to set up the flag.

Platforms tested: titan

Misc. update:
2003-08-04 13:27:57 -05:00
Bill Wendling
2f7273dc73 [svn-r7280] Purpose:
Bug Fix

Description:
    In a fit of what can only be described as brain-damagedness, on blue,
    frost, etc. (AIX, really), when you include the zlib.h header file
    and are specifying that the compiler accept ANSI C, zlib.h undefines
    the "const" keyword if you don't have the variable STDC
    defined...*boggle*.

Solution:
    Included a -DSTDC as a commandline flag for the compiler.

Platforms tested:
    Snow (AIX 5.0)
    Only affects AIX machines, so no h5committest needed.

Misc. update:
2003-07-31 15:15:13 -05:00
Bill Wendling
b09e4485f4 [svn-r7277] Purpose:
Bug Fix

Description:
    C++ on Irix 6.5 needs some special libraries (libCio or some such
    thing). These were defined using the DEFAULT_LIBS macro. However,
    they weren't being placed into the Makefiles since it wasn't
    AC_SUBST'ed in configure.in and wasn't declared in commence.in.

Solution:
    Added to configure.in and also added and commence.in

Platforms tested:
    Modi4 (C++, small change and only Irix specific)

Misc. update:
2003-07-30 15:06:56 -05:00
Bill Wendling
1eb74205d4 [svn-r7273] Purpose:
Update/Fix

Description:
    The Dependencies files weren't begin generated properly for C++.

Solution:
    Modified the "dependencies" script to use "top_srcdir" only instead
    of "srcdir", which tended to confuse matters. Regenerated the
    Dependencies files.

Platforms tested:
    Arabica (Small changes)

Misc. update:
2003-07-29 14:23:54 -05:00
Bill Wendling
0603e2db00 [svn-r7269] Purpose:
Update

Description:
    Revamped the configuration system. The configurations for the Fortran
    and C++ libraries are no longer separate from the "main"
    configuration system. This involved removing the "configure*" and
    "aclocal.m4" files from the fortran/ and c++/ subdirectories. Also
    merging settings in the config/ subdirectories into the main config/
    subdirectory.

    Fortran header files had to be modified a little for Linux. It was
    checking if it was a Linux machine by some #defines, however with the
    -std=c99 switch, these defines weren't there. I added a check for
    some other ones which should be there whether the -std=c99 switch is
    used or not.

Platforms tested:
    Verbena (Fortran & C++)
    Sol (Fortran & C++)
    Copper (Fortran & C++)
    Modi4 (Parallel, Fortran, & C++)

Misc. update:
2003-07-28 16:38:04 -05:00
Albert Cheng
fbf20fd09f [svn-r7247] Purpose:
Bug fix

Description:
The "prefix?=..." is not recognized by all make commands.  Even some
older gmake do not recognize it.  The result is that "make install"
failed for many platforms (AIX, Solaris 2.7, HPUX 11, ...) because
when they tried to install at $(prefix)/lib, it becomes /lib since
$(prefix) is not defined.

Solution:
Restore it back to the previous
   prefix=...

Platforms tested:
h5committested.
Also ran in-place build using vendor make in kelgia, arabica
and copper.

Misc. update:
2003-07-22 17:36:39 -05:00
Quincey Koziol
7f2bb04bc4 [svn-r7150] Purpose:
Bug fix

Description:
    "prefix" variable was always being set, instead of only being set if the
    user hadn't set it yet.

Solution:
    Changed "prefix=<foo>" to "prefix?=<foo>".

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Checked in gmake manual to make certain syntax is the same (it is).
2003-07-03 12:23:35 -05:00
Bill Wendling
007affb6df [svn-r7121]
Purpose:
	Bug Fix

Description:
	Changes needed to make "pmake" work on Modi4.

Solution:
	Needed to add some null macro defines in the commence.in files.
	Needed to remove a dependence on LIBH5TEST in the fortran make
	since LIBH5TEST isn't used in the fortran stuff.

Platforms tested:
	Modi4 (small change)

Misc. update:
2003-06-30 10:19:44 -05:00
Albert Cheng
6f94c274c4 [svn-r7041] Purpose:
Improvement

Description:
RUNPARALLEL is setup with default value when --enable-parallel but only if
CC is not set.

Solution:
set RUNPARALLEL to default value of using poe when --enable-parallel
or when an MPI compiler (e.g. mpcc_r) is used.

Platforms tested:
Copper for both 32 and 64 bit, serial and parallel.
(32bit parallel had a hang problem in configure which is a different but
known problem.)
Note that one still need to setenv AR "ar -X64" for 64bit configure.

Misc. update:
2003-06-14 18:35:10 -05:00
Albert Cheng
a36d2638ce [svn-r6923] Purpose:
Speed up
Description:
    Cache the settings of all number types to save configure time.
    Reduced configure time by a whopping 40% (11m to 7m :-)
Platforms tested:
    Sasn100 only (janus frontend.)
2003-05-29 10:53:34 -05:00
Albert Cheng
e5865cbf35 [svn-r6904] Description:
Replaced the individual setting of gcc flags with the combined
gnu-flags file.

Platforms tested:
Tested in modi4 with different combinations of gcc.  No needed to
run three platforms tests since this is for irix machines only.

Misc. update:
2003-05-20 00:17:09 -05:00
Quincey Koziol
b43ff847ee [svn-r6876] Purpose:
Code cleanup

Description:
    Remove special optimization and debugging flags for obsolete versions of
gcc.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest not needed.
2003-05-15 13:52:07 -05:00
Albert Cheng
940cebe09c [svn-r6874] Description:
Change the wording of the parallel test to as a hint.

Platforms tested:
Just a change of echo statement.  Tested in Eirene only.

Misc. update:
2003-05-15 09:32:20 -05:00
Albert Cheng
c7478518b4 [svn-r6854] Purpose:
Feature

Description:
Sometimes the total build process take a long time, especially in
parallel systems.  Need some idea if some times are taking way
too long to process.

Solution:
Added timestamps marking the beginning and ending of tests in
one directory.  This gives a rough idea of how much time the
tests use.

Platforms tested:
Tested only in Eirene since this is just a makefile thing and only
involve a simple command like echo and date.

Misc. update:
2003-05-13 10:21:42 -05:00
Albert Cheng
deab04989e [svn-r6845] Bug fix.
cached the result of configure test for system_scope_threads(no)
since TFLOPS can't do testing in frontends.

Tested in sasn100 (frontend of Janus).
2003-05-12 01:11:05 -05:00
Bill Wendling
c390d06017 [svn-r6842] Purpose:
Code Cleanup

Description:
    Warning messages were being produced by the "make" program because
    the "docdir" was being specified twice as a target in the generated
    Makefiles. This is because the "EXAMPLESDIR" was also defined as
    "docdir".

Solution:
    Made "EXAMPLESDIR" unique for C, Fortran, and C++ in the commence.in
    file and removed EXAMPLESDIR from the Makefile.ins

Platforms tested:
    Dangermouse (only affects make system, not code).

Misc. update:
2003-05-08 18:19:15 -05:00
Albert Cheng
864d07f780 [svn-r6833] Purpose:
Improvement

Description:
Added an explanation of using $HDF5_PARAPREFIX for Parallel tests.

Platforms tested:
h5committested (using sol instead of arabica) plus eirene(pp).

Misc. update:
2003-05-08 13:47:20 -05:00
Elena Pourmal
0b337b6c81 [svn-r6818]
Purpose: Maintenance for T3E

Description: Cray updated T3E to run unicosmk2.0.6.X
             Configuration failed.

Solution: Created new unicosmk2.0.6.X files in the config and fortran/config
          directories and added them to MANIFEST

Platforms tested: Cray T3E

Misc. update:
2003-05-06 18:16:23 -05:00
Quincey Koziol
774b4724b1 [svn-r6792] Purpose:
Initial pass for gcc3.3 support

Description:
    Added section for gcc 3.3+ and cleaned up the gcc 3.2+ section a little.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/gcc 3.3 snapshot
    Triple check unneeded.
2003-05-02 09:31:08 -05:00
Bill Wendling
158d164b91 [svn-r6768] Purpose:
Bug Fix

Description:
	The compression stuff includes the "zlib.h" header file. This
	file on the SP machine was including another file which would
	#define const as nothing if the compiler wasn't a Standard C
	compiler.

Solution:
	Included a flag to make the compiler into an ANSI compiler.

Platforms tested:
	Blue (Only affects powerPC computers)

Misc. update:
2003-04-28 17:24:07 -05:00
Elena Pourmal
967dfbe01c [svn-r6682]
Purpose: Catching up with 1.4 branch

Description: 1.5 didn't have unicos10.0.X configuration files
             for both C and fortran.

Solution: Added the files

Platforms tested: CRAY T90IEEE

Misc. update:
2003-04-15 17:25:50 -05:00
Albert Cheng
7a6bda13fe [svn-r6560] Purpose:
Feature (bug fix)

Description:
Added a new configure file specifically for the IA64 platform
in which ecc and efc are the default compilers.
Also added all the Fortran special setup in the fortran version

Platforms tested:
no h5committest since this is a IA64 platform stuff.
Tested in Titan.

Misc. update:
MANIFEST Updated.
2003-04-02 11:50:58 -05:00
Albert Cheng
117b6cd323 [svn-r6532] Purpose:
Bug fix

Description:
test/dtypes failed badly when -O is used.  Trying to recompile test/*
code without -O did not eliminate the errors.  So, the failure is
deep in the hdf5 library.

Solution:
For now, removed '-O' from $PROD_CFLAGS so that enable-production will use
no optimization.  Need to find out what exactly trigger the errors.

Platforms tested:
Did not do h5committest because this is an AIX configure change only.
Tested it in Copper.  Need to test it on other offsite machines.

Misc. update:
Updated release_docs/RELEASE.
2003-03-31 11:47:51 -05:00
Albert Cheng
d88f9db418 [svn-r6524] Purpose:
New test feature

Description:
The various virtual file drivers (multi, family, core, ...)
are not tested automatically.  One would have to do it by hand
by setenv HDF5_DRIVER <driver> and then do gmake check in test/.

Solution:
Added a new target, check-vfd, which will take the list from
$VFD_LIST and run 'make check' with each of its members.

Platforms tested:
h5committested.
Since check-vfd is not invoked by default, I went to each machine
to invoke them by hand.  The target worked fine but there were
errors reported from those driver tests.  (Those errors were beyond
the scope of this make target test.)

Misc. update:
2003-03-26 19:14:30 -05:00
Albert Cheng
80c5ec82e7 [svn-r6516] Purpose:
Bug fix

Description:
The $RUNPARALLEL is set even when parallel mode is not used.
Then it is used to launch some parallel natured test (e.g. example/ph5example)
which is not compiled to be so.  That created some unnecessary problem
in some situation (e.g., Copper cannot "poe a.out" from an AFS space
because of the missing AFS token system bug.

Solution:
Setup RUNPARALLEL only when parallel mode is enabled.

Platforms tested:
Only tested in Copper since the change applies to IBM machines only.
(note that v1.4 will fail by default due to a problem when the default
production mode is used.  But that is an error not related to this config file)

Misc. update:
2003-03-20 18:47:00 -05:00
Elena Pourmal
621f8c50b6 [svn-r6490]
Purpose: Catching up with C library

Description:  Fortran Library would not configure correctly with PGI compilers
              because configure couldn't find any appropriate filesin the config
              directories.
Solution:     Added new files for PGI compilers support on Linux 2.4

Platforms tested: arabica(C and F90), burrwhite (pgcc and pgf90), modi4 (F90 and parallel)

Misc. update:
2003-03-19 11:05:26 -05:00
Quincey Koziol
3b6e9ff03c [svn-r6440] Purpose:
Bug fix.

Description:
    -O2 -finline-functions still causes production builds on eirene to fail.

Solution:
    Downgrade optimization on gcc 2.95.x (x<3) to -O -finline-functions

Platforms tested:
    Linux 2.2 (eirene)
2003-02-27 07:26:27 -05:00
Quincey Koziol
55a42d534a [svn-r6439] Purpose:
Bug fix w/gcc 2.95.x where x<3

Description:
    -O3 optimization level causes problems for gcc 2.95.2 on eirene

Solution:
    Only enable -O3 if using gcc 2.95.x (where x>=3) or gcc 3

    Otherwise, use older setting of -O2 -finline-functions

Platforms tested:
    FreeBSD 4.7 (sleipnir)
    Linux 2.2 (eirene)
2003-02-26 14:55:27 -05:00
Albert Cheng
a3254796e9 [svn-r6413] Purpose:
bug fix, features.
Description:
    removed the cache of sizeof_long since it varies between 32 and 64 bits.
    Set xlc and mpcc_r as the default compiler for serial and parallel modes.
    Added -D_LARGE_FILES by default to support large file size.

    Added gcc gnu-flags when gcc compiler is used (not working yet.)
Platforms tested:
    Tested in Copper only since that is the only AIX machine on site.
2003-02-17 13:05:55 -05:00
Quincey Koziol
946c606452 [svn-r6411] Purpose:
Code cleanup

Description:
    Clean up miscellaneous warnings which have crept into the code.

    Fix "_POSIX_C_SOURCE not defined" warning on FreeBSD.

    Adjust gcc compiler flags to be more concise for production mode.

    Refactor the H5O code so that there is a stronger boundary between code
    in the H5O package and code in the library which just calls H5O routines.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir) serial & parallel and gcc 2.95.4 & gcc 3.2.2

Misc. update:
    Update MANIFEST if you add or remove any file.
2003-02-17 10:54:15 -05:00
Bill Wendling
0f125bf0fc [svn-r6404] Purpose:
Bug Fix (Bug #806)
Description:
    When compiling/installing with the command "make install" (without
    performing a "make" beforehand) the tools weren't being made. This
    was because the `install' command in the Makefiles only relied upon
    public libraries, not private ones (which the one in the tools
    directory is).
Solution:
    Had the `install' command be dependent upon an "AUX_LIB" macro which
    includes libraries which are needed but aren't distributed (that is,
    they're staticly compiled).
Platforms tested:
    Linux
2003-02-14 16:17:16 -05:00
Quincey Koziol
ce5dca112e [svn-r6274] Purpose:
Code cleanup

Description:
    Added gcc 3.2-specific warnings.

Platforms tested:
    FreeBSD 4.7 (sleipnir) w/gcc 3.2.1
2003-01-13 12:16:50 -05:00
Quincey Koziol
ad39fcd690 [svn-r5919] Purpose:
Cleanup

Description:
    Cleanup gcc cases to be more general about gcc 3.x, now that gcc 3.2 has
    been released.

Platforms tested:
    FreeBSD 4.6 (sleipnir) - not a significant enough change to worry about
    multi-platform testing.
2002-09-11 16:31:13 -05:00
Quincey Koziol
f10e0cc1eb [svn-r5791] Purpose:
Code update.

Description:
    Added dependency on test scripts to "make check" target

Platforms tested:
    FreeBSD 4.6 (sleipnir) & IRIX64 6.5 (modi4)
2002-07-15 10:11:27 -05:00
Albert Cheng
d64879827f [svn-r5727] Purpose:
Porting to AIX 5.x
Description:
These have been tested out in v1.4.  Folding them in here.
    aclocal.m4:
	Snow's names were not included in the special hack.
	Added its names in.
	Removed the trailing * in pacific.llnl.gov too.
    configure.in:
    fortran/configure.in:
	Added a case to group all AIX 5.* versions as aix5.x.  This allows
	them to share one common config/*aix5.x file.
    configure:
    fortran/configure:
	Derived from configure.in (done in eirene).
    config/powerpc-ibm-aix4.x:
	Added a comment explaining why not to cache sizeof size_t and off_t
    fortran/config/powerpc-ibm-aix4.x:
	Turned of cache of sizeof size_t and off_t because they are depedent
	on compiler options.
    config/powerpc-ibm-aix5.x:
    fortran/config/powerpc-ibm-aix5.x:
	New config file for AIX 5.X
Platforms tests:
    LLNL Blue, Frost, Snow, both serial and parallel.
2002-06-29 18:39:05 -05:00
Albert Cheng
218c0a70e7 [svn-r5716] Description:
Fixed a typo in LT_LINK_EXE=... line.
Platforms tested:
    modi4 (pp)
2002-06-27 00:20:46 -05:00
Quincey Koziol
aefc39ac32 [svn-r5667] Purpose:
Code cleanup

Description:
    Turn on more warnings in the IRIX builds and clean them up.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 07:54:53 -05:00
Bill Wendling
8e13c3a260 [svn-r5396] Purpose:
Bug Fix
Description:
    Placed quotes around strings which could be empty so that the shell
    script doesn't complain to us about "too many arguments for test"
    problems.
Platforms tested:
    Linux
2002-05-10 16:05:06 -05:00
Quincey Koziol
f3671809b5 [svn-r5309] Purpose:
Configure cleanup

Description:
    Neaten up file a bit more...

Platforms tested:
    Linux 2.2 (eirene) with gcc 2.95.2 and Solaris 2.6 (baldric) with gcc 2.8.1
2002-05-01 10:14:52 -05:00
Quincey Koziol
80de8bccb9 [svn-r5304] Purpose:
Configure cleanup

Description:
    Fine-tune the gcc version checks a bit more...

Platforms tested:
    FreeBSD 4.5 (sleipnir) with gcc 2.95.3 and gcc 3.1 (prerelease) and
    Solaris 2.6 (baldric) with gcc 2.8.1
2002-05-01 09:15:35 -05:00
Quincey Koziol
2491fa05d4 [svn-r5302] Purpose:
Configuration improvements

Description:
    Added more warning flags to gcc builds, especially with gcc 3+.  Also, added
    the -Wno-long-long flag to gcc builds to turn off the annoying "long long"
    warnings.

Platforms tested:
    FreeBSD 4.5 (sleipnir) with gcc 2.95.3 and gcc 3.1 (prerelease)
2002-05-01 08:30:54 -05:00
Albert Cheng
fda4bd4fb4 [svn-r5184] Added hard coded value of malloc for zero bytes into the cached list.
Tested:
    Tflops.
2002-04-14 00:17:23 -05:00
Albert Cheng
27f237f4c0 [svn-r5072] Purpose:
Bug fix
Description:
    Old config assume compiler is the SGI compiler if it is not gcc.
    It would apply all SGI cc options to the $CFLAGS.  This would cause
    problem if a non-cc non-gcc compiler is used.
Solution:
    Verify the compiler is indeed the SGI compiler before applying all those
    cc specific options to the $CFLAGS.
Platforms tested:
    modi4, both parallel serial, gcc or cc, -64 or n32.
2002-03-19 23:45:55 -05:00
Bill Wendling
2c49a718d7 [svn-r4999] Purpose:
Bug Fix
Description:
	``make uninstall-doc'' wasn't working properly. Some files would be
	left behind in the installed source tree. The fix I put in was too
	heavy-handed as it wiped out the entire doc tree that was installed
	and would remove any other files which were installed there.
Solution:
	Executed the ``make uninstall-examples'' command if uninstalling the
	docs. Fixed how the java Tutorial examples were being removed (they
	weren't). Essentially used the PUB_SUBDOCS macro to help remove them.
Platforms tested:
	Linux
2002-02-21 16:10:29 -05:00
Albert Cheng
cf16f383ec [svn-r4980] Purpose:
Bug fix
Description:
    The -lnoop library was specified in $LDFLAS when it should have
    been in $LIBS.  In the past, human just put it in the back and
    repeated it enough times in the link statement till it worked.
    The tool h5cc exposed this error since the $LDFLAGS is put in
    front of all libraries, including libhdf5.a.  That won't work.
Solution:
    Moved the specification of -lnoop to $LIBS.
Platforms tested:
    Tflops
2002-02-18 10:25:43 -05:00
Quincey Koziol
dd0ecaa643 [svn-r4917] Purpose:
Bug Fix

Description:
    Turn down the compiler optimizations for the Cray SV1

Platforms tested:
    Cray SV1 (killeen.nersc.gov)
2002-02-07 11:25:54 -05:00
Albert Cheng
8a778bb95d [svn-r4794] Purpose:
Bug fix.
Description:
    __int64 is not a legal type in Tflops.
    Set its sizeof to 0 in the cached values.
    This is a temporary fix since the real problem is
    in configure which hardset __int64 to 8 for cross-compiling cases.
Platforms tested:
    Tflops
2002-01-07 17:32:16 -05:00