Git Product home page Git Product logo

matlab-roll's Introduction

SDSC "matlab" roll

Overview

This roll bundles the installation of MATLAB.

NOTE: The actual MATLAB installer and licenses must be obtained from The Mathworks(r) directly as this roll only wraps the software into a Rocks roll for installation into a Rocks cluster.

For more information about the MATLAB please visit their official web page:

  • MATLAB is a high-level language and interactive environment for numerical computation, visualization, and programming.

Requirements

Starting with matlab 2019a, centos 6 is no longer supported. The last commit that was tested with centos 6 has the "centos6" tag (commit e7ce07b)

To build/install this roll you must have root access to a Rocks development machine (e.g., a frontend or development appliance).

You must have 2 files in order to build this roll...

in 'src/matlab/ : fik.txt - contains your MATLAB 'File Installation Key' in 'src/matlab/ : .dat,.lic - contains your MATLAB client license file(s). (Typically license files are named "license.dat" and/or "network.lic but almost always they have a .dat or .lic suffix)

Both should be obtained from The Mathworks or your MATLAB License administrator.

In addition, non-SDSC users must also place a tar.gz bundle of the MATLAB installation source created from the ISO downloaded from The Mathworks in the src/matlab directory. That file should be named to match the pattern listed in src/matlab/version.mk and the version.mk file should be edited appropriately.

Finally, a conflict between the MATLAB install script, located INSIDE the MATLAB source, and the Rocks roll development files exists that is patched with a patch contained in src/matlab/patch-files/install.patch. It is likely that this patch file will need to be updated for versions of MATLAB other than the one currently supported by this Rocks roll source (MATLAB R2013a).

Dependencies

Unknown at this time.

Building

To build the matlab-roll, execute these instructions on a Rocks development machine (e.g., a frontend or development appliance):

% make default 2>&1 | tee build.log
% grep "RPM build error" build.log

If nothing is returned from the grep command then the roll should have been created as... matlab-*.iso. If you built the roll on a Rocks frontend then proceed to the installation step. If you built the roll on a Rocks development appliance you need to copy the roll to your Rocks frontend before continuing with installation.

Installation

To install, execute these instructions on a Rocks frontend:

% rocks add roll *.iso
% rocks enable roll matlab
% cd /export/rocks/install
% rocks create distro

Subsequent installs of compute and login nodes will then include the contents of the matlab-roll. To avoid cluttering the cluster frontend with unused software, the matlab-roll is configured to install only on compute and login nodes. To force installation on your frontend, run this command after adding the matlab-roll to your distro

% rocks run roll matlab host=NAME | bash

where NAME is the DNS name of a compute or login node in your cluster.

In addition to the software itself, the roll installs matlab environment module files in:

/opt/modulefiles/applications/matlab

Testing

The matlab-roll includes a test script which can be run to verify proper installation of the matlab-roll documentation, binaries and module files. To run the test scripts execute the following command(s):

% /root/rolltests/matlab.t 
ok 1 - matlab is installed
ok 2 - matlab test run
ok 3 - matlab module installed
ok 4 - matlab version module installed
ok 5 - matlab version module link created
1..5

matlab-roll's People

Contributors

csirving avatar jerrypgreenberg avatar jjhayes avatar tcooper avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.