MCR cache for different programs and multiple users
Show older comments
Hi,
I run a compiled program (say prog_1) on a server running Scientific Linux 7. The MCR cache is created (if not present already) in a folder specific to the user and specified as: MCR_CACHE_ROOT=/some/path/$USER This way, the program works for multiple users as concurrent runs from users 1 ans 2 will access their own cache.
Now I have a separate program (say prog_2) deployed on the same server for the same number of users. Should the same MCR cache location be used, i.e. would it contain separate subfolders for different programs? Or should I specify a different one for each program, such as: MCR_CACHE_ROOT=/some/path/$USER/prog_1 before calling prog_1 MCR_CACHE_ROOT=/some/path/$USER/prog_2 before calling prog_2
Slightly different point, but connected to this. Say I run prog_1 once and the cache is created. Then I change my program and recompile it. Before running it again, should I delete the cache so that it is recreated or is this taken care of automatically?
Thanks for your help and clarifications on this.
Best regards, Luca Foresta
Answers (0)
Categories
Find more on Run Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!