Error when running a job on SSH

Hi all

this is the first script I submit to SSH and I got this error immediately:

Post job file processing error; job (my job number)-hpc on host inode18/0

Unable to copy file /var/spool/torque/spool/(my job number)-hpc.OU to (my user and director)
*** error from copy
Permission denied (publickey,password,hostbased).
lost connection
*** end error output

how can I solve this issue?

thanks in advance.

Emy

Show your code.

this is the .sh file

#!/bin/sh
#PBS -N cp2k
#PBS -j oe
#PBS -q bigmem
#PBS -m be
#PBS -M My email
date
cd CP2K
cd Cs2BiAgCl6
load module apps/cp2k-3.0
cp2k.ssmp -i testmoba.inp -o testmoba.out
date

---------- Post updated at 11:00 AM ---------- Previous update was at 10:49 AM ----------

the cp2k is in Fortran 2003

Welcome Emy,

I'm sorry, but I don't see how SSH is involved here at all. Can you show us how you call it?

The script is Bourne Shell, so the load module apps/cp2k-3.0 may not be doing what you expect at all. Can you show us:-

  • how you run this
  • where SSH is involved
  • the OS and version of the remote host. The output from ssh user@host "uname -a" would be useful.
  • the output from which load or whence load on the host where it needs to run.

Thanks, in advance,
Robin