Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

الإجابة CCS Prologue

  • 04 Desember 2007 23:04
     
     
    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.

    Thanks,

    Cham Dorr

Semua Balasan

  • 10 Desember 2007 18:09
     
     Jawab

    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 :

    cleanup

    compute

    cleanup

     

    HTH

    Xavier