frank
frank

Reputation: 91

qsub pbs doesn't show error and output log, even forcing the path

when I run code using qsub and pbs script, the log and error files are not shown. I have also tried to add the path of error and log file, but without succes

#PBS -N example_job 
#PBS -j oe
#PBS -q shortp
#PBS -V
##PBS -v BATCH_NUM_PROC_TOT=16
#PBS -l nodes=1:ppn=4
#PBS -e $HOME/error.txt
#PBS -o $HOME/otput.txt

Do you know how can I solve the problem ? Thanks a lot

Upvotes: 2

Views: 554

Answers (1)

xin king
xin king

Reputation: 31

  1. Check if the permissions of the SSH private key are correct. If the permissions are set incorrectly, the private key will be ignored. The path to the key file is "/path/to/home/.ssh/id_dsa".
  2. Check if the correct shell is being used. Examine the ~/.bashrc file or other initialization files to ensure the correct shell is being used. Solution 1 solved my problem. I sincerely hope my suggestions can help with your problem.

Upvotes: 1

Related Questions