Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82192298
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
Tue, Sep 10, 02:27
Size
413 B
Mime Type
text/x-shellscript
Expires
Thu, Sep 12, 02:27 (2 d)
Engine
blob
Format
Raw Data
Handle
20577054
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