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

1 回表示 (過去 30 日間)
Rubel Ahmed
Rubel Ahmed 2021 年 1 月 11 日
回答済み: Chandu 2022 年 3 月 14 日
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 ?

回答 (1 件)

Chandu
Chandu 2022 年 3 月 14 日
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