File: submitbgl.sh

package info (click to toggle)
tau 2.17.3.1.dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 20,488 kB
  • ctags: 27,426
  • sloc: java: 94,358; cpp: 51,160; ansic: 48,343; tcl: 15,473; sh: 10,475; fortran: 8,357; python: 5,643; makefile: 3,665; f90: 632; sql: 454; perl: 260; xml: 231; yacc: 117; php: 93; csh: 82; sed: 59; modula3: 29; awk: 19
file content (43 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (2)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash -x
#Meant to be run on BG/L for evaluation of noise-estimation analysis. There we run using "Selfish" as the noise-source. Needs hacking.
numphases=10000
comptime=0
collective=BARRIER
I=1000
P=1
D=80

DIR=strong.C$comptime.Ph$numphases.I$I.P$P.D$D.$collective

#setup env vars
TAUENV=COUNTER1=BGL_TIMERS::COUNTER2=CPU_TIME
BSPENV=BSP_SELFISH=1::BSP_COMP_TIME=$comptime::BSP_PHASES=$numphases::BSP_STRONG=1::BSP_COLLECTIVE=$collective
SELFISHENV=SELFISH_I=$I::SELFISH_P=$P::SELFISH_D=$D
#SELFISHENV=x=y

time=1200

obj=#full path to location of the object file to run>

mkdir -p $DIR
pushd $DIR

for C in 2048 1024 512 256 128 64 32
do

	mkdir -p N$C;
	pushd N$C;

	N=512
	if [ $C -gt 512 ]; then
		N=$C
	fi;

	env=$TAUENV::$BSPENV::$SELFISHENV

	cqsub -t$time -n$C -c$C -e$env $obj

	popd
done;

popd;