File: exp3.ecf

package info (click to toggle)
ecflow 5.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 52,220 kB
  • sloc: cpp: 273,994; python: 22,754; sh: 3,643; perl: 774; xml: 333; f90: 204; ansic: 141; makefile: 63
file content (27 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%manual
DESCRIPTION
Reproducing bug task. A ssh command is run into other server that tries to update the value of a "missing label" in this task.
%end
%include <head.h>

for (( n = 1 ; n <= 500 ; n++ )); do
  #print "iteration n=$n"
  ksh -c "module load ecflow; env ECF_HOST=%ECF_HOST% ECF_PORT=%ECF_PORT% ecflow_client --label=label $n" &
done

#export ECF_DEBUG_CLIENT=1
#export ECF_HOST=%ECF_HOST%
#export ECF_PORT=%ECF_PORT%
#for (( n = 1 ; n <= 500 ; n++ ));do
#  ecflow_client --label=label "label_number_$n"
#done

#for (( n = 1 ; n <= 200 ; n++ )); do
#  print "sleeping" $n
#  ecflow_client --label=sleeping $n
#  sleep 1
#done

wait
%include <tail.h>