Submit job directly to Torque with qsub
    6 views (last 30 days)
  
       Show older comments
    
Hi, i wont to ask, if i can submit job directly to the Torque scheduler without starting Matlab, for example i copy example.m file to the cluster where i have MDCS,Matlab and submit it whit qsub command. If it is possible then how to do that? It is a small experiment, if it is possible, it will really help me with my project.
The operating system on cluster is linux and there is nonshared filesystem.
1 Comment
  Walter Roberson
      
      
 on 4 Dec 2012
				Odd, someone else had a Torque question today; see http://www.mathworks.co.uk/matlabcentral/answers/55560-error-using-matlabpool-open-local-in-a-cluster
Answers (1)
  Jason Ross
    
 on 4 Dec 2012
        
      Edited: Jason Ross
    
 on 4 Dec 2012
  
      There are example scripts in matlabroot/toolbox/distcomp/examplesintegration/pbs/nonshared for how to set up MATLAB (with Parallel Computing Toolbox) to submit to a Torque cluster without a shared filesystem from your MATLAB desktop. If you really want to do it without MATLAB, I suppose you could see what's being done and mimic it, but IMHO if you have already set up MDCS to work with Torque and (I assume) you have PCT, you can follow the example and submit your code right from MATLAB, which in turn does use qsub to submit to the scheduler.
2 Comments
  Jason Ross
    
 on 10 Dec 2012
				Is the password prompt coming from ssh? If that's the case, you need to configure ssh to not challenge you for a password. There are a variery of ways to do this, google "passwordless ssh" for a few ways to accomplish it.
See Also
Categories
				Find more on MATLAB Parallel Server in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

