replace all cout and cerr stream with new pout and perr;
when using pout/perr, please #include "pario.h"