Saturday, April 17, 2010
Monday, April 5, 2010
"Could not access the MCR component cache."
This tends to happen because matlab is not able to access the MCE cache directory. By default this happens to be your home directory. When a large number of compiled matlab programs are starting off/running simultaneously (e.g. you submit a job array), the load on the file system is too great giving rise to the problem.
The simplest way to solve this problem, if to point the MCR_CACHE_ROOT environment variable to a local temporary directory on each node on the cluster.
This redirects the cache to a temp directory that is able to handle the traffic.