Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a pipol command to cmake for kill all jobs.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 11 Oct 2010 12:31:23 +0000 (12:31 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 11 Oct 2010 12:31:23 +0000 (12:31 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8397 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/Pipol.cmake

index 46448e4..e575533 100644 (file)
@@ -160,4 +160,10 @@ IF(PIPOL_SYSTEMS)
   ENDFOREACH(SYSTEM ${PIPOL_SYSTEMS})
 ENDIF(PIPOL_SYSTEMS)
 
   ENDFOREACH(SYSTEM ${PIPOL_SYSTEMS})
 ENDIF(PIPOL_SYSTEMS)
 
+ADD_CUSTOM_TARGET(pipol_kill_all_jobs
+               COMMENT "PIPOL delete all jobs"
+               COMMAND ./pipol-sub --pipol-user=${pipol_user} deleteallmyjobs
+               )
+
+
 ENDIF(pipol_user)
\ No newline at end of file
 ENDIF(pipol_user)
\ No newline at end of file