On 10/25/2016 11:49 AM, Michael Pelletier wrote: > I've been able to set "MCR_CACHE_ROOT=." in the PreEnvironment directive along with "should_transfer_files=yes" and have it work as expected - the .mcrCache directory got created in scratch space instead of the /tmp path. Might have been a different version, though. Yeah, I too am sure I've been able to set MCR_CACHE_ROOT, but it must have been a different life. environment = "MCR_CACHE_VERBOSE=1 MCR_CACHE_ROOT=. LD_LIBRARY_PATH..." > Unable to start MATLAB. Relative path for preferences directory ('./.mcrCache9.0.1/main_F0/.matlab') is not supported environment = "MCR_CACHE_VERBOSE=1 MCR_CACHE_ROOT=$Fp(.) ..." > Creating MATLAB Runtime Cache at location: /tmp/.mcrCache9.0.1 ... > Acquiring MATLAB Runtime cache root-level directory lock...caught dsPermissionDenied exception: Tried to obtain a lock on a directory without write permiss > ion: /tmp/.mcrCache9.0.1/.deploy_lock.0; re-throwing... -- because someone else already ran matlab on this node. I guess the wrapper script will have to do. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachment:
signature.asc
Description: OpenPGP digital signature