Using Objectivity 5.1 from AFS
To use Objectivity 5.1 from AFS you should 'source' one of the two
shell scripts found in /afs/cern.ch/rd45/objectivity which will set
the base
environment variables to point to the right version of Objectivity/DB.
The scripts are:
To execute objyenv.sh include the following lines in your startup script
(i.e. .profile or .zprofile) file:
and to execute objyenv.csh include these lines in your .login or .cshrc
file:
setenv OBJY_VERS 5.1
if ( -r /afs/cern.ch/rd45/objectivity/objyenv.csh
) then
source /afs/cern.ch/rd45/objectivity/objyenv.csh
endif
NOTE for Solaris platform:
The supported compiler for version 5.1
C++ is SC4.2. This compiler is installed on AFS in directory: /afs/cern.ch/project/sun/solaris/opt/SUNWspro42/SC4.2
and should be visible in local filesystem under /opt/SUNWspro/SC4.2 (or
/opt/SUNWspro42/SC4.2 depending on the local configuration)
If this compiler is not the default one,
please execute following commands (or equivalent for csh syntax) to change
the environment:
Also, do not forget to use the correct path
for include directory in your makefiles.
For developers:
If you change between
different objectivity versions, you can use (source) another script
that will remove old entries from the environment before adding the
new ones. The script is in:
/afs/cern.ch/rd45/objectivity/chobjyenv.sh
There is no csh version.
Platforms and
Compilers supported by version 5.1 are indicated here.
Eva.Arderiu@cern.ch
, Marcin.Nowak@cern.ch |