Usually, you can define an output file for stderr and stdout each in your jobfile. Even if you omit the command, the queueing system will do so. You can query the two filenames: $ qstat -f 124762.torque Job Id: 124762.torque [...] Error_Path = filehostname.example.com:/home/user/s-6.5-0.25_ 1.e124762 [...] Output_Path = filehostname.example.com:/home/user/s-6.5-0.25 _1.o124762 […]