[torqueusers] qsub doesn't find the executable file

Mahmood Naderan nt_mahmood at yahoo.com
Fri Jul 13 00:41:23 MDT 2012


I think I found the problem but don't know how to fix that.
/home is shared via NFS. So I ssh to a node (other than server).

u1 at orca:~/workspace$ ssh ws05
Last login: Sat Jun  4 14:22:08 2011 from hpclab.orca
u1 at ws05:~$ ls
workspace

u1 at ws05:~$ cd workspace/
u1 at ws05:~/workspace$ ls -l msim
-rwxr-xr-x 1 u1 users 81179 Jul 12  2012 msim

u1 at ws05:~/workspace$ ./msim
-bash: ./msim: No such file or directory


It seems that on other nodes, it can not execute!


// Naderan *Mahmood;


----- Original Message -----
From: Mahmood Naderan <nt_mahmood at yahoo.com>
To: Torque Users Mailing List <torqueusers at supercluster.org>
Cc: 
Sent: Friday, July 13, 2012 11:01 AM
Subject: Re: [torqueusers] qsub doesn't find the executable file

Chris and Sreedha,
none of the proposed methods worked.

/var/spool/pbs/mom_priv/jobs/61251.hpclab.orca.SC: line 8: ./msim: No such file or directory

and

/var/spool/pbs/mom_priv/jobs/61252.hpclab.orca.SC: line 8: /home/u1/workspace/msim: No such file or directory

any more idea?
Actually I myself have not faced such problem. One of our users encountered that and now I have no more idea about that.

 
// Naderan *Mahmood;


----- Original Message -----
From: Chris Evert <chris.evert at geokinetics.com>
To: torqueusers at supercluster.org
Cc: 
Sent: Friday, July 13, 2012 12:33 AM
Subject: Re: [torqueusers] qsub doesn't find the executable file

Naderan Mahmood,

It looks like . is not in your path.  If msim is in $PBS_O_WORKDIR, then 
./msim should work (like from the command line.)

Another option is to provide the full path of msim in the file tor.

Hope this helps,
Chris
--
Chris Evert
Geokinetics, Inc.
Houston, TX

On 07/12/2012 02: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
>

_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers

_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers



More information about the torqueusers mailing list