IBM Hub/Switch Switch User Manual


 
Chapter 4 HPSS Installation
212 September 2002 HPSS Installation Guide
Release 4.5, Revision 2
1. Log on as root.
2. Change directory to the HPSS base source tree (the default location is /opt/hpss).
3. Review the Makefile.macros file.
4. Ensure that the target directory tree (where the source tree will be constructed) is empty.
5. Issue the following command:
% make BUILD_ROOT=<Non-DCE source tree directory> build-nodce
4.5.2.2 Compile the HPSS Binaries
4.5.2.2.1 Define the HPSS Shared Libraries Location
The SSM Data Server and GatekeeperServer each linkswith shared libraries. Thisallows the shared
libraries to be recompiled without causing the dynamic executables to be relinked. The pathname
to the shared library that each serverlinks with is stored in itsdynamic executable file. The dynamic
executable will fail to load if the pathname of the shared library has been changed since the
dynamic executable was linked. The default location for all HPSS shared libraries is /opt/hpss/lib.
Sites which need to install their shared libraries in another location will need to modify the location
of the shared library stored in the dynamic executable. This can be achieved by modifying the
RUNLIBS_PATH macro in Makefile.macros and then relinking the dynamic executable.
The RUNLIBS_PATH macro specifies the run-time top level directory of the HPSS tree. It defaults
to "/opt/hpss". The Gatekeeper Server and SSM Data Server define their shared library locations in
terms of this macro, as $(RUNLIBS_PATH)/lib. Sites which install their run-time HPSS tree in a
location other than /opt/hpss should change RUNLIBS_PATH to reflect the name of their tree.
4.5.2.2.2 Configure the HPSS MPI-IO Component
The HPSS MPI-IO component source tree is included in the HPSS base source tree, but since this
component is dependent upon a host MPI that is not platform-dependent, the default setting for
MPIO_SUPPORT in the Makefile.macros file is off. In order to enable MPI-IO, the following steps
must be performed:
Review the Makefile.macros file. Change MPIO_SUPPORT to on and select the appropriate
MPIO_MPI host (MPICH, IBM_POE,orSUN_HPC). If no Fortran or C++ support is required, the
MPIO_FORTRAN_SUPPORT and MPIO_CPLUSPLUS_SUPPORT flags should be changed to
off.
The settingin Makefile.macros for DCE_SUPPORT affects how MPI-IO is built; the MPI-IO library
must be compatible with the HPSS API, with respect to DCE support. MPI-IO is extracted with the
other non-DCE sources (see Section 4.5.2.1.3) and can be built with the other non-DCE components,
as desired.
4.5.2.2.3 Perform the Compilation
To compile the HPSS binaries, the following steps must be performed: