This file is $CDFSOFT2_DIR/FarmTools/doc/patchprocedure.html
Building Patched Version of the ProductionExe(for Production Coordinators)

We would prefer to run a ProductionExe from a real, frozen release such as 4.0.0. However, due to the time that it takes to compile and link such a release using the kai compiler, sometimes we run a patched version instead. This use of a patched release is expected to stop once physics publication quality data is being processed, or when faster compilers become available.

Notes before beginning

1. Special User Accounts

2. Naming conventions

  • Patched releases are named by the name of the corrsponding base release plus a letter indicating the patch number (a,b,c etc), for example
            4.3.1b
    
    is patch "b" for release 4.3.1
  • contents of the patched release 4.3.1b is defined by the file Release/patches/4.3.1b.patches - see example of 4.0.0i.patches

    Patching ProductionExe

    Consider creating patch "a" to frozen release 4.3.2:
  • Log in as CDFOPR
    ssh -l cdfopr fcdflnx3
    ~/ticket
    
  • Create the patch test release
    setup cdfsoft2 4.3.2
    cd /cdf/scratch/cdfopr/testRel
    newrel -t 4.3.2 4.3.2a
    cd 4.3.2a
    relwrite
    addpkg Production
    addpkg -h FarmTools
    addpkg -h Release
    gmake FarmTools.bin