mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-06 17:20:42 +08:00
[svn-r2026] Switch from Globus1.0 to Globus1.1.x. Remove Globus configuration, keep GASS configuration.
This commit is contained in:
parent
dae4c6c1eb
commit
ce99fccca0
44
INSTALL-GASS
Normal file
44
INSTALL-GASS
Normal file
@ -0,0 +1,44 @@
|
||||
Installation Instructions for Remote-Accessing HDF5
|
||||
|
||||
I. Overview
|
||||
-----------
|
||||
This file contains instructions for remote-accessing HDF5. The SGI IRIX64 6.5
|
||||
has been tested. If you have difficulties installing the software in your
|
||||
system, please send mail to
|
||||
hdfhelp@ncsa.uiuc.edu
|
||||
In your mail, please enclose the output of "uname -a". Also attach the
|
||||
content of "config.log" if you have run the "configure" command.
|
||||
|
||||
First, you must obtain and unpack the HDF5 source as described in the file
|
||||
INSTALL. You need the Globus 1.1.x and SSL(should have come with Globus)
|
||||
packages.
|
||||
|
||||
HDF5 is built on the top of Globus-GASS(1.1.x) to handle remote access.
|
||||
Globus-GASS(1.1.x) only supports HTTP and HTTPS protocals for 'whole file
|
||||
read'. More features may be added in the future.
|
||||
|
||||
II. Installation Steps
|
||||
----------------------
|
||||
The installation steps are similar to the ones in INSTALL file:
|
||||
|
||||
1. Run 'configure' file with SSL and GASS options:
|
||||
configure --with-ssl=$SSL/lib --with-gass=$GASS/include,$GASS/lib
|
||||
where $SSL is your SSL directory, and $GASS is your Globus directory.
|
||||
|
||||
For example, below is a script file to run 'configure':
|
||||
#! /bin/sh
|
||||
# how to configure to use the Globus-GASS(1.1.x)
|
||||
|
||||
GASS_DIR=/usr/local/globus-install-1.1.1/development/mips-sgi-irix6.5-64_nothreads_standard_debug
|
||||
SSL_LIB=/usr/local/ssl/lib
|
||||
|
||||
configure --with-ssl=$SSL_LIB --with-gass=$GASS_DIR/include,$GASS_DIR/lib
|
||||
|
||||
2. Run 'make'
|
||||
|
||||
3. Run testing program:
|
||||
There is one testing program called 'gass_read' in the 'test' directory.
|
||||
It does whole file read through HTTP protocal. The URL is hard coded as
|
||||
http://hdf/GLOBUS/a.h5
|
||||
There are other programs called 'gass_write' and 'gass_append' used for
|
||||
experiments. They don't work for current Globus-GASS.
|
44
INSTALL_GLOBUS
Normal file
44
INSTALL_GLOBUS
Normal file
@ -0,0 +1,44 @@
|
||||
Installation Instructions for Remote-Accessing HDF5
|
||||
|
||||
I. Overview
|
||||
-----------
|
||||
This file contains instructions for remote-accessing HDF5. The SGI IRIX64 6.5
|
||||
has been tested. If you have difficulties installing the software in your
|
||||
system, please send mail to
|
||||
hdfhelp@ncsa.uiuc.edu
|
||||
In your mail, please enclose the output of "uname -a". Also attach the
|
||||
content of "config.log" if you have run the "configure" command.
|
||||
|
||||
First, you must obtain and unpack the HDF5 source as described in the file
|
||||
INSTALL. You need the Globus 1.1.x and SSL(should have come with Globus)
|
||||
packages.
|
||||
|
||||
HDF5 is built on the top of Globus-GASS(1.1.x) to handle remote access.
|
||||
Globus-GASS(1.1.x) only supports HTTP and HTTPS protocals for 'whole file
|
||||
read'. More features may be added in the future.
|
||||
|
||||
II. Installation Steps
|
||||
----------------------
|
||||
The installation steps are similar to the ones in INSTALL file:
|
||||
|
||||
1. Run 'configure' file with SSL and GASS options:
|
||||
configure --with-ssl=$SSL/lib --with-gass=$GASS/include,$GASS/lib
|
||||
where $SSL is your SSL directory, and $GASS is your Globus directory.
|
||||
|
||||
For example, below is a script file to run 'configure':
|
||||
#! /bin/sh
|
||||
# how to configure to use the Globus-GASS(1.1.x)
|
||||
|
||||
GASS_DIR=/usr/local/globus-install-1.1.1/development/mips-sgi-irix6.5-64_nothreads_standard_debug
|
||||
SSL_LIB=/usr/local/ssl/lib
|
||||
|
||||
configure --with-ssl=$SSL_LIB --with-gass=$GASS_DIR/include,$GASS_DIR/lib
|
||||
|
||||
2. Run 'make'
|
||||
|
||||
3. Run testing program:
|
||||
There is one testing program called 'gass_read' in the 'test' directory.
|
||||
It does whole file read through HTTP protocal. The URL is hard coded as
|
||||
http://hdf/GLOBUS/a.h5
|
||||
There are other programs called 'gass_write' and 'gass_append' used for
|
||||
experiments. They don't work for current Globus-GASS.
|
1
MANIFEST
1
MANIFEST
@ -7,6 +7,7 @@
|
||||
|
||||
./COPYING
|
||||
./INSTALL
|
||||
./INSTALL_GLOBUS
|
||||
./INSTALL_TFLOPS
|
||||
./INSTALL_parallel
|
||||
./INSTALL_Windows.txt
|
||||
|
@ -43,8 +43,5 @@
|
||||
/* Define if we have Globus GASS support */
|
||||
#undef HAVE_GASS
|
||||
|
||||
/* Define if we have Globus support */
|
||||
#undef HAVE_GLOBUS
|
||||
|
||||
/* Define if we have Globus Grid Storage support */
|
||||
#undef HAVE_GRIDSTORAGE
|
||||
|
126
configure.in
126
configure.in
@ -496,7 +496,8 @@ case $withval in
|
||||
esac
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
dnl Is SSL library present? It is needed by the Grid Storage driver.
|
||||
dnl Is SSL library present? It is needed by GLOBUS-GASS and Grid Storage
|
||||
dnl driver.
|
||||
dnl
|
||||
AC_SUBST(SSL)
|
||||
SSL=yes
|
||||
@ -510,26 +511,28 @@ AC_CHECK_LIB(crypto,main,,unset SSL)
|
||||
AC_CHECK_LIB(ssl,SSL_get_version,,unset SSL)
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
dnl Is Globus-GASS present? If so then we can compile in the GASS driver.
|
||||
dnl The reason we need to check for so many libs because globus is not
|
||||
dnl quite modular yet. Globus folks plan to reduce the library dependencies.
|
||||
dnl Is GLOBUS-GASS(1.1.0 or 1.1.1) Library present? It is also needed by
|
||||
dnl the Grid Storage driver.
|
||||
dnl
|
||||
AC_SUBST(GASS)
|
||||
GASS=yes
|
||||
AC_SUBST(TESTGASS)
|
||||
TESTGASS='$(srcdir)/testgass'
|
||||
|
||||
AC_ARG_WITH(gass,[ --with-gass=INC,LIB Use the GASS driver [default=no]],
|
||||
AC_ARG_WITH(gass,[ --with-gass=INC,LIB Use the GASS Library [default=no]],
|
||||
,withval=no)
|
||||
case $withval in
|
||||
yes)
|
||||
AC_CHECK_HEADERS(globus_common.h,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_dc,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_nexus,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_client,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gaa,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gss,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gss_assist,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_io,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_transfer,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
;;
|
||||
no)
|
||||
AC_MSG_CHECKING(for GASS)
|
||||
@ -553,19 +556,25 @@ case $withval in
|
||||
if test "X" != "$gass_lib"; then
|
||||
saved_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -L$gass_lib"
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_dc,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_nexus,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_client,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gaa,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gss,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gss_assist,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_io,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_transfer,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
else
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_dc,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_nexus,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_client,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gaa,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gss,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gss_assist,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_io,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_transfer,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
@ -573,77 +582,6 @@ if test "X-" != "X-$GASS"; then
|
||||
AC_DEFINE(HAVE_GASS)
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
dnl Is GLOBUS Library present? It is needed by the Grid Storage driver.
|
||||
dnl
|
||||
AC_SUBST(GLOBUS)
|
||||
GLOBUS=yes
|
||||
AC_SUBST(TESTGLOBUS)
|
||||
TESTGLOBUS='$(srcdir)/testglobus'
|
||||
|
||||
AC_ARG_WITH(globus,[ --with-globus=INC,LIB Use the GLOBUS Library [default=no]],
|
||||
,withval=no)
|
||||
case $withval in
|
||||
yes)
|
||||
AC_CHECK_HEADERS(globus_common.h,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gaa,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gss,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gss_assist,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_io,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_transfer,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GLOBUS TESTGLOBUS)
|
||||
;;
|
||||
no)
|
||||
AC_MSG_CHECKING(for GLOBUS)
|
||||
AC_MSG_RESULT(suppressed)
|
||||
unset GLOBUS TESTGLOBUS
|
||||
;;
|
||||
*)
|
||||
globus_inc="`echo $withval |cut -f1 -d,`"
|
||||
if test "X" != "$globus_inc"; then
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS -I$globus_inc"
|
||||
AC_CHECK_HEADERS(globus_common.h,,
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
unset GLOBUS TESTGLOBUS
|
||||
)
|
||||
else
|
||||
AC_CHECK_HEADERS(globus_common.h)
|
||||
fi
|
||||
|
||||
globus_lib="`echo $withval |cut -f2 -d, -s`"
|
||||
if test "X" != "$globus_lib"; then
|
||||
saved_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -L$globus_lib"
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gaa,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gss,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gss_assist,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_io,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_transfer,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GLOBUS TESTGLOBUS)
|
||||
else
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gaa,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gss,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gss_assist,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_io,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_transfer,main,,unset GLOBUS TESTGLOBUS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GLOBUS TESTGLOBUS)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "X-" != "X-$GLOBUS"; then
|
||||
AC_DEFINE(HAVE_GLOBUS)
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
dnl Is Grid Storage present? If so then we can compile in the Grid Storage driver.
|
||||
dnl
|
||||
|
Loading…
x
Reference in New Issue
Block a user