Commit Graph

13 Commits

Author SHA1 Message Date
Albert Cheng
e554086467 [svn-r22830] Bug fix: HDFFV-8069 AIX config file Fortran flags need fix
Description: The Fortran compiler flags were all set to "-O". They should be
different setting for different situations. E.g, "-g" for debug and
"-pg" for profile, etc.

Fix: set them to appropriate different values.

Tested: in Remote ADA AIX machines using 3 different settings:
    configure --enable-fortran --enable-cxx     # default to --disable-production
    configure --enable-fortran --enable-cxx --enable-production
    configure --enable-fortran --enable-cxx --disable-production
2012-09-27 16:07:43 -05:00
Albert Cheng
2ac614f94d [svn-r21997] Feature: HDFFV-7793: AIX Fortran and C++ Compiler version information
Added code to display the version information of XL fortran and C++ compiler
version information. (This is just a quick fix for the AIX XL compilers.
The overall algorithm of compilers version information needs an overhaul.)

Tested: ADA machine. (No committest because the changes applied to AIX XL
compilers only.)
2012-02-28 07:32:22 -05:00
Albert Cheng
264fa3562a [svn-r21725] Bug HDFFV-2511: h5repack: failed in -q32 AIX due to memory
Description: removed the temporary patch of
RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
and similaryly for RUNPARALLEL since the h5repack test failure
was fixed and this patch is no longer needed.  (IBM also advices
not to hardset MAXDATA if possible.)

Tested: NASA G-ADA AIX machine, both 32 and 64 bits modes.
(No parallel test because not able to build or run MPI executables yet.)
2011-11-07 08:50:46 -05:00
Mike McGreevy
dc9288a447 [svn-r21101] HDFFV-7639
Purpose:

    Remove H5_MPI_SPECIAL_COLLECTIVE_IO_WORKS and
    H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS #defines from source.

Description:

    Two advanced parallel functionalities, special collective IO and
    complex derived datatypes, are not supported by older
    implementations of mpi, and thus our code limits the use of these
    features with #ifdefs and has checks in configure to set them (or
    not). Unfortunately, configure can't actually run a parallel check
    to see if these features are working (nor not) so it resorts to
    looking in the config files where they are explicity enabled or
    disabled based on versions of mpi, sytems being built on, or for
    no documented reason at all (i.e. just set to on or off as some
    'default'). Overriding these settings is easy if need be, provided
    it is known that it needs to be done to get improved performance,
    and oftentimes it is not.

    Most new MPI implementations successfully handle the functionality
    requested when these #defines are set, and many of the "turn these
    features off" cases in the config files are for old (> 5 years)
    versions of MPI and retired systems (such as NCSA's tungsten).

    Therefore, the decision has been made to remove the support for
    these old versions of MPI and systems that cannot handle these
    behaviors. The #ifdefs and supporting setup in the config/ files
    and configure script has been removed, and the code executed when
    these options were not set removed from the source.

    In passing, this commit also cleans up some whitespace issues in
    both t_mpi.c and H5Dmpio.c. Furthermore, in t_mpi.c, the special
    collective IO test was not getting regularly run due to it being
    written to work only with four processes (we regularly test with
    six, previously with three), and thus it failed when actually run
    due to an out of bounds data buffer assignment. It has been
    modified to run at any number of processes greater than four, and
    the memory problem has been fixed so the test passes.

Tested:

    jam, h5committest, ember
2011-07-14 15:33:21 -05:00
Albert Cheng
1d5f195c21 [svn-r20686] Added "xlc_r" as a recognized XL compilers.
Tested:
NCSA BP AIX system. No need of h5committest because the changes affect AIX
systems only.
2011-04-29 17:46:53 -05:00
Albert Cheng
bfe11bf839 [svn-r19767] Problem:
The parallel test ran out of memory because 32bit binary default to use
less memory.  Changed RUNPARALLEL to use larger memory (LDR_CNTRL=MAXDATA=0x2000
0000@DSA).

Tested: BP parallel.
2010-11-11 17:50:01 -05:00
Albert Cheng
2013dace18 [svn-r19764] Updated NPROCS default value from 3 to 6. 2010-11-11 13:17:02 -05:00
Albert Cheng
ffbf295204 [svn-r19592] Bug fix: since the addition of
RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
kind of mess things up for the parallel HDF5 configure.
Changed it to 
    RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA MP_PROCS=1 MP_TASKS_PER_NODE=1 poe"}
if --enable-parallel.

Also merge powerpc-ibm-aix5.x with ibm-aix by making powerpc-ibm-aix5.x to
source ibm-aix just like ibm-aix6.x.  This is in preparation that all AIX
platforms will eventually just use ibm-aix directly.

Fixed a small problme in ibm-flags: some older xlc (e.g. v7.1) prints the
version information with a leading blank. So, accommodate this pattern by
removing the "^".

Tested: LLNL uP, 32/64bits, serial/parallel. (parallel has tests failed
but this change is mainily for configure issues.)
Also tested BP, 32/64bits but serial only.
2010-10-13 18:25:23 -05:00
Albert Cheng
d9e64dce7f [svn-r19293] bug 1678: temporary fix.
Description: aix -q32 default to a memory limit that some HDF5 tests would
fail in malloc.

Solution:
Temporary hardset
RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
to bypass this problem until the test programs are fixed.  Though -q64 binary
has a higher default memory limit and does not need this patch, it is applied
the same for the sake of simplicity since it is a temporary fix.

Tested:
in BP, both -q32 and -q64 modes. No h5committest since this applies to the
AIX platform only.
2010-08-25 07:30:18 -05:00
Albert Cheng
f16711cc5e [svn-r18929] New feature:
Added ibm-flags to display the IBM XL compilers version information so that configure
can report them in the configure summary and the libhdf5.settings file.
For now, only the C compiler (xlc) versions are displayed.

Also moved the C compiler options setting from ibm-aix to ibm-flags.

Tested: NCSA Blue-print, both 32 and 64 bit modes.
2010-06-01 02:03:03 -05:00
Mike McGreevy
f0ecd71307 [svn-r18709] Purpose:
Improve configure's large-file support control.

Description:

    Modified configure to now attempt to add defines necessary for
    supporting largefiles on all systems, instead of solely on linux. This 
    is in response to user requests to enable largefile support on Solaris 
    by default, as well as to give extra control on AIX (instead of just 
    jamming the necessary flag into the config files).

    The old --enable-linux-lfs flag has been removed in favor of the 
    --enable-largefile flag (enabled by default), which can be used on all
    platforms.

    On systems where large files cannot be supported in this manner,
    configure will report as such.

Tested:

    h5committest
    AIX (NCSA's blue_print machine)
    duty, liberty, and linew.
2010-05-05 12:34:26 -05:00
Albert Cheng
e2d0e5f67e [svn-r18532] Bug fix:
When gcc is used in the AIX platform, it failed to compile tconfig.c
because it does not recognize the __int64 type.  The ibm-aix has the
sizeof __int64=8 cached, as if all compilers supported this type.

Solution:
Removed the cached value for the sizeof __int64 so that during
configure, gcc can report it does not support it and not to use
it in the source code.

Tested:
NCSA Blue which is an AIX machine, using gcc or xlc compiler.
(The gcc still have failure but is being fixed as separated bugs.)
2010-04-07 17:52:28 -05:00
Albert Cheng
25b3ba2832 [svn-r18065] Purpose:
Port to AIX 6.1 for RS6000.  Should be the same as PowerPC based AIX.

Tested:
Blue-print of NCSA.
2010-01-04 21:04:39 -05:00