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

1 vue (au cours des 30 derniers jours)
Rubel Ahmed
Rubel Ahmed le 11 Jan 2021
Réponse apportée : Chandu le 14 Mar 2022
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 ?

Réponses (1)

Chandu
Chandu le 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.

Community Treasure Hunt

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

Start Hunting!

Translated by