Skip to content
Snippets Groups Projects
Commit d082082b authored by 13518104 Kevin Austin Stefano's avatar 13518104 Kevin Austin Stefano
Browse files

add script, repair, final commit

parent 12eec811
Branches
No related merge requests found
File added
File added
File added
......@@ -325,7 +325,7 @@ int main()
t = MPI_Wtime() - t;
printResult(result, e);
// printf("Waktu Eksekusi: %f ms \n", (t * 1000));
MPI_Abort(MPI_COMM_WORLD, EXIT_FAILURE);
// MPI_Abort(MPI_COMM_WORLD, EXIT_FAILURE);
} else {
MPI_Datatype mpi_edge_type;
......
if [ "$#" -ne 1 ]; then
echo 'Usage: ./openmp-script.sh <input_file>'
exit
fi
input=$1
filename=`basename $1`
cat $1 | ./MST_OpenMP > output_mp/tmp
sed '$d' output_mp/tmp > output_mp/$filename
rm -f output_mp/tmp
if [ "$#" -ne 1 ]; then
echo 'Usage: ./openmpi-script.sh <input_file>'
exit
fi
input=$1
filename=`basename $1`
cat $1 | ./MST_OpenMPI > output_mp/tmp
sed '$d' output_mp/tmp > output_mp/$filename
rm -f output_mp/tmp
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment