What is Matlab Compiled Runtime
Matlab compiled runtime is a version of matlab that lets a caller run "compiled" matlab applications without requiring any licenses. Go to this link for more information: http://www.mathworks.com/products/compiler/mcr/
Using Matlab Compiled Runtime on bamboo
Matlab 2013a compiled runtime was installed via ticket CRBS-9466 - Getting issue details... STATUS
To use set the following two environment variables:
export PATH="$PATH:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/bin"
And one may also have to set the following
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64"
The bamboo server has limited ram so do NOT run matlab scripts that require large amounts of memory. For more information on the bamboo server create a JIRA ticket.