1. Use an SSH tool that supports X11 forwarding (e.g., MobaXterm) to log in with your NetID to the dkucc-login-01.oit.duke.edu. Navigate to the /dkucc/home/NetID directory (replace NetID with your own NetID), create a folder named JobStore_Temp.
cd /dkucc/home/NetID (replace NetID with your NetID)
mkdir JobStore_Temp
2. Download the GenericProfile1.mlsettings file from the following URL and upload it into the JobStore_Temp folder created in Step 1.
Click to download GenericProfile1.mlsettings
3. Navigate to /opt/apps/centos8/MATLAB/R2024b/bin, run ./matlab to launch MATLAB graphical user interface (GUI).
Note: The first launch of MATLAB may take a long time to initialize. Please be patient.
cd /opt/apps/centos8/MATLAB/R2024b/bin
./matlab
4. Configure Profile
4.1 In the MATLAB desktop, go to ENVIRONMENT > Parallel > Create and Manage Cluster, then click Import. Select the GenericProfile1.mlsettings file saved in Step 1 and click Open.
4.2 Click Edit and set Folder where job data is stored on the client (JobStorageLocation) to the JobStore_Temp folder you created in Step 1.
4.3 Change Username to your own NetID. – In AdditionalSubmitArgs, you can limit the maximum number of nodes. The default profile is set to 2 nodes. Note that each node has 2 CPUs with 24 cores each, so 2 nodes can be used up to 96 cores in total. You can set this up to 5 nodes. For more nodes, please email: dkucc@dukekunshan.edu.cn.
4.4 Click Done, then click Validate to check that all stages pass successfully.
When all validation stages pass, your profile is correctly configured
5. Click Set as Default to make this profile to be the default profile.
You may export the profile to your /dkucc/home/Netid or local disk for backup.
6. At this point, MATLAB is fully configured, and you can use it via the graphical user interface (GUI).
If you prefer using MATLAB without the desktop interface, run:
cd /opt/apps/centos8/MATLAB/R2024b/bin
./matlab -nodesktop -nodisplay -nosplash
You may click to download the manual from the following links:
DKUCC MATLAB USER MANUAL__V1.0