当前位置: 首页>>代码示例>>C++>>正文


C++ other_select_init函数代码示例

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


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


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