{"title":"Programming Aid Tool for Detecting Common Mistakes of Novice Programmers in OpenMP Code","authors":"Jae Young Park, Seung Wook Lee, Jong Tae Kim","volume":41,"journal":"International Journal of Computer and Information Engineering","pagesStart":936,"pagesEnd":940,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/8943","abstract":"
OpenMP is an API for parallel programming model of shared memory multiprocessors. Novice OpenMP programmers often produce the code that compiler cannot find human errors. It was investigated how compiler coped with the common mistakes that can occur in OpenMP code. The latest version(4.4.3) of GCC is used for this research. It was found that GCC compiled the codes without any errors or warnings. In this paper the programming aid tool is presented for OpenMP programs. It can check 12 common mistakes that novice programmer can commit during the programming of OpenMP. It was demonstrated that the programming aid tool can detect the various common mistakes that GCC failed to detect.<\/p>\r\n","references":"[1] Rohit Chandra, Leonardo Dagum, Dave Kohr, Dror Maydan, Jeff\r\nMcDonald, and Ramesh Menon \"Parallel Programming in OpenMP\",\r\nMorgan Kaufmann Publishers, 2001.\r\n[2] Haoqiang Jin, Michael Frumkin and Jerry Yan, \"Automatic Generation of\r\nOpenMP Directives and Its Application to Computational Fluid Dynamic\r\nCodes\", in NASA Ames Research Center. ISHPC 2000, LNCS, 2000.\r\n[3] Michael S\u252c\u00bfu\u00df and Claudia Leopold, \"Common Mistakes in OpenMP and\r\nHow to Avoid Them,\" IWOMP 2005\/2006, LNCS 4315, pp.\r\n312-323,2008.\r\n[4] http:\/\/gcc.gnu.org\/gcc-4.4\/.\r\n[5] http:\/\/openmp.org\/examples\/Using-OpenMP-Examples-Distr.zip.\r\n[6] Babara Chapman, Gabriele Jost and Ruud van der Pas \"Using OpenMP\",\r\n2007,pp.268.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 41, 2010"}