MatlabSetup

Jira cross reference:

See also: MatlabUsage for system configuration.

Introduction

MATLAB is a general purpose technical computing environment that is in many ways similar to Mathematica or Maple. The UC3 seeder group does not own a license to MATLAB, but what we are able to provide is the unencumbered, freely distributable MATLAB Compiler Runtime (MCR). MCR provides a full set of MATLAB libraries for running jobs compiled by the MATLAB Compiler (mcc), and thus is ideal for running batch jobs of MATLAB code on UC3.

MCR Download

This page contains download links for a variety of platforms.

Installer Input

I've created the following input file to run the MCR installer non-interactively:
destinationFolder=/usr/local/MATLAB/MCR
agreeToLicense=yes
outputFile=/tmp/MCR-install.log
mode=silent

Puppet rules

Condor configuration

Similar to the MathematicaSetup, we want to add a ClassAd on the nodes that advertises MATLAB capabilities. We define the ClassAd "HAS_MATLAB" and add it to the STARTD attributes. Our config now looks like:
HAS_MATHEMATICA = TRUE
HAS_MATLAB = TRUE
STARTD_ATTRS = COLLECTOR_HOST_STRING, HAS_MATHEMATICA, HAS_MATLAB

MCR library paths:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/MATLAB/MCR/v717/runtime/glnxa64:/usr/local/MATLAB/MCR/v717/bin/glnxa64:/usr/local/MATLAB/MCR/v717/sys/os/glnxa64:/usr/local/MATLAB/MCR/v717/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/MCR/v717/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/MCR/v717/sys/java/jre/glnxa64/jre/lib/amd64

-- LincolnBryant - 14 Jun 2012
Topic revision: r2 - 13 Jul 2012, LincolnBryant
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback