Setting file dependencies for distributed computing
Afficher commentaires plus anciens
Hello
I have a problem with setting up the file dependencies for a distributed computing job on a Linux-Cluster (using Torque, Matlab R2012b).
After doing the usual initialization...
cluster=parallel.cluster.Torque();
cluster.ClusterMatlabRoot='opt/matlab2012b'
cluster.JobStorageLocation='/userdata'
cluster.NumWorkers=totalNumberCPUs;
cluster.HasSharedFilesystem= true;
cluster.RcpCommand= 'scp';
cluster.RshCommand= 'ssh';
cluster.submitArguments='-q verylong -l walltime=12:00:00 -m';
job=createJob(cluster);
set(job,'FileDependencies','/PathToFiles')
... I am trying to set up the file dependencies for my custom function which I want to send to the cluster nodes. However, after the last comment, I receive the following error message:
** Error using parallel.internal.customattr.CustomGetSet/set (line 41)
In class 'parallel.Job', no set method is defined for Dependent property 'FileDependencies'. A Dependent property needs a set method to assign its value. **
Is there any opportunity to correctly set the file dependencies for the computing nodes?
Réponses (0)
Catégories
En savoir plus sur MATLAB Parallel Server dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!