Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78410673
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, Aug 20, 17:03
Size
413 B
Mime Type
text/x-shellscript
Expires
Thu, Aug 22, 17:03 (2 d)
Engine
blob
Format
Raw Data
Handle
19995983
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