Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80646749
verify_insertion.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 1, 21:07
Size
413 B
Mime Type
text/x-shellscript
Expires
Tue, Sep 3, 21:07 (2 d)
Engine
blob
Format
Raw Data
Handle
20285845
Attached To
rAKA akantu
verify_insertion.sh
View Options
#!/bin/bash
status
=
0
PARALLEL_LEVEL
=(
2 4
)
pwd
for
((
p
=
0; p<
$PARALLEL_LEVEL
; ++p
))
;
do
PRANK
=
${
PARALLEL_LEVEL
[
${
p
}
]
}
for
((
i
=
0; i<
$PRANK
; ++i
))
;
do
echo
"Checking output_from_proc_"
${
i
}
"_out_of_"
${
PRANK
}
".out"
FILE_NAME
=
"output_from_proc_"
${
i
}
"_out_of_"
${
PRANK
}
".out"
diff
"output_dir/"
${
FILE_NAME
}
"output_dir_verified/"
${
FILE_NAME
}
status
=
$((
$?
+
${
status
}))
done
done
exit
${
status
}
Event Timeline
Log In to Comment