Commit bdc22082 authored by Taddeüs Kroes's avatar Taddeüs Kroes

ModSim ass4 taddeus: Added usage to comparison shell script.

parent 2b470fd3
#!/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
Markdown is supported
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