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 #!/bin/bash
args=${@:2:$#} if [ $# -lt 7 ]; then
./seq $args > out_seq.txt echo "Usage: $0 NUM_PROCESSES INIT_METHOD TIME_STEPS LENGTH DX TAU N|XP"
#mpirun -np $1 ./par $args exit 1
fi
./seq ${@:2:$#} > out_seq.txt
bash par.sh $@ bash par.sh $@
python combine.py $1 > out_par.txt python combine.py $1 > out_par.txt
diff out_{seq,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