Submit to a LCG-CE: [ale@cream-15 UI]$ glite-wms-job-submit -a --config etc/wmp_devel18.conf jdl/PrologEpilog.jdl Connecting to the service https://devel18.cnaf.infn.it:7443/glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel07.cnaf.infn.it:9000/oaBG-L4Kph-Ybi14-umeuw ========================================================================== [ale@cream-15 UI]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/oaBG-L4Kph-Ybi14-umeuw ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/oaBG-L4Kph-Ybi14-umeuw Current Status: Done (Success) Logged Reason(s): - - Job terminated successfully Exit code: 0 Status Reason: Job terminated successfully Destination: argoce01.na.infn.it:2119/jobmanager-lcgpbs-cert Submitted: Fri Jun 11 11:38:40 2010 CEST ************************************************************* [ale@cream-15 UI]$ glite-wms-job-output https://devel07.cnaf.infn.it:9000/oaBG-L4Kph-Ybi14-umeuw Connecting to the service https://devel18.cnaf.infn.it:7443/glite_wms_wmproxy_server ================================================================================ JOB GET OUTPUT OUTCOME Output sandbox files for the job: https://devel07.cnaf.infn.it:9000/oaBG-L4Kph-Ybi14-umeuw have been successfully retrieved and stored in the directory: /tmp/ale_oaBG-L4Kph-Ybi14-umeuw ================================================================================ [ale@cream-15 UI]$ ls -l /tmp/ale_oaBG-L4Kph-Ybi14-umeuw total 12 -rw-rw-r-- 1 ale ale 493 Jun 11 11:53 epilogue.out -rw-rw-r-- 1 ale ale 261 Jun 11 11:53 prologue.out -rw-rw-r-- 1 ale ale 0 Jun 11 11:53 std.err -rw-rw-r-- 1 ale ale 342 Jun 11 11:53 std.out [ale@cream-15 UI]$ cat /tmp/ale_oaBG-L4Kph-Ybi14-umeuw/prologue.out Fri Jun 11 11:39:42 CEST 2010 I'm the prologue ########################## This is the output of an ls command epilogue.sh exe.sh https_3a_2f_2fdevel07.cnaf.infn.it_3a9000_2foaBG-L4Kph-Ybi14-umeuw.output pippo prologue.out prologue.sh ########################## [ale@cream-15 UI]$ cat /tmp/ale_oaBG-L4Kph-Ybi14-umeuw/std.out Fri Jun 11 11:39:43 CEST 2010 Hello world! My prologue said: Fri Jun 11 11:39:42 CEST 2010 I'm the prologue ########################## This is the output of an ls command epilogue.sh exe.sh https_3a_2f_2fdevel07.cnaf.infn.it_3a9000_2foaBG-L4Kph-Ybi14-umeuw.output pippo prologue.out prologue.sh ########################## My argument is 1000 [ale@cream-15 UI]$ cat /tmp/ale_oaBG-L4Kph-Ybi14-umeuw/epilogue.out This is the output of the job: Fri Jun 11 11:39:43 CEST 2010 Hello world! My prologue said: Fri Jun 11 11:39:42 CEST 2010 I'm the prologue ########################## This is the output of an ls command epilogue.sh exe.sh https_3a_2f_2fdevel07.cnaf.infn.it_3a9000_2foaBG-L4Kph-Ybi14-umeuw.output pippo prologue.out prologue.sh ########################## My argument is 1000 ######################### We finish at Fri Jun 11 11:39:43 CEST 2010 ######################### All the jokes are done! >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Submit to a Cream CE: [ale@cream-15 UI]$ glite-wms-job-submit -a --config etc/wmp_devel18.conf jdl/PrologEpilog.jdl Connecting to the service https://devel18.cnaf.infn.it:7443/glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel07.cnaf.infn.it:9000/kJ1bAI2fTr40AqGqyslsSA ========================================================================== Wait until it is done: [ale@cream-15 UI]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/kJ1bAI2fTr40AqGqyslsSA ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/kJ1bAI2fTr40AqGqyslsSA Current Status: Done (Success) Logged Reason(s): - job completed - Job Terminated Successfully Exit code: 0 Status Reason: Job Terminated Successfully Destination: svr014.gla.scotgrid.ac.uk:8443/cream-pbs-q1d Submitted: Fri Jun 11 11:22:01 2010 CEST ************************************************************* Retrieve output: [ale@cream-15 UI]$ ls -l /tmp/ale_kJ1bAI2fTr40AqGqyslsSA total 32 -rw-rw-r-- 1 ale ale 12627 Jun 11 11:29 epilogue.out -rw-rw-r-- 1 ale ale 6291 Jun 11 11:29 prologue.out -rw-rw-r-- 1 ale ale 0 Jun 11 11:29 std.err -rw-rw-r-- 1 ale ale 6371 Jun 11 11:29 std.out Check the files: [ale@cream-15 UI]$ cat /tmp/ale_kJ1bAI2fTr40AqGqyslsSA/prologue.out Fri Jun 11 10:24:15 BST 2010 I'm the prologue ########################## This is the output of an ls command epilogue.sh exe.sh pippo prologue.out prologue.sh ########################## [ale@cream-15 UI]$ cat /tmp/ale_kJ1bAI2fTr40AqGqyslsSA/std.out Fri Jun 11 10:24:15 BST 2010 Hello world! My prologue said: Fri Jun 11 10:24:15 BST 2010 I'm the prologue ########################## This is the output of an ls command epilogue.sh exe.sh pippo prologue.out prologue.sh ########################## My argument is 1000 [ale@cream-15 UI]$ cat /tmp/ale_kJ1bAI2fTr40AqGqyslsSA/epilogue.out This is the output of the job: Fri Jun 11 10:24:15 BST 2010 Hello world! My prologue said: Fri Jun 11 10:24:15 BST 2010 I'm the prologue ########################## This is the output of an ls command epilogue.sh exe.sh pippo prologue.out prologue.sh ########################## My argument is 1000 ######################### We finish at Fri Jun 11 10:24:15 BST 2010 ######################### All the jokes are done!