QCG-SimpleClient oferuje prosty, wzorowany na poleceniech systemu kolejkowego, interfejs do infrastruktury QCG.
#QCG queue=plgrid-long #QCG name=etanal #QCG note=etanal Gaussian #QCG output=${JOB_ID}.output #QCG error=${JOB_ID}.error #QCG stage-in-file=etanal.gjf -> etanal.gjf #QCG stage-out-file=wynik.tar -> ${JOB_ID}.tar #QCG nodes=1:12 #QCG host=galera.task.gda.pl #QCG persistent #QCG walltime=P7D #QCG notify=mailto:piontek@man.poznan.pl #QCG memory=15360 #QCG preprocess=echo START #QCG application=g09 #QCG argument=etanal.gjf #QCG postprocess=tar cvf wynik.tar *
Eksperyment polegający na:
#!/bin/bash #QCG queue=plgrid #QCG persistent #QCG host=reef.man.poznan.pl #QCG output=output #QCG error=error #QCG stage-in-dir=inputs -> inputs /bin/tar -czf output.tgz inputs/input.* #QCG stage-out-file=output.tgz -> output.tgz
#QCG note=NAMD apoa1 #QCG name=ex_1 #QCG host=hydra.icm.edu.pl #QCG walltime=PT10M #QCG queue=plgrid #QCG nodes=1:12:12 #QCG persistent #QCG output=apoa1.output #QCG error=apoa1.error #QCG application=NAMD #QCG argument=apoa1/apoa1.namd #QCG stage-in-file=apoa1.zip #QCG preprocess=unzip apoa1.zip #QCG stage-out-dir=. -> results #QCG notify=xmpp:tomasz.piontek@plgrid.pl #QCG watch-output=mailto:tp@mail,20,ENERGY
#!/bin/bash #QCG host=zeus #QCG queue=plgrid #QCG walltime=PT5M #QCG output=${JOB_ID}.output #QCG error=${JOB_ID}.error #QCG stage-in-file=input.txt -> lower.txt cat lower.txt | tr "[:lower:]" "[:upper:]" > upper.txt echo "Liczba znakow: " `wc -m upper.txt` sleep 120 echo "Koniec: " `date` #QCG stage-out-file=upper.txt -> ${JOB_ID}.upper