Hi, I want to write the output file to the machine in which the job was submitted. It sounds like this is not possible with SGE. (see the example below.) Is it the case?
$ cat task1.sh #!/usr/bin/env bash #$ -N task1 #$ -pe pe1 1 #$ -V #$ -j yes sleep 1 echo echo -ne "$HOSTNAME\ttask1\t" date $ cat main.sh #!/usr/bin/env bash # vim: set noexpandtab tabstop=2: tmpdir=/tmp/qsub mkdir -p "$tmpdir" qsub -o $HOSTNAME:"$tmpdir"/out.task1.o < task1.sh echo "$tmpdir" $ ./main.sh Your job 7454 ("task1") has been submitted /tmp/qsub $ qstat -j 7454 |grep error error reason 1: 12/16/2016 20:38:57 [10006:17612]: error: can't open output file "/tmp/qsub/out.task1.o": No such file or directory -- Regards, Peng _______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users