⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 23.html

📁 国外MPI教材
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />	<style type="text/css">	body { font-family: Verdana, Arial, Helvetica, sans-serif;}	a.at-term {	font-style: italic; }	</style>	<title>General Syntax Rules</title>	<meta name="Generator" content="ATutor">	<meta name="Keywords" content=""></head><body> <p>As described in the previous section, most OpenMP constructs are compiler directives, which appear as Fortran comments or C pragmas. Because these are directives, compilers that don't support OpenMP can still compile OpenMP programs (serially, of course!). </p>

<p>For <b>C/C++</b>, these directives have the form </p>

<code><pre>#pragma omp <em>contstruct [clause [clause]...]</em></pre></code> 

<p>Fortran directives have one of the forms</p>

<code><pre>C$OMP <em>contstruct [clause [clause]...]</em>
!$OMP <em>contstruct [clause [clause]...]</em>
*$OMP <em>contstruct [clause [clause]...]</em></pre></code> 

<p>depending on the Fortran version and source file type (free or fixed 
    form).</p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -