Submit job directly to Torque with qsub
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Walter Roberson
le 4 Déc 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
Réponses (1)
Jason Ross
le 4 Déc 2012
Modifié(e) : Jason Ross
le 4 Déc 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 commentaires
Jason Ross
le 10 Déc 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.
Voir également
Catégories
En savoir plus sur MATLAB Parallel Server dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!