# File: README.txt
#
#  Instructions for installing on-cluster MATLAB Support Package
#

Version: R2023a
Date: 2023-09-15

1. Description of files

  . Getting_Started_With_Serial_And_Parallel_MATLAB.docx : User Guide to be
       posted on internal wiki page.
  . acres.Cluster.zip : MATLAB scripts for submitting on-prem Slurm jobs.
       To be installed on ACRES in the root MATLAB directory (e.g., /path/to/MATLAB)
  . Clarkson-University.Desktop.zip : MATLAB scripts for submitting remote Slurm
       jobs.  To be posted on internal wiki page.

NOTE: User Guide needs to be updated to reflect the location of
Clarkson-University.Desktop.zip (highlighted in yellow in the document.)


2. Installation

  cp acres.Cluster.zip /path/to/MATLAB
  unzip acres.Cluster.zip


3. Update *each* MATLAB lua-file (e.g., /path/to/modules/MATLAB/R2023a)

  local SUPPORT_PACKAGES = /path/to/MATLAB/support_packages
  local MATLAB_CLUSTER_PROFILES_LOCATION $SUPPORT_PACKAGES/matlab_parallel_server/scripts
OR
  set SUPPORT_PACKAGES /path/to/MATLAB/support_packages
  set MATLAB_CLUSTER_PROFILES_LOCATION $SUPPORT_PACKAGES/matlab_parallel_server/scripts

  append-path  PATH            $SUPPORT_PACKAGES/matlab_parallel_server/bin
  prepend-path MATLABPATH      $SUPPORT_PACKAGES/matlab_parallel_server/scripts
