Commit Graph

8 Commits

Author SHA1 Message Date
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