码迷,mamicode.com
首页 > Windows程序 > 详细

SLURM API Reference

时间:2016-06-28 23:44:06      阅读:668      评论:0      收藏:0      [点我收藏+]

标签:

SLURM API Refence

cancel: 

API Description

int slurm_kill_job (uint32_t job_id, uint16_t signal, uint16_t flags)

 

int slurm_kill_job_step (uint32_t job_id, uint32_t step_id, uint16_t signal)

 

int slurm_kill_job2(const char *job_id, uint16_t signal, uint16_t batch_flag)

batch_flag并没有用 

 

 

 

 

 

 

allocate:

API Description

int slurm_allocate_resources (job_desc_msg_t *reqresource_allocation_response_msg_t **resp)

 

resource_allocation_response_msg_tslurm_allocate_resources_blocking (const job_desc_msg_t *user_reqtime_t timeoutvoid(*pending_callback)(uint32_t job_id))

 

int slurm_job_will_run (job_desc_msg_t *req)

 

int slurm_job_step_create (job_step_create_request_msg_t *reqjob_step_create_response_msg_t **resp)

 

int slurm_allocation_lookup(uint32_t jobid,  job_alloc_info_response_msg_t **info)

 

int slurm_allocation_lookup_lite(uint32_t jobid, resource_allocation_response_msg_t **info)

只查看资源分配 

int slurm_sbcast_lookup(uint32_t jobid, job_sbcast_cred_msg_t **info)

 

char *slurm_read_hostfile(char *filename, int n)

 helper function

SLURM API Reference

标签:

原文地址:http://www.cnblogs.com/jimmyk86/p/5598181.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!