欢迎来到天天文库
浏览记录
ID:27727995
大小:691.00 KB
页数:13页
时间:2018-12-05
《parallel computing with matlab(并行计算)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、本页已使用福昕阅读器进行编辑。 福昕软件(C)2005-2007,版权所有, 仅供试用。GettingStartedwithParallelComputingusing MATLAB:InteractiveandScheduledApplicationsCreatedbyS.Zaranek,E.JohnsonandA.Chakravarti1.ObjectivesThisuserguideprovidesanenduserwithinstructionsonhowtogetstartedrunning parallelMATLABapplications
2、usingadesktopcomputeroracluster.2.AssumptionsUserhasaccesstoMATLABandParallelComputingToolboxonthedesktopcomputerorheadnodeofthecluster.Ifrunningonacluster:MATLABDistributedComputingServerhasbeeninstalledbyanadministratoronthecluster.ThedesktopMATLABclienthasbeenconfiguredtoconne
3、cttothecluster.Ifthishas notbeendone,youshouldcontacttheclusteradministrator.3.GettingtheExampleFilesUnzipthedemoFiles.zipfilethatwasprovidedalongwiththisguide.Youcan addthefilestotheMATLABpathbyrunningtheaddpathcommandin MATLAB.>>addpath4.ExamplesRunningLocallyI
4、nthissection,youwillberunningandsubmittingjobsusingthelocal configuration.Ifyourworkflowwillultimatelyinvolvesubmittingjobstoacluster,youcan followthissectionbyswitchingthedefaultconfigurationfromlocaltothatof yourclusterandrunningthesejobsagain.ThisisdescribedinSection5.本页已使用福昕阅
5、读器进行编辑。 福昕软件(C)2005-2007,版权所有, 仅供试用。Youcansettheconfigurationtolocal,eitheratthecommand-line>>defaultParallelConfig('local')orbyusingtheuserinterfacefoundintheparallelmenu.Seescreensnapshot below.Formoreinformationonconfigurationsandprogrammingwithuser configurations,see:http://w
6、ww.mathworks.com/access/helpdesk/help/toolbox/distcomp/index.html?/a ccess/helpdesk/help/toolbox/distcomp/f5-16141.html#f5-165401.UsinganInteractiveMATLABpoolTointeractivelyrunyourparallelcode,youfirstneedtoopenaMATLABpool. ThisreservesacollectionofMATLABworkersessionstorunyourco
7、de.The MATLABpoolcanconsistofMATLABsessionsrunningonyourlocalmachine oronaremotecluster.Inthiscase,weareinitiallyrunningonyourlocalmachine.Youcanusematlabpoolopentostartaninteractiveworkerpool.Ifthenumber ofworkersisnotdefined,thedefaultnumberdefinedinyourconfigurationwill beused
8、.Agoodruleofthumbistonotopenmoreworkerst
此文档下载收益归作者所有