Commit Graph

28 Commits

Author SHA1 Message Date
Albert Cheng
914fbdcc67 [svn-r13312] Updated copyright notice. 2007-02-14 17:29:52 -05:00
Albert Cheng
102170c3bf [svn-r12961] Upgrade.
Change AIX to use C99 standard by default.
Also removed -DSTDC as its need is unknown.
Also added a line to identify this is for IBM AIX platforms.

Tested:
Copper.
2006-11-21 13:50:05 -05:00
Albert Cheng
db31594e68 [svn-r12344] Purpose:
Bug fix.

Description:
C++ testhdf5 failed when it tried to inspect the size of a file
via the HDstat call.  The reason was that the CFLAGS has -D_LARGE_FILES
hardset in it while the CXXFLAGS does not.  So, C is using an off_t
that is 8 bytes while C++ is using off_t as 4 bytes.  C is using
a version of 64bits stat/off_t/etc while C++ uses the 32 bits version.
Thus a failure.

Solution:
Added -D_LARGE_FILES to $CXXFLAGES so that both C and C++ are using
the same version of stat/off_t/etc.

Platforms tested:
Tested in Copper only, both 32 and 64 bits since the changes affected
the AIX platform only.
2006-05-11 23:16:10 -05:00
James Laird
1f9410e11e [svn-r12325]
Purpose:
Bug fix

Description:
The Daily Test errors were due to H5_CFLAGS not being included when
configure tested the sizes of some values.
Rolled back the offending changes.

Solution:
There is a "correct" solution to this problem, which is to ensure that
the H5_CFLAGS are included in autoconf's tests.
This rollback is only temporary until the "real" fix can be applied.

Platforms tested:
copper (problem only in aix config file)
2006-05-03 16:45:44 -05:00
James Laird
cec67c91dc [svn-r12318]
Purpose:
H5CC feature

Description:
Made H5_CFLAGS change to several more configuration files.

Solution:
Moved nonessential flags from CFLAGS to H5_CFLAGS for several more
platforms.  If my guesses about which flags were nonessential were
wrong, we'll have Daily Test errors.

Platforms tested:
mir, cray, copper, juniper (OS X)
2006-05-01 17:34:19 -05:00
Frank Baker
25733372e4 [svn-r11614]
Description:
    Correct typo in copyright notice.
Platforms tested:
    Ran hdf5/bin/chkcopyright without errors.
2005-10-28 15:28:20 -05:00
Frank Baker
155d762b9c [svn-r11592]
Description:
    Add source code copyright notice; comment symbols vary by type of file.
Platforms tested:
    No changes that should cause any problems.  Nonetheless, the tree will
    be checked out fresh and tests run immediately post-commit.
2005-10-21 09:54:41 -05:00
James Laird
c8c43d2b9a [svn-r11461] Purpose:
Code cleanup

Description:
Removed Fortran type sizes from config/* files.

Solution:
These lines weren't doing anything anymore; they've been replaced by automatic
type generation.  This is just housekeeping to remove them from
the config/* files.

Platforms tested:
mir, sol, modi4
2005-09-22 18:02:40 -05:00
Albert Cheng
c0e83899c3 [svn-r11431] Purpose:
New feature.

Description:
Added the time command to the make check target to report time usage
of the execute of each test and test scripts.  This gives us some idea
how long each test takes and some vague idea it is compute bound or
not.

powerpc-ibm-aix5.x:
Change $RUNPARALLEL default setting to allow it being invoked by the
time command.

Platforms tested:
h5committested.
2005-09-17 22:04:28 -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
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
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
MuQun Yang
cfc77c0d78 [svn-r10202] Purpose:
Hard code IBM platform so that the irregular collective IO won't call
MPI derived data type.

Description:
IBM MPI-IO has a bug for MPI derived data type.

Solution:

Platforms tested:
copper(AIX,mpcc_r) and heping(Linux, mpich)

Misc. update:
2005-03-11 17:13:27 -05:00
James Laird
25df1908bc [svn-r10158] Purpose:
Automake version upgrade

Description:
Upgraded automake version from 1.6.2 to 1.9.5.
Changed bin/reconfigure script to use automake 1.9.5.
Changed configure.in and Makefiles to use new FCFLAGS and FC variables
instead of FFLAGS and F9X.
Automake and configure should now do the lion's share of the work
supporting Fortran 9X; macros in acsite.m4 are now mostly unused (will
be cleaned later).
Altered how configure handles pmake; now root-level Makefile.in is
processed by bin/reconfigure to have a .MAKEFLAGS target, since
automake no longer allows us to define unused variables.
Configure now always checks for C++ compiler even if it is not
used, since automake thinks this is the Right Thing To Do and
will break otherwise.

Platforms tested:
Sol, copper, heping, mir, sleipnir, eirene, pommier, kelgia, modi4.
2005-03-07 12:57:27 -05:00
Quincey Koziol
c04b612eb4 [svn-r9801] Purpose:
Bug fix

Description:
    Belatedly chase change of hobj_ref_t in C APIs.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/backward compatibility turned on
    IRIX64 6.5 (modi4) w/FORTRAN
    h5committest
2005-01-10 17:56:20 -05:00
Albert Cheng
535c97a581 [svn-r9425] Purpose:
Bug fix

Description:
Removed the cache values of sizeof signed and unsigned int_fast8_t
and int_fast16_t since the vendor changes them often.

Platforms tested:
Tested in Copper only since it affected it only.

Misc. update:
2004-10-14 16:23:39 -05:00
John Mainzer
7163f6d622 [svn-r9220] Purpose:
Fix configure bug that appears on SDSC DataStar.


Description:

Two cached "sizeof"s in ./config/powerpc-ibm-aix5.x cause builds
on SDSC Datastar to choke.


Solution:

Commented out the offending "sizeof"s.  Included comments indicating
the reason for the change.


Platforms tested:

copper


Misc. update:

n/a
2004-09-07 16:38:49 -05:00
Quincey Koziol
31596fc1bd [svn-r8201] Purpose:
Code cleanup/bug fix

Description:
    Fix configuration files to allow 64-bit compilation of the library with
a 64-bit version of zlib.

Solution:
    Moved important compiler flags settings from CC macro to CFLAGS macro.
Instead of setting CC (F9X, CXX) environment variable for compiling for 64-bit
code, users should just set the CFLAGS (FFLAGS, CXXFLAGS) to -q64.
    Updated INSTALL file to reflect this change.

Platforms tested:
    IBM p690 (copper) w/parallel, FORTRAN, C++, srcdir.
    Platforms specific - h5committest does not apply.
2004-02-13 15:08:18 -05:00
Quincey Koziol
a2670d00c7 [svn-r8132] Purpose:
Bug fix

Description:
    Update debugging and profiling flags to include more information.

Platforms tested:
    IBM p690 (copper)
    too obscure for h5committest
2004-01-31 10:14:44 -05:00
Bill Wendling
b303888f43 [svn-r7854] Purpose:
Bug Fix

Description:
    The FFLAGS, CXXFLAGS, and CPPFLAGS variables weren't carrying
    user-defined values into the Makefiles.

Solution:
    Changed the flags from FOO="..." to FOO="$FOO ..."

Platforms tested:
    Copper
    Verbena
    Arabica

Misc. update:
2003-11-14 15:36:53 -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
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
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
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
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
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
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
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