📄 100.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>Common MLP Programming Errors</title> <meta name="Generator" content="ATutor"> <meta name="Keywords" content=""></head><body> <p> The objective of this chapter is to look at common programming mistakes encountered when trying to develop multi-level programs that mix OpenMP directives and MPI
routines. The following topics will be covered:</p>
<ul>
<li>
<p>Problems specific to MPI </p>
</li>
<ul>
<li>
<p> Common syntax errors</p>
</li>
<li>
<p> Mismatch between variable datatype and MPI datatype of message data</p>
</li>
<li>
<p> Deadlocking due to order of message send/receives</p>
</li>
</ul>
<li>
<p> Problems specific to OpenMP</p>
</li>
<ul>
<li>
<p> Common syntax errors</p>
</li>
<li>
<p> Loop variables not declared correctly (shared or private)</p>
</li>
</ul>
<li>
<p> Problems encountered when mixing OpenMP and MPI</p>
</li>
<ul>
<li>
<p> MPI spawned processes do not always pass environment variables, so OpenMP should be controlled through function calls and not through environment variables</p>
</li>
<li>
<p> OpenMP directives or function calls before MPI is initialized</p>
</li>
<li>
<p> Calling MPI communication functions within OpenMP parallel region</p>
</li>
</ul>
</ul></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -