base="example1" file="example1.f" let NPROC_ROWS=2 let NPROC_COLS=3 if [ ! -f $file ]; then wget http://www.netlib.org/scalapack/examples/$file fi grep DATA $file echo "NPROW = $NPROC_ROWS NPCOL = $NPROC_COLS"