CCS Prologue
-
04 Desember 2007 23:04Hi,
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
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
- Ditandai sebagai Jawaban oleh Josh BarnardModerator 23 Juni 2008 23:43