mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[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:
parent
0677a1432d
commit
e51dc29e89
18
aclocal.m4
vendored
18
aclocal.m4
vendored
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user