<div dir="ltr"><div>Hello, i create spank plugin and i have a problem.<br>With my plugin i create new parameters --hbm<br><br>If i write srun command it's work<br>srun --hbm="tototututititatatetetyt" hostname<br><br>but if i add 1 caractere, my slurm job "freeze", job is in R status<br>srun --hbm="tototututititatatetetyty" hostname<br><br>So maybe slurm have limitation number parameter length ? max is 23 caracteres, why ?<br><br>In my code, slurmd call slurm_spank_init and _script_opt_process and slurm_spank_task_init<br>but when i have my error slurmd not call slurm_spank_task_init<br><br></div>this is my code :<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">#include <sys/types.h><br>#include <stdio.h><br>#include <stdlib.h><br>#include <unistd.h><br>#include <string.h><br>#include <sys/resource.h><br><br>#include <slurm/spank.h><br><br><br>SPANK_PLUGIN(hbm, 1);<br><br>static int _script_opt_process (int val,<br>                                const char *optarg,<br>                                int remote);<br><br>struct spank_option spank_options[] =<br>{<br>    { "hbm",<br>      "[hbm]",<br>      "hbm parameter",<br>      1,<br>      0,<br>      (spank_opt_cb_f) _script_opt_process<br>    },<br>    <br>    SPANK_OPTIONS_TABLE_END<br>};<br>    <br><br>int slurm_spank_init (spank_t sp, int ac, char **av)<br>{<br>    return (0);<br>}<br><br>int slurm_spank_task_init (spank_t sp, int ac, char **av) {<br><br>    return 0;<br>}<br><br>static int _script_opt_process (int val,const char *optarg,int remote) {<br>    return (0);<br>}<br></blockquote></div>