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

📄 node67.html

📁 Design and building parallel program
💻 HTML
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>6 Fortran M</TITLE>
</HEAD>
<BODY>
<meta name="description" value="6 Fortran M">
<meta name="keywords" value="book">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
 <BR> <HR><a href="msgs0.htm#2" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#2"><img ALIGN=MIDDLE src="asm_color_tiny.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/asm_color_tiny.gif" alt="[DBPP]"></a>    <A NAME=tex2html2737 HREF="node66.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node66.html"><IMG ALIGN=MIDDLE ALT="previous" SRC="previous_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/previous_motif.gif"></A> <A NAME=tex2html2745 HREF="node68.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node68.html"><IMG ALIGN=MIDDLE ALT="next" SRC="next_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/next_motif.gif"></A> <A NAME=tex2html2743 HREF="node49.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node49.html"><IMG ALIGN=MIDDLE ALT="up" SRC="up_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/up_motif.gif"></A> <A NAME=tex2html2747 HREF="node1.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node1.html"><IMG ALIGN=MIDDLE ALT="contents" SRC="contents_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/contents_motif.gif"></A> <A NAME=tex2html2748 HREF="node133.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node133.html"><IMG ALIGN=MIDDLE ALT="index" SRC="index_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/index_motif.gif"></A> <a href="msgs0.htm#3" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#3"><img ALIGN=MIDDLE src="search_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/search_motif.gif" alt="[Search]"></a>   <BR>
<B> Next:</B> <A NAME=tex2html2746 HREF="node68.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node68.html">6.1 FM Introduction</A>
<B>Up:</B> <A NAME=tex2html2744 HREF="node49.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node49.html">Part II: Tools</A>
<B> Previous:</B> <A NAME=tex2html2738 HREF="node66.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node66.html"> Chapter Notes</A>
<BR><HR><P>
<H1><A NAME=SECTION03300000000000000000>6 Fortran M</A></H1>
<P>
<A NAME=chapfm>&#160;</A>
<P>
<A NAME=8645>&#160;</A>
In this chapter, we describe Fortran M (FM), a small set of extensions
to Fortran for parallel programming.  In FM, tasks and channels are
represented explicitly by means of language constructs.  Hence, algorithms
designed using the techniques discussed in Part I can be translated into
programs in a straightforward manner.
<P>
Because Fortran M is a simple language, we are able in this chapter to
provide both a complete language description and a tutorial
introduction to important programming techniques.  (Some familiarity
with Fortran is assumed.)  In the process, we show how the language is
used to implement various algorithms developed in Part I.
<P>
After studying this chapter, you should be able to write simple FM
programs.  You should know how to create tasks and channels, how to
implement structured, unstructured, and asynchronous communication
patterns, and how to control the mapping of tasks to processors.  You
should also know both how to guarantee deterministic execution and
when it is useful to introduce nondeterministic constructs.  Finally,
you should understand how FM supports the development of modular
programs, and know how to specify both sequential and parallel
composition.
<P>

<HR>
<UL> 
<LI> <A NAME=tex2html2749 HREF="node68.html#SECTION03310000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node68.html#SECTION03310000000000000000">6.1 FM Introduction</A>
<LI> <A NAME=tex2html2750 HREF="node69.html#SECTION03320000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node69.html#SECTION03320000000000000000">6.2 Concurrency</A>
<LI> <A NAME=tex2html2751 HREF="node70.html#SECTION03330000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node70.html#SECTION03330000000000000000">6.3 Communication</A>
<LI> <A NAME=tex2html2752 HREF="node71.html#SECTION03340000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node71.html#SECTION03340000000000000000">6.4 Unstructured Communication</A>
<LI> <A NAME=tex2html2753 HREF="node72.html#SECTION03350000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node72.html#SECTION03350000000000000000">6.5 Asynchronous Communication</A>
<LI> <A NAME=tex2html2754 HREF="node73.html#SECTION03360000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node73.html#SECTION03360000000000000000">6.6 Determinism</A>
<LI> <A NAME=tex2html2755 HREF="node74.html#SECTION03370000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node74.html#SECTION03370000000000000000">6.7 Argument Passing</A>
<LI> <A NAME=tex2html2756 HREF="node75.html#SECTION03380000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node75.html#SECTION03380000000000000000">6.8 Mapping</A>
<LI> <A NAME=tex2html2757 HREF="node76.html#SECTION03390000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node76.html#SECTION03390000000000000000">6.9 Modularity</A>
<LI> <A NAME=tex2html2758 HREF="node77.html#SECTION033100000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node77.html#SECTION033100000000000000000">6.10 Performance Issues</A>
<LI> <A NAME=tex2html2759 HREF="node78.html#SECTION033110000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node78.html#SECTION033110000000000000000">6.11 Case Study: Fock Matrix Construction</A>
<LI> <A NAME=tex2html2760 HREF="node79.html#SECTION033120000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node79.html#SECTION033120000000000000000">6.12 Summary</A>
<LI> <A NAME=tex2html2761 HREF="node80.html#SECTION033130000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node80.html#SECTION033130000000000000000"> Exercises</A>
<LI> <A NAME=tex2html2762 HREF="node81.html#SECTION033140000000000000000" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node81.html#SECTION033140000000000000000"> Chapter Notes</A>
</UL>
<BR> <HR><a href="msgs0.htm#2" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#2"><img ALIGN=MIDDLE src="asm_color_tiny.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/asm_color_tiny.gif" alt="[DBPP]"></a>    <A NAME=tex2html2737 HREF="node66.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node66.html"><IMG ALIGN=MIDDLE ALT="previous" SRC="previous_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/previous_motif.gif"></A> <A NAME=tex2html2745 HREF="node68.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node68.html"><IMG ALIGN=MIDDLE ALT="next" SRC="next_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/next_motif.gif"></A> <A NAME=tex2html2743 HREF="node49.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node49.html"><IMG ALIGN=MIDDLE ALT="up" SRC="up_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/up_motif.gif"></A> <A NAME=tex2html2747 HREF="node1.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node1.html"><IMG ALIGN=MIDDLE ALT="contents" SRC="contents_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/contents_motif.gif"></A> <A NAME=tex2html2748 HREF="node133.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node133.html"><IMG ALIGN=MIDDLE ALT="index" SRC="index_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/index_motif.gif"></A> <a href="msgs0.htm#3" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#3"><img ALIGN=MIDDLE src="search_motif.gif" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/search_motif.gif" alt="[Search]"></a>   <BR>
<B> Next:</B> <A NAME=tex2html2746 HREF="node68.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node68.html">6.1 FM Introduction</A>
<B>Up:</B> <A NAME=tex2html2744 HREF="node49.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node49.html">Part II: Tools</A>
<B> Previous:</B> <A NAME=tex2html2738 HREF="node66.html" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/node66.html"> Chapter Notes</A>
<BR><HR><P>
<P><ADDRESS>
<I>&#169 Copyright 1995 by <A href="msgs0.htm#6" tppabs="http://www.dit.hcmut.edu.vn/books/system/par_anl/tppmsgs/msgs0.htm#6">Ian Foster</a></I>
</ADDRESS>
</BODY>

⌨️ 快捷键说明

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