Parallel Computing in Matlab: can't find a network unit/folder -
i want run code on cluster of several pcs using current directory common logical unit, called q:\
. correct path folder is, say,
\\myserver\myfolder
so i'm starting parallel script with
spmd cd('\\myserver\myfolder') end
and, sure, put folder in "additionalpaths" in properties of cluster profile.
to check whether functions , files reachable use
spmd check('function1') end
where "function1" function m-file in "myfolder". unfortunately spmd
can't find function on every pc, on few of them, no apparent reason of choice. checked in issued computers if "system" user account (used matlabpool) has permission "\myserver\myfolder", has.
anybody encountered similar situation?
p.s: i'm using on every computer in cluster r2012a on windows 7 64bit.
the 'additionalpaths' setting in cluster profile applies cluster jobs created , associated profile. job needs created using 'parcluster(cluster_profile)' per this example, cluster_profile name of cluster profile have assigned additionalpaths
variable.
also robustness can try adding additionalfiles
option .m files needed , path command can added startup files worker (e.g. jobstartup.m
, taskstartup.m
) ensure every worker can see path.
Comments
Post a Comment