Differences between revisions 1 and 2
Revision 1 as of 2008-07-29 14:14:33
Size: 2479
Comment:
Revision 2 as of 2008-08-06 08:08:13
Size: 2463
Comment:
Deletions are marked like this. Additions are marked like this.
Line 55: Line 55:
The listing of the setPCSSVersion tool (just as reference)
Line 56: Line 57:
/home/pacs> cat tools/setPCSSVersion
Line 81: Line 81:
</pre> }}}
Line 84: Line 84:
<pre>
/home/pacs/printenv HCSS_PROPS
/home/pacs/jide -settings | grep var.pcss
/home/pacs/jide -settings | grep pib
{{{
printenv HCSS_PROPS
jide -settings | grep var.pcss
jide -settings | grep pib

PCSS Setup

-1- Default Setup When logging in into pacs@pacsqla the default setup is :

PCSS

/home/pacs> printenv PCSS_ROOT
        /home/pacs/pcss-20071017B-frozen
This version is with the old PlotHk and QLA and shall work.

PIB

                        !!! Attention !!!
The PIB (MIB conversion used in PCSS) is always located in the
most up to date pcss installation :
/home/pacs/pcss/data/pib
Currently this is : 20080725A
Here you also find the /home/pacs/pcss/data/pib/TmVersion.tbl

This way we may use any PCSS installation - but it refer always to the most up to date PIB.
Normally we shall survive the test with it.

-2- Switching between Nominal and Redundant

We have a few convenience commands :

  • setNominal
    • which is doing : cp /home/pacs/pcss/data/pib/TmVersions-Nominal.tbl /home/pacs/pcss/data/pib/TmVersions.tbl
  • setRedundant
    • which is doing : cp /home/pacs/pcss/data/pib/TmVersions-Redundant.tbl /home/pacs/pcss/data/pib/TmVersions.tbl
  • showTmVersions
    • which is doing : cat /home/pacs/pcss/data/pib/TmVersions.tbl
  • editTmversions
    • which is doing : emacs /home/pacs/pcss/data/pib/TmVersions.tbl

-3- Switching the PCSS Version

!! The setup always apply to the window where you execute the commands !!

setPcssVersion  <directory>
e.g. setPcssVersion pcss-20060929A

Now you are using a new PCSS in this window 
But still your PIB (incl. TmVersions.tbl) is /home/pacs/pcss/data/pib !!

The listing of the setPCSSVersion tool (just as reference)

if ( $# == 0 ) then
    echo Give PCSS versions as argument
    exit
endif
#
cp /home/pacs/.pcss/props-original /home/pacs/.pcss/props_$1
sed -i 's/var.pcss.dir=/#var.pcss.dir=/' /home/pacs/.pcss/props_$1
#
set date_fields=`date`
echo $date_fields
echo "#"   $date_fields >>   /home/pacs/.pcss/props_$1
echo var.pcss.dir=/home/pacs/$1 >>  /home/pacs/.pcss/props_$1
echo hcss.binstruct.pib=/home/pacs/pcss/data/pib >> /home/pacs/.pcss/props_$1
setenv PCSS_ROOT /home/pacs/$1
setenv CLASSPATH "."
setenv LD_LIBRARY_PATH "."
unsetenv HCSS_PROPS
source ${PCSS_ROOT}/config/pcss.csh
setenv HCSS_PROPS ${HCSS_PROPS}:/home/pacs/.pcss/props_${1}
echo " "
echo " "
echo "..... Setup : " $1 " finished ......"
echo " "
exit

*-4- For experts you may do a few more additional checks*

printenv HCSS_PROPS
jide -settings | grep var.pcss
jide -settings | grep pib

Herschel: PACS/FM_IST_Procedures/PCSSSetup (last edited 2009-07-15 14:32:36 by localhost)