[svn-r7119] Purpose:

Bug fix.

Description:
There was a bug fix for AIX machine when Poe is used to
launch programs, that is in parallel mode. The fix is hostname
dependent.

Solution:
Removed the hostname dependence and let the fix apply to all
AIX machines.  But put in a safety net--if $HDF5_AIX_NOPATCH
is set to non-null, it will not use the fix but use the
original code.  (Don't expect this being used.)

Platforms tested:
Tested in Copper both with and without $HDF5_AIX_NOPATCH set.
Did not run h5committest since this really applies to AIX
systems only.

Misc. update:
This commit is contained in:
Albert Cheng 2003-06-28 00:14:02 -05:00
parent 0677a1432d
commit e51dc29e89
2 changed files with 4108 additions and 5191 deletions

18
aclocal.m4 vendored
View File

@ -1502,24 +1502,16 @@ else
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
else
#######################################################################
# This is a MAJOR HACK(tm) to get HDF5 to compile on Pacific Blue.
# This is a MAJOR HACK(tm) to get HDF5 to compile on AIX systems.
# The ``-b nolibpath -b ...'' flags were messing with the mpicc
# compiler's already defined library paths and it wasn't able to find
# the libraries it needed to run....DOH!
# s[0-9][0-9][0-9][0-9][0-9] are seaborg.nersc.gov nodes
# Cu[0-9][0-9] are copper.ncsa.uiuc.edu nodes
hname="`hostname`"
case "$hname" in
*pacific.llnl.gov | snow*.llnl.gov | \
s[[0-9]][[0-9]][[0-9]][[0-9]][[0-9]] | \
Cu[[0-9]][[0-9]])
# Apply the fix unless HDF5_AIX_LIBTOOL_NOPATCH is defined.
if test "$HDF5_AIX_LIBTOOL_NOPATCH" = ""; then
hardcode_libdir_flag_spec=' '
;;
*)
else
hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
;;
esac
fi
#
# End MAJOR HACK
#

9281
configure vendored

File diff suppressed because it is too large Load Diff