Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81511430
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
Fri, Sep 6, 11:24
Size
413 B
Mime Type
text/x-shellscript
Expires
Sun, Sep 8, 11:24 (1 d, 23 h)
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