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