How to reset job ID in job monitor?

4 ビュー (過去 30 日間)
yuqi ao
yuqi ao 2023 年 1 月 10 日
回答済み: Raymond Norris 2023 年 2 月 3 日
when I run script as batch job ,the job ID keeps increasing, how can I reset the job ID to 1?
I have tried to delete all jobs, it didn't work

採用された回答

Gowthami
Gowthami 2023 年 2 月 3 日
Hi,
The 'ID' property of a parallel.Job object(which is what is displayed in the Job Monitor) is a read-only property and therefore not controllable. It is intended to be a unique identifier that no two jobs of a cluster can share, regardless of whether the jobs have been deleted. This is the reason it is seen as an ever-increasing number even if you delete all jobs.

その他の回答 (1 件)

Raymond Norris
Raymond Norris 2023 年 2 月 3 日
If you delete all of the jobs and then restart MATLAB, I would expect the job ID to be reset to 1.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by