I fixed the problem by requesting a new licence from Mathworks. Key for my computer's host id, but the 'licence.lic' file is updated. If you have not yet installed MATLABĀ®, follow the procedure in Install Products Offline. To activate without an Internet connection, you must have a License File.
Overview
This roll bundles the installation of MATLAB.
NOTE: The actual MATLAB installer and licenses must be obtained from TheMathworks(r) directly as this roll only wraps the software into a Rocks roll forinstallation into a Rocks cluster.
For more information about the MATLAB please visit their official web page:
- MATLAB is a high-level language and interactive environmentfor 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 developmentmachine (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 MATLABinstallation source created from the ISO downloaded from The Mathworks in thesrc/matlab
directory. That file should be named to match the pattern listedin src/matlab/version.mk
and the version.mk
file should be edited appropriately.Finally, a conflict between the MATLAB
install
script, located INSIDE theMATLAB source, and the Rocks roll development files exists that is patched witha patch contained in src/matlab/patch-files/install.patch
. It is likely thatthis patch file will need to be updated for versions of MATLAB other than theone 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 developmentmachine (e.g., a frontend or development appliance):
If nothing is returned from the grep command then the roll should have beencreated as...
matlab-*.iso
. If you built the roll on a Rocks frontend thenproceed to the installation step. If you built the roll on a Rocks developmentappliance you need to copy the roll to your Rocks frontend before continuingwith installation.Installation
To install, execute these instructions on a Rocks frontend:
Subsequent installs of compute and login nodes will then include the contentsof the matlab-roll. To avoid cluttering the cluster frontend with unusedsoftware, the matlab-roll is configured to install only on compute andlogin nodes. To force installation on your frontend, run this command afteradding the matlab-roll to your distro
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 environmentmodule files in:
Testing
The matlab-roll includes a test script which can be run to verify properinstallation of the matlab-roll documentation, binaries and module files. Torun the test scripts execute the following command(s):