Protect write statements so that no write should be done if PRINTLEV=0 (at least on other than master proc).