diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-06-28 05:14:02 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-06-28 05:14:02 (GMT) |
commit | e51dc29e89aaea2a35d8ab4ab431013ddd0306d1 (patch) | |
tree | 4c9b1003d61d983c89c93eec12757313d1e92751 /aclocal.m4 | |
parent | 0677a1432d892a6286a1e8e5f8e577d18b9def9c (diff) | |
download | hdf5-e51dc29e89aaea2a35d8ab4ab431013ddd0306d1.zip hdf5-e51dc29e89aaea2a35d8ab4ab431013ddd0306d1.tar.gz hdf5-e51dc29e89aaea2a35d8ab4ab431013ddd0306d1.tar.bz2 |
[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:
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -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 # |