Generally, developing OpenMP programs is separated from correctness test and performance analysis. Therefore, the concept of dynamic parallel region and a mode for developing OpenMP programs based on it are proposed, which combines the development of OpenMP programs with correctness testing and performance analysis. At every stage of developing OpenMP programs, the correctness of OpenMP programs is insured. At the same time, the performance of OpenMP programs is improved step by step through refined performance analysis and nice performance tuning during the development of OpenMP programs. The test results for NPB2.3 OpenMP Fortran version, which is developed according to the mode based on dynamic parallel region, show that this mode is feasible.