ncsa / Delta_doc

1 stars 1 forks source link

Create Mathworks/Matlab page #139

Open lhelms2 opened 2 months ago

lhelms2 commented 2 months ago

Campus license moved to unlimited. Show users how to use with Desktop app in OOD. Can also run on command line.

lhelms2 commented 1 month ago

started in the mathworks branch.

lhelms2 commented 1 month ago

Per Greg in the 10/9 user docs meeting, there is some question on allowance of use by users w/out a netid that is being discussed with Mathworks. Suspending work on this page until that issue is resolved.

lhelms2 commented 5 days ago

Per Greg (Delta Meeting 11/20): if a user has access to our system, they can use Matlab

lhelms2 commented 5 days ago

@craigsteffen @pmenstrom @wjackson-gh @kc9qey

Can one of you please help me with steps for how to run matlab on a compute node from a terminal? Right now all I do is point to the srun/salloc section of Running Jobs, but I think we should have step-by-step instructions.

Working in the 'mathworks' branch, in docs/source/user_guide/software.rst

Here's the RTD link to the matlab section: https://docs.ncsa.illinois.edu/systems/delta/en/mathworks/user_guide/software.html#matlab

wjackson-gh commented 4 days ago

matlab -nodisplay for command line and just matlab for the GUI (you have to x11 forwarding enabled in your ssh connection to delta)

Here is an actual session I just ran on delta.

============= MATLAB CLI

@. ~]$ date; hostname -f Thu Nov 21 10:25:09 CST 2024 dt-login04.delta.ncsa.illinois.edu @. ~]$ module list

Currently Loaded Modules: 1) gcc/11.4.0 2) openmpi/4.1.6 3) cuda/11.8.0 4) cue-login-env/1.0 5) slurm-env/0.1 6) default-s11

@. ~]$ module load matlab/2024a @. ~]$ module list

Currently Loaded Modules: 1) gcc/11.4.0 2) openmpi/4.1.6 3) cuda/11.8.0 4) cue-login-env/1.0 5) slurm-env/0.1 6) default-s11 7) matlab/2024a

@.*** ~]$ srun --time=00:15:00 --nodes=1 --ntasks-per-node=4 --account=bbka-delta-cpu --partition=cpu-interactive --pty /bin/bash srun: job 5600810 queued and waiting for resources srun: job 5600810 has been allocated resources

@.*** ~]$ which matlab /sw/external/matlab/2024a/bin/matlab

@.*** ~]$ matlab -nodisplay

                                                                  < M A T L A B (R) >
                                                        Copyright 1984-2024 The MathWorks, Inc.
                                                   R2024a Update 5 (24.1.0.2653294) 64-bit (glnxa64)
                                                                     June 24, 2024

To get started, type doc. For product information, visit www.mathworks.com.

version

ans =

'24.1.0.2653294 (R2024a) Update 5'

quit()

@.*** ~]$ exit exit

@.*** ~]$

============= MATLAB GUI

@.*** ~]$ srun --x11 --time=00:25:00 --nodes=1 --ntasks-per-node=4 --account=bbka-delta-cpu --partition=cpu-interactive --pty /bin/bash srun: job 5600826 queued and waiting for resources srun: job 5600826 has been allocated resources

@.*** ~]$ matlab MATLAB is selecting SOFTWARE rendering. Launching updater executable

@.*** ~]$ exit exit

@.*** ~]$

gui images attached (matlab_gui-01.png & matlab_gui-02.png).


From: Lillian Helms @.> Sent: Thursday, November 21, 2024 9:01 AM To: ncsa/Delta_doc @.> Cc: Jackson, Weddie Dion @.>; Mention @.> Subject: Re: [ncsa/Delta_doc] Create Mathworks/Matlab page (Issue #139)

@craigsteffenhttps://urldefense.com/v3/__https://github.com/craigsteffen__;!!DZ3fjg!4fqIWVXymM0PDbjfxCP0A0k5Qh2zOAVURiwU6fujWDPDw3Qu5F2pbggarrlPiBVPJm_AXvmYcjzfzLtlvugLH3J_qMcs$ @pmenstromhttps://urldefense.com/v3/__https://github.com/pmenstrom__;!!DZ3fjg!4fqIWVXymM0PDbjfxCP0A0k5Qh2zOAVURiwU6fujWDPDw3Qu5F2pbggarrlPiBVPJm_AXvmYcjzfzLtlvugLH303EwSd$ @wjackson-ghhttps://urldefense.com/v3/__https://github.com/wjackson-gh__;!!DZ3fjg!4fqIWVXymM0PDbjfxCP0A0k5Qh2zOAVURiwU6fujWDPDw3Qu5F2pbggarrlPiBVPJm_AXvmYcjzfzLtlvugLH7ypampJ$ @kc9qeyhttps://urldefense.com/v3/__https://github.com/kc9qey__;!!DZ3fjg!4fqIWVXymM0PDbjfxCP0A0k5Qh2zOAVURiwU6fujWDPDw3Qu5F2pbggarrlPiBVPJm_AXvmYcjzfzLtlvugLH59G411N$

Can one of you please help me with steps for how to run matlab on a compute node from a terminal? Right now all I do is point to the srun/salloc section of Running Jobs, but I think we should have step-by-step instructions.

Working in the 'mathworks' branch, in docs/source/user_guide/software.rst

Here's the RTD link to the matlab section: https://docs.ncsa.illinois.edu/systems/delta/en/mathworks/user_guide/software.html#matlab

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/ncsa/Delta_doc/issues/139*issuecomment-2491466615__;Iw!!DZ3fjg!4fqIWVXymM0PDbjfxCP0A0k5Qh2zOAVURiwU6fujWDPDw3Qu5F2pbggarrlPiBVPJm_AXvmYcjzfzLtlvugLH_B4zxjn$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AS2TJKQYXKZLUL6GCI5ZMET2BXYUZAVCNFSM6AAAAABO25HNSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJRGQ3DMNRRGU__;!!DZ3fjg!4fqIWVXymM0PDbjfxCP0A0k5Qh2zOAVURiwU6fujWDPDw3Qu5F2pbggarrlPiBVPJm_AXvmYcjzfzLtlvugLH2BMxZM3$. You are receiving this because you were mentioned.Message ID: @.***>

lhelms2 commented 4 days ago

@wjackson-gh thank you!!