Changeset 38 for branches/slurm-drmaa-1.2.0/slurm_drmaa/job.c
- Timestamp:
- 07/22/14 11:17:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/slurm-drmaa-1.2.0/slurm_drmaa/job.c
r37 r38 261 261 const fsd_template_t *jt, 262 262 fsd_environ_t **envp, 263 job_desc_msg_t * job_desc, 264 int n_job /* ~job_step */ 265 ) 263 job_desc_msg_t * job_desc) 266 264 { 267 265 fsd_expand_drmaa_ph_t *volatile expand = NULL; … … 269 267 TRY 270 268 { 271 expand = fsd_expand_drmaa_ph_new( NULL, NULL, fsd_ asprintf("%d",n_job) );272 slurmdrmaa_job_create( session, jt, envp, expand, job_desc , n_job);269 expand = fsd_expand_drmaa_ph_new( NULL, NULL, fsd_strdup("%a") ); 270 slurmdrmaa_job_create( session, jt, envp, expand, job_desc ); 273 271 } 274 272 EXCEPT_DEFAULT … … 308 306 fsd_environ_t **envp, 309 307 fsd_expand_drmaa_ph_t *expand, 310 job_desc_msg_t * job_desc, 311 int n_job 308 job_desc_msg_t * job_desc 312 309 ) 313 310 { … … 326 323 const char *job_category = "default"; 327 324 328 slurmdrmaa_init_job_desc( job_desc );329 330 slurm_init_job_desc_msg( job_desc );331 332 325 job_desc->user_id = getuid(); 333 326 job_desc->group_id = getgid();
Note: See TracChangeset
for help on using the changeset viewer.