Skip to content
Snippets Groups Projects
Commit bdc22082 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

ModSim ass4 taddeus: Added usage to comparison shell script.

parent 2b470fd3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
args=${@:2:$#}
./seq $args > out_seq.txt
#mpirun -np $1 ./par $args
if [ $# -lt 7 ]; then
echo "Usage: $0 NUM_PROCESSES INIT_METHOD TIME_STEPS LENGTH DX TAU N|XP"
exit 1
fi
./seq ${@:2:$#} > out_seq.txt
bash par.sh $@
python combine.py $1 > out_par.txt
diff out_{seq,par}.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment