摘要
OpenMP是一个公认的共享存储系统的并行编程接口.它由一些语言指导(directives)及库函数组成,并建立在Fortran或者C、C++语言的基础上.优点是简单、通用,有利于快速开发并行程序.介绍了它的发展历史、执行模型以及它的三个组成部份,即语言指导(一些在Fortran、C或C++基础上增加的注释语句)、运行库函数(共有10个与执行环境有关的运行库函数)和环境变量(设置该OpenMP执行时所需的线程总数).文中还提供了已公开发布的OpenMP应用程序的情况,并讨论了它将来的发展趋势.OpenMP的推广,还需要解决它的可扩展性问题.
OpenMP is a parallel programming interface for the shared memory systems Based on the language of Fortran or C、C++, OpenMp consists of language directives and runtime library The advantages of OpenMp are simple, common use and quickness of developing parallel program Introduced the history, execution model and three components of OpenMP, that is language directives,(some note sentences based on Fortran and C++) runtime library (10 functions altogether related to running environment) and environmental variables(to set up the total number of thread needed when OpenMP is executing) Provided the information about some OpenMP applications in public Furthermore, discussed the trend of OpenMP.
出处
《哈尔滨商业大学学报(自然科学版)》
CAS
2003年第4期439-444,共6页
Journal of Harbin University of Commerce:Natural Sciences Edition