rcps-buildscripts icon indicating copy to clipboard operation
rcps-buildscripts copied to clipboard

Install Request: MATLAB R2023a [IN05829437] [IN06128655]

Open balston opened this issue 2 years ago • 21 comments

Has useful additional functionality over R2021a which is the latest version currently installed on the clusters.

As ARC are no longer responsible for the UCL wide MATLAB license manager, we will need to check that it has been updated to support MATLAB R2023a before doing this.

balston avatar Feb 21 '23 11:02 balston

Try and do this in Sprint 4.3

balston avatar Aug 10 '23 14:08 balston

I have downloaded the MATLAB R2023a Linux installer archive and copied it to Myriad in:

~ccspapp/Software/Matlab/matlab_R2023a_glnxa64.zip

balston avatar Aug 29 '23 17:08 balston

I'm going to try and use the silent install method so first unpack the archive in a new directory:

mkdir R2023a_install
cd R2023a_install
unzip -x ../matlab_R2023a_glnxa64.zip

copied the template installer_input.txt file to edit for Myriad:

cp installer_input.txt ../installer_input_R2023a_Myriad.txt

The edits contain information specific to the UCL MATLAB license so will not be described here.

balston avatar Aug 30 '23 14:08 balston

OK ready to try the installation out from ccasapp using:

cd Software/Matlab/R2023a_install
./install -inputFile ../installer_input_R2023a_Myriad.txt

balston avatar Aug 30 '23 16:08 balston

first attempt failed with:

(Aug 30, 2023 17:45:19) Session key: 457ee6cf-bd0a-48e8-9ded-939fb39bd6ed
(Aug 30, 2023 17:45:24) Product Files Folder: /lustre/home/ccspapp/Software/Matlab/R2023a_install/archives
(Aug 30, 2023 17:45:25) License Agreement validation is successful.
(Aug 30, 2023 17:45:25) Unable to load product files. Product files must be in the same folder as the input file. For help getting the product files, see the installation documentation on <a HREF="https://www.mathworks.com/pi_noprode_mpi_R2023a_glnxa64">MATLAB Answer</a>.
(Aug 30, 2023 17:45:25) Exiting with status -2
(Aug 30, 2023 17:45:25) End - Unsuccessful

balston avatar Aug 30 '23 16:08 balston

Ah the archives folder only contains the LM software not the rest of MATLAB so need to download this first.

balston avatar Aug 30 '23 16:08 balston

I'm downloading the required product archives to my iMac using the MATLAB GUI installer in download only mode.

balston avatar Aug 30 '23 17:08 balston

It includes everything including the MATLAB Parallel Server. Total size 10.5 GB - might take a while.

balston avatar Aug 30 '23 17:08 balston

Download to my iMac has finished. I will upload to Myriad tomorrow.

balston avatar Aug 30 '23 17:08 balston

I'm uploading the full installer archives to Myriad now:

scp -r R2023a [email protected]:Scratch/Software/MATLAB/

balston avatar Aug 31 '23 10:08 balston

All the MATLAB installer files should be on Myriad now ready to retry the silent installation.

balston avatar Aug 31 '23 13:08 balston

Now running:

cd ~/Scrarch/Software/MATLAB/R2023a/2023_08_30_18_10_46/
./install -inputFile ~/Software/Matlab/installer_input_R2023a_Myriad.txt

balston avatar Aug 31 '23 14:08 balston

The installer seems to be running correctly this time.

balston avatar Aug 31 '23 14:08 balston

The installer had finished with:

(Aug 31, 2023 16:01:38) 90%
(Aug 31, 2023 16:02:04) 91%
(Aug 31, 2023 16:02:25) 94%
(Aug 31, 2023 16:02:28) 95%
(Aug 31, 2023 16:02:50) 96%
(Aug 31, 2023 16:02:58) 97%
(Aug 31, 2023 16:03:40) 100%
(Aug 31, 2023 16:04:24) Starting Support Package Registration Service
(Aug 31, 2023 16:04:24) Completed Support Package Registration Service
(Aug 31, 2023 16:04:24) Starting OS Registration Service for MATLAB
(Aug 31, 2023 16:04:24) Generating Java class path for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 16:04:24) Successfully generated Java class path for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 16:04:24) Generating pathdef.m for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 16:04:26) Successfully generated pathdef.m for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 16:04:26) Calling Manifest cache executable
(Aug 31, 2023 16:04:34) Successfully called Manifest cache executable
(Aug 31, 2023 16:04:34) Completed OS Registration Service for MATLAB
(Aug 31, 2023 16:04:34) Starting OS Registration Service for MATLAB Compiler
(Aug 31, 2023 16:04:34) Completed OS Registration Service for MATLAB Compiler
(Aug 31, 2023 16:04:34) To accelerate computations with the following products, a <a HREF="http://www.mathworks.com/pi_scl_3_R2023a_glnxa64">supported compiler</a> is required:<br><br>Fixed-Point Designer<br>SimBiology<br><br>The following products require a <a href="http://www.mathworks.com/pi_scl_1_R2023a_glnxa64">supported compiler</a>:<br><br>Embedded Coder<br>MATLAB Coder<br>Simulink Coder<br>Simulink Test<br>Stateflow<br><br>MATLAB Compiler SDK requires the following: <br><br> ●  a <a HREF="http://www.mathworks.com/pi_scl_5_R2023a_glnxa64">supported compiler</a> for creation of C and C++ Shared libraries<br> ●  a <a HREF="http://www.mathworks.com/pi_scl_6_R2023a_glnxa64">Java JDK</a> for creation of Java packages<br><br>Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a <a HREF="http://www.mathworks.com/pi_scl_2_R2023a_glnxa64">supported compiler</a> on your machine.<br><br>The following products require <a href="http://www.mathworks.com/pi_hws_mpi_R2023a_glnxa64">Hardware Setup</a> for third-party tools configuration:<br><br>C2000 Microcontroller Blockset<br><br>
(Aug 31, 2023 16:04:34) Exiting with status 0
(Aug 31, 2023 16:04:34) End - Successful

so has worked. MATLAB and UCL's licensed toolboxes have been installed. Now need to run the installer with another input file with the FIK for MATLAB Parallel Server.

balston avatar Aug 31 '23 15:08 balston

Now running:

./install -inputFile ~/Software/Matlab/installer_input_R2023a_MPS_Myriad.txt

balston avatar Aug 31 '23 16:08 balston

Looks like it has worked:

(Aug 31, 2023 17:12:19) 1 of 104 products
(Aug 31, 2023 17:12:19) 21.81 MB required
(Aug 31, 2023 17:12:26) 1%
(Aug 31, 2023 17:12:26) 6%
(Aug 31, 2023 17:12:26) 8%
(Aug 31, 2023 17:12:26) 23%
(Aug 31, 2023 17:12:26) 47%
(Aug 31, 2023 17:12:26) 68%
(Aug 31, 2023 17:12:26) 100%
(Aug 31, 2023 17:12:54) Starting Support Package Registration Service
(Aug 31, 2023 17:12:54) Completed Support Package Registration Service
(Aug 31, 2023 17:12:54) Starting OS Registration Service for MATLAB
(Aug 31, 2023 17:12:54) Generating Java class path for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 17:12:55) Successfully generated Java class path for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 17:12:55) Generating pathdef.m for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 17:12:58) Successfully generated pathdef.m for /shared/ucl/apps/Matlab/R2023a/full
(Aug 31, 2023 17:12:58) Calling Manifest cache executable
(Aug 31, 2023 17:13:04) Successfully called Manifest cache executable
(Aug 31, 2023 17:13:04) Completed OS Registration Service for MATLAB
(Aug 31, 2023 17:13:04) Starting OS Registration Service for MATLAB Compiler
(Aug 31, 2023 17:13:04) Completed OS Registration Service for MATLAB Compiler
(Aug 31, 2023 17:13:04) After this installation is complete, you should continue with your configuration of the MATLAB Parallel Server as outlined in the instructions obtained from <a HREF="https://www.mathworks.com/pi_dc_pi_R2023a">www.mathworks.com/distconfig</a><br><br>
(Aug 31, 2023 17:13:04) Exiting with status 0
(Aug 31, 2023 17:13:04) End - Successful

balston avatar Aug 31 '23 16:08 balston

Next produce an updated module file to test out the basic MATLAB installation.

balston avatar Aug 31 '23 16:08 balston

Module file on Myriad. Use module commands:

module load xorg-utils/X11R7.7
module load matlab/full/r2023a/9.14

Will now try running some simple test jobs before installing the remote job submission and MPS support.

balston avatar Aug 31 '23 17:08 balston

I'm installing R2023a on my iMac so I can download the Grid Engine support files.

I've also submitted a simple test job.

balston avatar Sep 05 '23 11:09 balston

My test job has worked.

balston avatar Sep 05 '23 14:09 balston

Grid Engine support scripts dowloaded to Myriad. Will now need to be configured for our setup.

balston avatar Sep 05 '23 17:09 balston