多核程序设计课件08 基于消息传递的程序设计技术 中文翻译版.ppt

多核程序设计课件08 基于消息传递的程序设计技术 中文翻译版.ppt

  1. 1、本文档共81页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
多核程序设计课件08 基于消息传递的程序设计技术 中文翻译版

* Starting PVM 开始PVM Before ? we go over the steps to compile and run parallel PVM programs, you should be sure you can start up PVM and configure a virtual machine. On any host on which PVM has been installed you can type在我们检查编译和运行并行PVM程序的步骤之前,你应该确保你可以启动PVM和配置虚拟机。您可以键入任何主机上已安装PVM % pvm and you should get back a PVM console prompt signifying that PVM is now running on this host. You can add hosts to your virtual machine by typing at the console prompt你应该得到一个PVM控制台提示符标志着PVM现在该主机上运行。您可以在控制台提示符下键入主机添加到您的虚拟机 pvm add hostname And you can delete hosts (except the one you are on) from your virtual machine by typing你可以从你的虚拟机通过输入删除主机(除非你是一个主机) pvm delete hostname If you get the message ``Cant Start pvmd, then check the common startup problems section and try again.如果你得到消息“无法启动PVMD,然后检查常见的启动问题的部分,然后再试一次。 * Starting PVM 要看到当前的虚拟机看起来像什么,你可以键入 pvm conf 要查看正在运行的虚拟机上的PVM任务,您可以输入 pvm ps –a 当然,你到现在不会有任何运行的任务,这在下一节中。如果你键入”quit”在控制台提示符下,控制台将退出,但你的虚拟机和任务将继续运行,你可以在任何主机上的虚拟机中的任何Unix提示符下键入 % pvm 你会得到的消息“PVM已经运行”和在控制台提示符。当你用完了虚拟机的时候,您应该键入 pvm halt 该命令杀死任何PVM任务,关闭虚拟机,并退出控制台。这是推荐的方法来阻止PVM,因为它可确保的虚拟机关闭。你应该练习开始和停止和将主机添加到PVM,直到你PVM控制台感到舒适。 PVM控制台和它的许多命令选项的完整描述在本章结尾。 To see what the present virtual machine looks like, you can type pvm conf To see what PVM tasks are running on the virtual machine, you type pvm ps –a Of course you don‘t have any tasks running yet; that’s in the next section. If you type ``quit“ at the console prompt, the console will quit but your virtual machine and tasks will continue to run. At any Unix prompt on any host in the virtual machine, you can type % pvm and you will get the message ``pvm already running“ and the console prompt. When you are finished with the virtual machine, you should type pvm halt This command kills any PVM tasks, shuts down the virtual machine, and exits the console. This is the recommended method to stop PVM because it makes sure that the virtual machine shuts down cleanly. You should practice starting and stopping and adding hosts to PVM unti

文档评论(0)

dajuhyy + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档