Write script for submitting a matlab job (code is gpu enable) in NCI?

6 visualizzazioni (ultimi 30 giorni)
Hi all,
I have a gpu enable matlab code. I want to submit this matlab job in NCI to speed up the simulation. I am having issues to write down the script. Do you have any resorces/script how I can send a job ?

Risposte (1)

Chandu
Chandu il 14 Mar 2022
Hi,
MATLAB job can be queued using the MATLAB submit function. Refer the following script,
sched = findResource (...);
job = createJob (sched, ...);
task = createTask (job, @myFcn, ...);
submit(job);
You can also refer to submit, createJob, createTaskMathWorks documentation for future reference.

Categorie

Scopri di più su Parallel Computing in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by