added a script to compute the weak scaling