[torqueusers] qsub doesn't find the executable file
Sreedhar Manchu
sm4082 at nyu.edu
Thu Jul 12 13:28:13 MDT 2012
Hi Naderan,
Why don't you do the same, mean using ./msim in stead of msim in the tor?
I think, since it is not a system command, you need to say look for in the working directory, which you already cd'ed to, with ./executable.
I don't know this is the reason but I always do ./executable and I don't have any problems.
Sreedhar.
On Jul 12, 2012, at 3:22 PM, Mahmood Naderan wrote:
> Dear all,
> I am trying to qsub an executable file but it doesn't find the file!
>
> -rwxrwxrwx 1 u1 users 76277 Jul 12 23:08 msim
> -rw-r--r-- 1 u1 users 89 Jul 12 23:45 tor
>
>
> tor file contains
>
> #PBS -N test
> #PBS -V
> #PBS -q orcaq
> #PBS -l nodes=1
> #PBS -j oe
> cd $PBS_O_WORKDIR
> msim
>
>
> However the output file says:
> /var/spool/pbs/mom_priv/jobs/61247.hpclab.orca.SC: line 8: msim: command not found
>
>
> binary file is not corrupted, since when run ./msim, it shows the usage.
>
> any idea for that?
>
> // Naderan *Mahmood;
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list