Submit job directly to Torque with qsub
7 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2012 年 12 月 4 日
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
回答 (1 件)
Jason Ross
2012 年 12 月 4 日
編集済み: Jason Ross
2012 年 12 月 4 日
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 件のコメント
Jason Ross
2012 年 12 月 10 日
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.
参考
カテゴリ
Help Center および File Exchange で Third-Party Cluster Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!