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

1 view (last 30 days)
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 ?

Answers (1)

Chandu
Chandu on 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!