How to start SICB under CMT

1. Configure CMT

make sure that CMT has been correctly set up at login time if not execute:

            > source $LHCBHOME/scripts/CMT.csh

2. Get the SICBDST package into your working area

           > cd newmycmt
           > getpack SICB/SICBDST v251
           > source SICB/SICBDST/v251/cmt/setup.csh 
         

 3. Import your code (*.F and *.inc)  into subdirectory(ies) of $SICBDSTROOT

           > cd  $SICBDSTROOT
           > mkdir mytask myinc
           > cd mytask
           > cp somewhere/*.* .
           > cd ../myinc
           > cp somewhere/*.inc .

4. Prefix SICBDST include files with the relative path to the package root if not done yet

            > cd mytask
            > pref_inc $PWD

5. update the requirements file

            > cd ../cmt
            > -- edit requirements ---
               include_dirs ${SICBDSTROOT}/myinc
                application mysicb ../src/sicbdst.F ../mytask/*.F
            > gmake  

*.o and  mysicb.exe are stored in $SICBDSTROOT/$CMTCONFIG with
$CMTCONFIG =(rs_aix42 , i386_linux22) set at login time.

> cd $SICBDSTROOT
> ls -d
   Linuxdbx i386_linux22 job doc mgr src mytask myinc

6. run your application

          > cd $SICBDSTROOT/job
          > -- edit sicb_lsf.job or sicbdst.cards or/and sicbdst.job
          > $CMTCONFIG/mysicb.exe
                 or
          > sicbdst.job > sicbdst.out
                 or
          > bsub < sicb_lsf.job