• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ other_select_init函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中other_select_init函数的典型用法代码示例。如果您正苦于以下问题:C++ other_select_init函数的具体用法?C++ other_select_init怎么用?C++ other_select_init使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了other_select_init函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: other_update_sub_node

/*
 * Update specific sub nodes (usually something has gone wrong)
 * IN block_desc_ptr - information about the block
 */
extern int other_update_sub_node (update_block_msg_t *block_desc_ptr)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.update_sub_node))(block_desc_ptr);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:11,代码来源:other_select.c


示例2: other_fail_cnode

/*
 * Fail certain cnodes in a blocks midplane (usually comes from the
 *        IBM runjob mux)
 * IN step_ptr - step that failed
 */
extern int other_fail_cnode (struct step_record *step_ptr)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.fail_cnode))(step_ptr);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:12,代码来源:other_select.c


示例3: other_select_nodeinfo_set

extern int other_select_nodeinfo_set(struct job_record *job_ptr)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.nodeinfo_set))(job_ptr);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:7,代码来源:other_select.c


示例4:

extern select_jobinfo_t *other_select_jobinfo_alloc(void)
{
	if (other_select_init() < 0)
		return NULL;

	return (*(ops.jobinfo_alloc))();;
}
开发者ID:FredHutch,项目名称:slurm,代码行数:7,代码来源:other_select.c


示例5: other_ba_fini

extern void other_ba_fini(void)
{
	if (other_select_init() < 0)
		return;

	(*(ops.ba_fini))();
}
开发者ID:FredHutch,项目名称:slurm,代码行数:7,代码来源:other_select.c


示例6: other_job_fini

/*
 * Note termination of job is starting. Executed from slurmctld.
 * IN job_ptr - pointer to job being terminated
 */
extern int other_job_fini(struct job_record *job_ptr)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.job_fini))(job_ptr);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:11,代码来源:other_select.c


示例7: other_reconfigure

/*
 * Note reconfiguration or change in partition configuration
 */
extern int other_reconfigure (void)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.reconfigure))();
}
开发者ID:FredHutch,项目名称:slurm,代码行数:10,代码来源:other_select.c


示例8: other_job_expand_allow

/*
 * Test if expanding a job is permitted
 */
extern bool other_job_expand_allow(void)
{
	if (other_select_init() < 0)
		return false;

	return (*(ops.job_expand_allow))();
}
开发者ID:FredHutch,项目名称:slurm,代码行数:10,代码来源:other_select.c


示例9: other_job_signal

/*
 * Pass job-step signal to other plugin.
 * IN job_ptr - job to be signalled
 * IN signal  - signal(7) number
 */
extern int other_job_signal(struct job_record *job_ptr, int signal)
{
	if (other_select_init() < 0)
		return -1;

	return (*(ops.job_signal))(job_ptr, signal);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:12,代码来源:other_select.c


示例10: other_job_ready

/*
 * determine if job is ready to execute per the node select plugin
 * IN job_ptr - pointer to job being tested
 * RET: -2 fatal error, -1 try again, 1 if ready to execute,
 *	0 not ready to execute
 */
extern int other_job_ready(struct job_record *job_ptr)
{
	if (other_select_init() < 0)
		return -1;

	return (*(ops.job_ready))(job_ptr);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:13,代码来源:other_select.c


示例11: other_block_init

/*
 * Note re/initialization of block record data structure
 * IN block_list - list of partition records
 */
extern int other_block_init(List block_list)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.block_init))(block_list);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:11,代码来源:other_select.c


示例12: other_node_init

/*
 * Note re/initialization of node record data structure
 * IN node_ptr - current node data
 * IN node_count - number of node entries
 */
extern int other_node_init(struct node_record *node_ptr, int node_cnt)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.node_init))(node_ptr, node_cnt);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:12,代码来源:other_select.c


示例13: other_job_init

/*
 * Note the initialization of job records, issued upon restart of
 * slurmctld and used to synchronize any job state.
 */
extern int other_job_init(List job_list)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.job_init))(job_list);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:11,代码来源:other_select.c


示例14: other_job_resume

/*
 * Resume a job. Executed from slurmctld.
 * indf_susp IN - set if job is being resumed from indefinite suspend by user
 *                or admin, otherwise resume from gang scheduling
 * IN job_ptr - pointer to job being resumed
 * RET SLURM_SUCCESS or error code
 */
extern int other_job_resume(struct job_record *job_ptr, bool indf_susp)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.job_resume))(job_ptr, indf_susp);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:14,代码来源:other_select.c


示例15: other_alter_node_cnt

/*
 * Alter the node count for a job given the type of system we are on
 * IN/OUT job_desc  - current job desc
 */
extern int other_alter_node_cnt (enum select_node_cnt type, void *data)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.alter_node_cnt))(type, data);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:11,代码来源:other_select.c


示例16: other_select_nodeinfo_free

extern int other_select_nodeinfo_free(select_nodeinfo_t *nodeinfo)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.nodeinfo_free))(nodeinfo);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:7,代码来源:other_select.c


示例17: other_ba_init

extern void other_ba_init(node_info_msg_t *node_info_ptr, bool sanity_check)
{
	if (other_select_init() < 0)
		return;

	(*(ops.ba_init))(node_info_ptr, sanity_check);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:7,代码来源:other_select.c


示例18: other_select_nodeinfo_set_all

extern int other_select_nodeinfo_set_all(void)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.nodeinfo_set_all))();
}
开发者ID:FredHutch,项目名称:slurm,代码行数:7,代码来源:other_select.c


示例19: other_update_node_state

/*
 * Updated a node state in the plugin, this should happen when a node is
 * drained or put into a down state then changed back.
 * IN index  - index into the node record list
 * IN state  - state to update to
 * RETURN SLURM_SUCCESS on success || SLURM_ERROR else wise
 */
extern int other_update_node_state (struct node_record *node_ptr)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.update_node_state))(node_ptr);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:14,代码来源:other_select.c


示例20: other_state_restore

/*
 * Initialize context for node selection plugin and
 * restore any global state information
 * IN dir_name - directory from which the data can be restored
 */
extern int other_state_restore(char *dir_name)
{
	if (other_select_init() < 0)
		return SLURM_ERROR;

	return (*(ops.state_restore))(dir_name);
}
开发者ID:FredHutch,项目名称:slurm,代码行数:12,代码来源:other_select.c



注:本文中的other_select_init函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ out函数代码示例发布时间:2022-05-30
下一篇:
C++ otg_state_string函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap