我应该在qsub中自动写点检查点?

时间:2016-08-22 23:14:11

标签: linux matlab shell hpc qsub

job.m 是我的检查点文件。 [-c checkpoint_options] n No checkpointing is to be performed. s Checkpointing is to be performed only when the server executing the job is shutdown. c Checkpointing is to be performed at the default minimum time for the server executing the job. c=minutes Checkpointing is to be performed at an interval of minutes, which is the integer number of minutes of CPU time used by the job. This value must be greater than zero. [-C directive_prefix] [-d path] [-D path] [-e path] [-f] [-h] 是我的matlab文件。

当我的工作超过24小时时,它会被服务器终止。我在自己的matlab文件中实现了检查点。 但是我应该在qsub文件中写什么? 以下是链接https://wikis.nyu.edu/display/NYUHPC/Tutorial+-+Submitting+a+job+using+qsub写的:

.....
#PBS -c c=1440 minutes
....

但是从这里开始,一旦工作超过最大允许时间(在我的情况下为24小时),我仍然无法弄清楚如何编写检查点。我希望每24小时重新提交一次这项工作,从每次检查点状态开始。我也不是来自纽约大学,所以在qsub文件中有不同的语法来指定检查点吗?

这是我在我的pbs中写的:

nuget install Microsoft.Net.Compilers   # Install C# and VB compilers
nuget install Microsoft.CodeAnalysis    # Install Language APIs and Services

但它不起作用。

0 个答案:

没有答案
相关问题