Commit e2378129 authored by Fardale's avatar Fardale

[master] add job id in the environnment

parent e595336a
......@@ -108,7 +108,9 @@ let server_handler pass port sockaddr (ic, _oc) =
for i = 0 to submission.iteration - 1 do
let computation =
{ id= (!jobs_id, i)
; env= [Printf.sprintf "OCLUSTER_ARRAY_TASK_ID=%i" i]
; env=
[ Printf.sprintf "OCLUSTER_ARRAY_TASK_ID=%i" i
; Printf.sprintf "OCLUSTER_TASK_ID=%i" !jobs_id ]
; script= submission.script
; time= submission.time
; pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment