cleanup.bat
REM "pskill" each executable running on a node
REM One pskill line is required for each executable
REM Executables are any programs you have started
REM By calling this script with mpirun, it will be run on all of your nodes.
pskill my.exe
copy /Y t:\%USERNAME%\*.data %OUTDIR%
copy /Y t:\%USERNAME%\*.out %OUTDIR%
copy /Y t:\%USERNAME%\*.err %OUTDIR%
del /Q /S t:\%USERNAME%\*.*