[Fwd: Re: [Aces-support] how to qsub matlab jobs?]

chris hill cnh at mit.edu
Wed Dec 22 13:43:40 EST 2004


Hi Chinnawat,

 Not sure what the problem is. Can you talk to Sai - he does this alot
otherwise, come along to the office hours next week and we will take a
look.
 
 I did check and ssh forwarding is working OK for me - man ssh tells you
about how to use it etc....

Thanks,

Chris
-----Forwarded Message-----
From: Chinnawat Surussavadee <surusc at MIT.EDU>
To: cnh at MIT.EDU
Cc: surusc at MIT.EDU
Subject: Re: [Aces-support] how to qsub matlab jobs?
Date: Wed, 22 Dec 2004 13:29:02 -0500

Chris,

I tried the followings but after I typed matlab, nothing happened. I tried to
export DISPLAY (export DISPLAY=liebe.mit.edu:0.0) but it still did not work. 

      $ qsub -I -l nodes=1
      $ module add matlab
      $ matlab

On the FAQ page says type qsub -I -l nodes=1 and then ssh to create a session
with X connections forwarded. I don't understand this.

Also, one last question, qsub in interactive mode appears to use the queue for
four hours. How can I set it to use the long queue?

Thank you,

Chinnawat



Quoting chris hill <cnh at MIT.EDU>:

> Chinnawat,
> 
>  The page
>  
>  http://acesgrid.org/matlab.html
> 
>  has info on this. There are also some FAQ answers on how to do things
> with X graphics forwarded.
> 
> Chris 
> On Wed, 2004-12-22 at 12:59, Chinnawat Surussavadee wrote:
> > Hello,
> > 
> > I'm wondering how to qsub matlab jobs. I tried the following but it did
> not
> > work.
> > 
> > Thanks,
> > Chinnawat
> > 
> > #!/bin/bash
> > #PBS -q long
> > #PBS -N m
> > #PBS -l nodes=1:ppn=1
> > #PBS -m abe
> > #PBS -V
> > echo $PBS_NODEFILE
> > cat  $PBS_NODEFILE
> > cd $PBS_O_WORKDIR
> > 
> > module load matlab
> > matlab -nojvm test_matlab.m
> > _______________________________________________
> > Aces-support mailing list
> > Aces-support at acesgrid.org
> > http://acesgrid.org/mailman/listinfo/aces-support
> 
> 






More information about the Aces-support mailing list