Prepare dynamic executor in strict mode.

In strict mode, if any error occurs, the program will be terminated directly. Otherwise, validate mode does not terminate when error occurs, but just archive the error log.