This document serves as guide in conducting the UMD verification process of the QCG-Computing installation, especially the job and parallel job criteria. This document is targeted only at the system administrators, not the end users (those should use [http://www.qcgoscosgrid.org/trac/qcg-icon QCG-Icon] or the broker clients), as it relies on low level QCG-Computing interface. === JOBEXEC_JOB_1 === Execute a simple job in the appliance. {{{ $ qcg-comp -c -J /usr/share/qcg-comp/doc/examples/jsdl/sleep.xml Activity Id: 3f6558f5-76af-42cb-ad12-b37df187cf47 $ qcg-comp -s -a 3f6558f5-76af-42cb-ad12-b37df187cf47 status = Executing $ qcg-comp -s -a 3f6558f5-76af-42cb-ad12-b37df187cf47 status = Executing $ qcg-comp -s -a 3f6558f5-76af-42cb-ad12-b37df187cf47 status = Finished (exit status = 0) }}} === JOBEXEC_JOB_2 === Execute a simple job in the appliance that uses both input and output files. {{{ $ cat > bash.xml << EOF JOBEXEC_JOB_2 bash script.sh JOBEXEC_JOB_2.out script.sh overwrite script.sh JOBEXEC_JOB_2.out overwrite JOBEXEC_JOB_2.out 1 EOF $cat > script.sh << EOF #!/bin/bash hostname EOF $ qcg-comp -i -J bash.xml Staging file: script.sh All files staged in. $ qcg-comp -c -J bash.xml Activity Id: 72533fe7-764b-4b0c-93f9-b4dc7d73b5d4 $ qcg-comp -s -a 72533fe7-764b-4b0c-93f9-b4dc7d73b5d4 status = Queued $ qcg-comp -s -a 72533fe7-764b-4b0c-93f9-b4dc7d73b5d4 status = Finished (exit status = 0) $ qcg-com -o -J bash.xml -bash: qcg-com: command not found $ qcg-comp -o -J bash.xml File JOBEXEC_JOB_2.out staged out. All files staged out. $ cat JOBEXEC_JOB_2.out grass1.man.poznan.pl }}} === JOBEXEC_JOB_3 === {{{ $ qcg-comp -c -J /usr/share/qcg-comp/doc/examples/jsdl/sleep.xml Activity Id: 116c0702-2705-4c64-9d72-51c264061f8c $ qcg-comp -s -a 116c0702-2705-4c64-9d72-51c264061f8c status = Queued $ qcg-comp -s -a 116c0702-2705-4c64-9d72-51c264061f8c status = Executing $ qcg-comp -t -a 116c0702-2705-4c64-9d72-51c264061f8c Activity is being terminated. $ qcg-comp -s -a 116c0702-2705-4c64-9d72-51c264061f8c #for a very short time after job termination we may still observe the Executing state status = Executing $ qcg-comp -s -a 116c0702-2705-4c64-9d72-51c264061f8c status = Cancelled }}} === JOBEXEC_EXECMNGR_3 === Job Execution Appliances must be able to collect information from the underlying execution manager. {{{ $qcg-comp -G | xmllint --format - | grep Queue }}} === PARALLEL_JOB_1 === === PARALLEL_JOB_2 === === PARALLEL_JOB_3 === === PARALLEL_MPI_1 === === PARALLEL_MPI_2 === === PARALLEL_OMP_1 === === PARALLEL_OMP_2 ===