MARC并行计算安装说明
[size=3][color=#000000][font=宋体]最近很多朋友问到如何安装并行,我抽空写了个说明,与大家分享[/font][/color][/size][size=3][color=#000000]
[/color][/size]
[size=3][color=#000000][font=宋体]安装环境:[/font][font=Times New Roman] [/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]1[/font][font=宋体]、[/font][font=Times New Roman] [/font][font=宋体]三台电脑,电脑名分别为[/font][font=Times New Roman]
computer1
computer2
computer3[/font][font=宋体],他们处于同一个工作组[/font][font=Times New Roman]
workgroup.
[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
computer1[/font][font=宋体]有[/font][font=Times New Roman]1[/font][font=宋体]个[/font][font=Times New Roman]CPU[/font][font=宋体],[/font][font=Times New Roman]Computer2[/font][font=宋体]有[/font][font=Times New Roman]2[/font][font=宋体]个[/font][font=Times New Roman]CPU[/font][font=宋体],[/font][font=Times New Roman]Computer3[/font][font=宋体]有[/font][font=Times New Roman]3[/font][font=宋体]个[/font][font=Times New Roman]CPU[/font][font=宋体]。[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[size=3][color=#000000][font=Times New Roman]2[/font][font=宋体]、[/font][font=Times New Roman] [/font][font=宋体]三台电脑安装的操作系统都为[/font][font=Times New Roman]
Windows XP
SP2[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[size=3][color=#000000][font=Times New Roman]3[/font][font=宋体]、[/font][font=Times New Roman] computer1
computer2
computer3[/font][font=宋体]上[/font][font=Times New Roman]MARC[/font][font=宋体]的安装路径都为[/font][font=Times New Roman]
D:\MSC.Software[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[size=3][color=#000000][font=Times New Roman]4[/font][font=宋体]、[/font][font=Times New Roman] Computer1[/font][font=宋体]的工作路径为[/font][font=Times New Roman]
D:\work1[/font][font=宋体],用户名为 [/font][font=Times New Roman]user1
[/font][font=宋体]密码为[/font][font=Times New Roman]passuser1[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]Computer2[/font][font=宋体]的工作路径为[/font][font=Times New Roman]
E:\work2[/font][font=宋体],用户名为[/font][font=Times New Roman]
user2
[/font][font=宋体]密码为[/font][font=Times New Roman]passuser2[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]Computer3[/font][font=宋体]的工作路径为[/font][font=Times New Roman]
F:\work3[/font][font=宋体],用户名为[/font][font=Times New Roman]
user3
[/font][font=宋体]密码为[/font][font=Times New Roman]passuser3[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=宋体][size=3][color=#000000]安装步骤[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]1、[/size]
[/color][/font][size=3][color=#000000][font=宋体]确保三台电脑能够连通,该连通主要指的是能够相互读写文件。[/font][font=Times New Roman] [/font][font=宋体]有的时候局域网可能出现:[/font][font=Times New Roman] [/font][font=宋体]网络拒绝访问,请联系系统管理员,确保您有权限访问该台计算机[/font][font=Times New Roman] [/font][font=宋体]之类的提示,这时可以按以下步骤操作[/font][/color][/size]
[size=3][color=#000000][font=宋体]方法[/font][font=Times New Roman]1[/font][font=宋体]:[/font][font=Times New Roman] [/font][font=宋体]在各台计算机上都建立相同的帐户名,如[/font][font=Times New Roman]
user007[/font][font=宋体],采用相同的密码。这时,只要网络是通的,一般都没有问题,能够相互访问[/font][/color][/size]
[size=3][color=#000000][font=宋体]方法[/font][font=Times New Roman]2[/font][font=宋体]:[/font][font=Times New Roman] [/font][font=宋体]各台计算机上的帐户名和密码都不同:[/font][/color][/size]
[font=Times New Roman][color=#000000][size=3]1)[/size]
[/color][/font][font=宋体][size=3][color=#000000]确保各台计算机的用户名和密码非空[/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]2)[/size]
[/color][/font][size=3][color=#000000][font=宋体]启用[/font][font=Times New Roman]
Guest[/font][font=宋体]帐户[/font][/color][/size]
[font=Times New Roman][color=#000000][size=3]3)[/size]
[/color][/font][size=3][color=#000000][font=宋体]开始[/font][font=Times New Roman]—[/font][font=宋体]运行[/font][font=Times New Roman]—gpedit.msc---[/font][font=宋体]计算机配置[/font][font=Times New Roman]---Windows[/font][font=宋体]设置[/font][font=Times New Roman]---[/font][font=宋体]安全设置[/font][font=Times New Roman]---[/font][font=宋体]本地策略[/font][font=Times New Roman]---[/font][font=宋体]用户权利指派[/font][font=Times New Roman]---[/font][font=宋体]拒绝从网络访问这台计算机。将[/font][font=Times New Roman]Guest[/font][font=宋体]帐户删掉[/font][/color][/size]
[font=Times New Roman][color=#000000][size=3]4)[/size]
[/color][/font][font=宋体][size=3][color=#000000]去掉“使用简单文件共享”项[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]2、[/size]
[/color][/font][size=3][color=#000000][font=宋体]设定一台[/font][font=Times New Roman]Host[/font][font=宋体]机,两台[/font][font=Times New Roman] remote[/font][font=宋体]机:[/font][/color][/size]
[size=3][color=#000000][font=宋体]在这里设置[/font][font=Times New Roman]
Computer1[/font][font=宋体]为[/font][font=Times New Roman]Host[/font][font=宋体]机,其他两台为[/font][font=Times New Roman]
remote[/font][font=宋体]机[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]3、[/size]
[/color][/font][size=3][color=#000000][font=宋体]将[/font][font=Times New Roman]Host[/font][font=宋体]机,即[/font][font=Times New Roman]Compter1[/font][font=宋体],的安装目录,即[/font][font=Times New Roman]D:\MSC.Software[/font][font=宋体]完全共享[/font][/color][/size]
[size=3][color=#000000][font=宋体]将[/font][font=Times New Roman]Remote[/font][font=宋体]机,即[/font][font=Times New Roman]Computer2
computer3[/font][font=宋体]的安装目录和工作目录完全共享,即:[/font][/color][/size]
[size=3][color=#000000][font=宋体]两台电脑的[/font][font=Times New Roman]
D[/font][font=宋体]:[/font][font=Times New Roman]\msc.software[/font][font=宋体]完全共享;[/font][font=Times New Roman] Computer2[/font][font=宋体]的[/font][font=Times New Roman]E:\work2[/font][font=宋体];[/font][font=Times New Roman]Computer3[/font][font=宋体]的[/font][font=Times New Roman]F:\work3[/font][font=宋体]完全共享[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]4、[/size]
[/color][/font][size=3][color=#000000][font=宋体]重置[/font][font=Times New Roman]
MP-MPICH[/font][font=宋体]密码[/font][/color][/size]
[size=3][color=#000000][font=宋体]在每台电脑上都执行相应的操作,这里以[/font][font=Times New Roman]Computer1[/font][font=宋体]为例[/font][/color][/size]
[size=3][color=#000000][font=宋体]在[/font][font=Times New Roman]DOS[/font][font=宋体]窗口下:[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
cd
D:\MSC.Software\MSC.Marc\2005r3\marc2005r3\nt_mpich\bin\[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
mpiexec –store
–save
..\..\tools\setdomain.bat[/font][/color][/size]
[size=3][color=#000000][font=宋体]可以看到一些提示符,要求你输入一些参数,即输入每台计算机的计算机所述域、用户名密码。以[/font][font=Times New Roman]computer1[/font][font=宋体]为例,域为[/font][font=Times New Roman]
Local[/font][font=宋体](属于工作组,没有建域时输[/font][font=Times New Roman]local[/font][font=宋体],电脑属于某个域,则输域名),用户名为[/font][font=Times New Roman]user1[/font][font=宋体],密码为[/font][font=Times New Roman]passuser1[/font][font=宋体],则按提示输入[/font][font=Times New Roman]; [/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[size=3][color=#000000][font=Times New Roman]Login[/font][font=宋体]:[/font][font=Times New Roman]
user1[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]Domain:
loacal[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]Password:
passuser1[/color][/size][/font]
[size=3][color=#000000][font=宋体]须注意的是,输[/font][font=Times New Roman]Password[/font][font=宋体]时,光标不闪,也没有提示符,输入时需要特别小心!!![/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]5、[/size]
[/color][/font][size=3][color=#000000][font=宋体]检查[/font][font=Times New Roman]
Cluster Manager Service[/font][font=宋体]是否启动[/font][font=Times New Roman]: [/font][/color][/size]
[size=3][color=#000000][font=宋体]控制面板[/font][font=Times New Roman]---…---[/font][font=宋体]服务[/font][font=Times New Roman]---Cluster Manager Service[/font][font=宋体],如果没有该服务,则:[/font][/color][/size]
[size=3][color=#000000][font=宋体]在[/font][font=Times New Roman]dos[/font][font=宋体]窗口下:[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
cd
D:\MSC.Software\MSC.Marc\2005r3\marc2005r3\nt_mpich\bin\[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
rcluma–install.dat[/font][/color][/size]
[font=宋体][size=3][color=#000000]见到服务已启动的提示符即可[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]6、[/size]
[/color][/font][size=3][color=#000000][font=宋体]开始[/font][font=Times New Roman]---[/font][font=宋体]运行[/font][font=Times New Roman]---cmd[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
D: [/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
cd D:\MSC.Software\MSC.Marc\2005r3\marc2005r3\tools[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
net share >marc.net[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]7、[/size]
[/color][/font][size=3][color=#000000][font=宋体]配置[/font][font=Times New Roman]Windows[/font][font=宋体]的安全设置[/font][/color][/size]
[font=Times New Roman][color=#000000][size=3]1)[/size]
[/color][/font][size=3][color=#000000][font=宋体]运行[/font][font=Times New Roman]---gpedit.nsc—[/font][font=宋体]计算机配置[/font][font=Times New Roman]---[/font][font=宋体]管理模板[/font][font=Times New Roman]---[/font][font=宋体]系统[/font][font=Times New Roman]---[/font][font=宋体]远程过程调用([/font][font=Times New Roman]RPC[/font][font=宋体])[/font][font=Times New Roman]---RPC [/font][font=宋体]终点映射程序客户端[/font][font=Times New Roman]---[/font][font=宋体]已启用[/font][/color][/size]
[font=Times New Roman][color=#000000][size=3]2)[/size]
[/color][/font][size=3][color=#000000][font=宋体]我的电脑[/font][font=Times New Roman]---[/font][font=宋体]属性[/font][font=Times New Roman]---[/font][font=宋体]高级[/font][font=Times New Roman]---[/font][font=宋体]设置[/font][font=Times New Roman]---[/font][font=宋体]数据执行保护[/font][font=Times New Roman]---[/font][font=宋体]仅为基本的[/font][font=Times New Roman]Windows[/font][font=宋体]程序和服务执行[/font][font=Times New Roman]DEP[/font][/color][/size]
[font=Times New Roman][color=#000000][size=3]3)[/size]
[/color][/font][size=3][color=#000000][font=宋体]控制面板[/font][font=Times New Roman]—[/font][font=宋体]管理工具[/font][font=Times New Roman]---[/font][font=宋体]本地安全策略[/font][font=Times New Roman]---[/font][font=宋体]本地策略[/font][font=Times New Roman]---[/font][font=宋体]用户权利指派:[/font][/color][/size]
[size=3][color=#000000][font=宋体]调整进程的内存配额:在相应的电脑上指定给相应的用户,如[/font][font=Times New Roman]Computer1[/font][font=宋体]上指派给[/font][font=Times New Roman]user1[/font][/color][/size]
[size=3][color=#000000][font=宋体]替换进程级记号:在相应的电脑上指定给相应的用户,如[/font][font=Times New Roman]Computer1[/font][font=宋体]上指派给[/font][font=Times New Roman]user1[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[font=Times New Roman][color=#000000][size=3]8、[/size]
[/color][/font][size=3][color=#000000][font=宋体]配置[/font][font=Times New Roman]host[/font][font=宋体]文件[/font][/color][/size]
[size=3][color=#000000][font=宋体]新建一个文本文件,填入[/font][font=Times New Roman]Host[/font][font=宋体]文件所需内容,格式为:[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]Host[/font][font=宋体]计算机名[/font][font=Times New Roman]
Host[/font][font=宋体]机上的[/font][font=Times New Roman]CPU[/font][font=宋体]数量[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]Remote[/font][font=宋体]计算机名[/font][font=Times New Roman]
Remote[/font][font=宋体]机上的[/font][font=Times New Roman]CPU[/font][font=宋体]数量[/font][font=Times New Roman]
Remote[/font][font=宋体]机上的工作目录[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]Remote[/font][font=宋体]计算机名[/font][font=Times New Roman]
Remote[/font][font=宋体]机上的[/font][font=Times New Roman]CPU[/font][font=宋体]数量[/font][font=Times New Roman]
Remote[/font][font=宋体]机上的工作目录[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]……[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[size=3][color=#000000][font=宋体]对于本例,填入[/font][font=Times New Roman]: [/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[size=3][color=#000000][font=Times New Roman]
Computer1
1[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
Computer2
2
e:\work2[/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]
Computer3
3
f:\work3[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000] [/color][/size][/font]
[size=3][color=#000000][font=Times New Roman]9[/font][font=宋体]、在[/font][font=Times New Roman]Mentat[/font][font=宋体]或[/font][font=Times New Roman]Patran[/font][font=宋体]中,分好[/font][font=Times New Roman]domains[/font][font=宋体],选择该[/font][font=Times New Roman]host[/font][font=宋体]文件即可进行并行计算[/font][/color][/size] 谢谢楼主分享。
非常感谢版主的无私奉献!
非常感谢版主的无私奉献! 请问斑竹,marc软件支持AMD吗?我单位有一台HP工作站,CPU是ADM的,Windows XP /64 bit ,想用marc,但装不上,不知何因?请高手支招,急!急!急!回复 #4 chenxianglinyh 的帖子
支持AMD不知你装的是什么版本?以前的版本好像不支持Windows XP64
MARC2005R3支持Windows XP64的。但在安装过程中,选fortran编译器的时候需要选最后一个编译器。 我装的是marc2005版for xindows 2000或XP的,都装不上,急死了,帮帮忙,看看有什么办法,不然没法向领导交代呀。 请问[url=http://www.simwe.com/forum/space-uid-72521.html]firmwave[/url] 斑竹,marc2005版是否有专门针对某种cpu或某个操作系统的版本呀 请问那里有r3版的呀
回复 #8 chenxianglinyh 的帖子
对于不同的操作系统和CPU,MARC都提供了相应的版本. 非常感谢无私的分享!回复 #10 xzxz999 的帖子
谢谢版主! 请问版主,我的工作站是sun blade 2000,操作系统是solaris8.0 ,请问要怎么安装marc,安装什么版本?谢谢 请问楼主,一个机子双核的应该怎么办呢? 请问楼主,一个机子双核的应该怎么办呢? lz能不能回答一下楼上的问题啊!!谢谢!! 天哪,还有这么好的人:'( 讲解的真详细,谢谢搂住
不过我想问host和remot在哪儿设置阿 能不能讲解一下双核机器怎么办呢?谢谢! 版主无私风险,赞! 谢谢啊!好资料
关于“确保三台电脑能够连通,该连通主要指的是能够相互读写文件的疑惑”!
您好!非常感谢你的分享,这对我有了一定性的启发。不过,对于“确保三台电脑能够连通,该连通主要指的是能够相互读写文件”这句话,我存有疑惑。假设三台电脑同时用marc进行计算,分别生成A、B、C三个文件,那么我的疑惑是:
1、A文件能够作为B文件的输入条件或边界条件吗?
2、A文件能够同时作为作为B、C文件的输入条件或边界条件吗?
3、能够实现A文件限制B文件,同时,B文件又限制A文件吗?
我是初学marc,可能问的问题很幼稚,请不要见怪!期待您的回答!
我的邮箱是:[email]mdj0218@163.com[/email],希望能够继续深刻探讨!
谢谢!
页:
[1]