GridEngine(SGE) 용 Povray 작업 제출 스크립트 예제
#!/bin/sh
#$ -cwd
#$ -N POV-tunnelride2
#$ -S /bin/sh
#$ -v ENSH_HOME=/engrid/ensh
#$ -j y
#$ -o POV-tunnelride2.out
#$ -wd /home/alang/tunnelride2
#$ -V
#$ -q smp.q@SMP01
#$ -t 1-400
FN=printf %03d ${SGE_TASK_ID}
INPUT=tunnelride
#/APP/POVRAY/megapov1.1/bin/megapov +i${INPUT}.pov +kfi1 +kff400 +sf${SGE_TASK_ID} +ef${SGE_TASK_ID} +kc
if [ -s “${INPUT}${FN}.png” ]
then
echo “${INPUT}${FN}.png is exist.”
else
echo “${INPUT}${FN}.png does not exist.”
fi