|
Lines 49-55
Link Here
|
| 49 |
|
49 |
|
| 50 |
typedef struct { |
50 |
typedef struct { |
| 51 |
int (*setup_srun_opt) (char **rest, slurm_opt_t *opt_local); |
51 |
int (*setup_srun_opt) (char **rest, slurm_opt_t *opt_local); |
| 52 |
int (*handle_multi_prog) (int command_pos, slurm_opt_t *opt_local); |
52 |
int (*handle_multi_prog) (int command_pos, slurm_opt_t *opt_local, |
|
|
53 |
bool test_exec); |
| 53 |
int (*create_job_step) (srun_job_t *job, bool use_all_cpus, |
54 |
int (*create_job_step) (srun_job_t *job, bool use_all_cpus, |
| 54 |
void (*signal_function)(int), |
55 |
void (*signal_function)(int), |
| 55 |
sig_atomic_t *destroy_job, |
56 |
sig_atomic_t *destroy_job, |
|
Lines 504-515
extern int launch_g_setup_srun_opt(char **rest, slurm_opt_t *opt_local)
Link Here
|
| 504 |
} |
505 |
} |
| 505 |
|
506 |
|
| 506 |
extern int launch_g_handle_multi_prog_verify(int command_pos, |
507 |
extern int launch_g_handle_multi_prog_verify(int command_pos, |
| 507 |
slurm_opt_t *opt_local) |
508 |
slurm_opt_t *opt_local, |
|
|
509 |
bool test_exec) |
| 508 |
{ |
510 |
{ |
| 509 |
if (launch_init() < 0) |
511 |
if (launch_init() < 0) |
| 510 |
return 0; |
512 |
return 0; |
| 511 |
|
513 |
|
| 512 |
return (*(ops.handle_multi_prog))(command_pos, opt_local); |
514 |
return (*(ops.handle_multi_prog))(command_pos, opt_local, test_exec); |
| 513 |
} |
515 |
} |
| 514 |
|
516 |
|
| 515 |
extern int launch_g_create_job_step(srun_job_t *job, bool use_all_cpus, |
517 |
extern int launch_g_create_job_step(srun_job_t *job, bool use_all_cpus, |