From: Miguel Pan Fidalgo on 25 Jan 2010 05:10 hi everybody, I'm an application technician and I need an explanation about using parfor (Distrib_Computing_Toolbox) with a batch queue system (we are using SunGridEngine in our two supercomputers). In an interactive session we don't have any problems using the parfor statement (a really simple example), but some users want to run long simulations and, for this scenario, we have the queue system. We want to run all the threads (jobs, workers, any_name) inside the same node, but the integration isn't clear. In some useful links: http://www.mathworks.es/matlabcentral/newsreader/view_thread/268665#703982 It is fairly clear that we need to buy another toolbox, "the MATLAB Distributed Computing Server ", and this is not an option: "The Parallel Computing Toolbox (PCT) serves two purposes: leverage the multiple cores on your host machine and communicate with a scheduler running on a cluster, which in turn starts up the MATLAB Distributed Computing Server (MDCS). PCT doesn't run on the cluster, but rather compliments the MDCS." but in other links seems to be no problem if we work without the Distributed Computing Server: http://cac.engin.umich.edu/resources/software/matlabdct/index.html matlabpool and PBS "Be sure to set the number of cores to be used by matlab in your PBS file. Follow the example on our PBS page but change the resources line. #PBS -l nodes=1:ppn=4,gres=matlab The value of ppn= must equal the number of labs (works in matlab) to the same value, note this only applies for matlabpool/parfor jobs. " I try the sentence: qsub -l arch=tesla,num_proc=4,s_rt=00:50:00,s_vmem=2G,h_fsize=20G,h_stack=256 name.sh where num_proc sets up 4 OMP_THREADS always in the same nodo. but unfortunately the job ends unexpectedly when it creates the matlabpool: Antes Starting matlabpool using the 'local' configuration ... ------------------------------------------------------------------------- This is the line: disp('Antes'); matlabpool open local 4; disp('Despues'); Any idea or advice?????
From: Miguel Pan Fidalgo on 27 Jan 2010 11:27 after 40... nobody has an answer? should i lose any hope?
From: Gaurav Sharma on 28 Jan 2010 10:01 Miguel, Please can you work with the MathWorks technical support. http://www.mathworks.com/support/contact_us/index.html Thanks, --Gaurav "Miguel Pan Fidalgo" <mpan(a)cesga.es> wrote in message news:hjppgn$cb2$1(a)fred.mathworks.com... > after 40... nobody has an answer? > should i lose any hope?
|
Pages: 1 Prev: nftool Next: I wonder How to handle Simulink for HEV Project |