Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
German Leon
Carol-fi
Commits
8f85a4ef
Commit
8f85a4ef
authored
Jan 12, 2021
by
German Leon
Browse files
Delete res-new-ind-simple.sh
parent
c68dbc96
Changes
1
Hide whitespace changes
Inline
Side-by-side
res-new-ind-simple.sh
deleted
100755 → 0
View file @
c68dbc96
#cut -d, -f 3,4,9,10,11,12,13,14,15 fi_lavaMD_single_bit_RF.csv
fi_field
=
10
model
=
$[$fi_field
- 1]
hang
=
$[$fi_field
+ 1]
crash
=
$[$hang
+ 1]
masked
=
$[$crash
+1
]
sdc
=
$[$masked
+1
]
for
i
in
$fi_field
$hang
$crash
$masked
$sdc
do
cab
=
$(
cut
-d
,
-f
$i
$1
|head
-1
)
trues
=
$(
cut
-d
,
-f
$i
$1
|grep
"True"
|wc
-l
)
echo
$cab
"="
$trues
campos[
$i
]=
$trues
done
campos[
$masked
]=
$[
campos[
$masked
]
-campos
[
$hang
]]
for
i
in
$hang
$crash
$masked
$sdc
do
tantoporcien
=
$(
printf
%.3f
"
$((
campos[
$i
]
*
10
**
5
/
campos[
$fi_field
]
))
e-3"
)
cab
=
$(
cut
-d
,
-f
$i
$1
|head
-1
)
echo
$cab
"(%)="
$tantoporcien
done
interrupciones
=
$(
grep
unique
$1
|
wc
-l
)
interrupciones
=
$[
$interrupciones
-1
]
echo
"Hang-restart-fi="
$interrupciones
echo
"Model="
$(
cut
-d
,
-f
$model
$1
|head
-2
|tail
-1
)
excep
=
$[$sdc
+1]
for
i
in
$(
seq
1 1 15
)
do
ib
=
$(
echo
"_"
$i$)
n
=
$(
cut
-f
$excep
-d
,
$1
|
sed
"s/CUDA_EXCEPTION_1 CUDA_EXCEPTION_1/CUDA_EXCEPTION_1/"
|
sed
"s/SIGKILL CUDA_EXCEPTION//"
|grep
$ib
|
wc
-l
)
if
[
"
$n
"
-gt
0
]
;
then
echo
"CUDA_EXCEPTION_"
$i
"="
$n
fi
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment