% Set threads to be equal to number of cores requested
% We do this by getting the environment variable NSLOTS which was set by
% the cluster to be equal to the number of cores requested.
NSLOTS = str2num(getenv('NSLOTS'));
maxNumCompThreads(NSLOTS);

a=1;
b=2;
disp(a+b)
