CCS Prologue RRS feed

  • Question

  • Hi,

    I have an application that runs across 2-3 nodes that write data to a local c:\scratch on each node.

    I would like to have this directory cleaned out on each node at the end of the job before the next job starts, even if the job is cancelled.

    Is their a "Prologue" functionality in CCS, or what is the recommended way to do this.


    Cham Dorr
    Tuesday, December 4, 2007 11:04 PM


  • Cham,


    Unfortunately there is no prologue, but you can add a clean up task in your job that depends on your write data.

    I suggest you to write a little batch file that you can mpiexec like this :


    mpiexec -hosts %CCP_NODES: 4= 1% cmd /c cleanup.cmd


    this is to execute on 4 core servers only one cleanup.cmd batch file.


    If the job failed or is cancelled, this task may be executed. I suggest you eventually to do a cleanup before starting your job too.

    So in your job you ay have 3 tasks :








    Monday, December 10, 2007 6:09 PM