<div dir="ltr"><div><div><div><div><div><div><div><font size="4">Dear Keshtkar<br>salam<br></font></div><font size="4">besyar tashakor mikonam<br><br></font></div><font size="4">tebghe goftehaye shoma amal kardam va espresso bedone moshkel run shod.<br>
</font></div><div><font size="4">ozrkhahi mikonam k soale digeie miporsam,<br><br></font></div><font size="4">man 1 server va 3 client dar ekhtiar daram, in marahel bayad roye hame systemha anjam beshe?<br></font></div><font size="4">chetori bayad bevasile mpi barname ro run konam ta az client ha estefade beshe?<br>
</font></div><div><font size="4"><font size="4">ejraye "ssh" ha<font size="4">m niaz hast?</font></font> <br></font></div><font size="4">vaghti dastore "module load <font size="4">openmpi</font>" ro tebghe anche search kardam ejra mikonam, <br>
</font></div><font size="4">minevise: module command not found.<br><br></font></div><font size="4"><font size="4">ba sepa<font size="4">as</font></font><br></font></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/12/2 A Keshtkar <span dir="ltr"><<a href="mailto:keshtkar.physics@gmail.com" target="_blank">keshtkar.physics@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><font size="4">salam</font><div><font size="4">marahele zir ra daghighan anjam bedhaid, badesh espresso ra hamantor k dar helpash amadeh nasb konid</font></div><div><p dir="RTL" style="text-align:justify">
<b><span style="line-height:115%;font-family:Symbol"><font size="4">·</font><span style="font-size:7pt;font-weight:normal;line-height:normal;font-family:'Times New Roman'"> </span><span style="font-weight:normal;line-height:normal;font-family:'Times New Roman'">
</span></span></b><span dir="RTL"></span><b><span style="line-height:115%;font-family:'B Nazanin'" lang="FA">نصب پیش
نیازها و </span></b><b><span dir="LTR" style="line-height:115%">Labrary</span></b><span dir="RTL"></span><span dir="RTL"></span><b><span style="line-height:115%;font-family:'B Nazanin'" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> :</span></b><b><span dir="LTR" style="font-size:14pt;line-height:115%"></span></b></p>
<p dir="RTL" style="margin-right:72pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">1.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">آپدیت </span><span dir="LTR" style="line-height:115%">rpm</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> :</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin:0cm 0cm 10pt 72pt;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">su –c"yum updote rpm"</font></span></p>
<p dir="RTL" style="margin-right:72pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">2.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">در صورت نیاز آپدیت کل سیستم و برنامه های آن با آپدیت
منیجر فدورا انجام می دهیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p dir="RTL" style="margin-right:72pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">3.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">آپدیت و نصب </span><span dir="LTR" style="line-height:115%">gcc</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
و </span><span dir="LTR" style="line-height:115%">c++</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> با دستور:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin:0cm 0cm 10pt 72pt;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">su –c"yum install gcc-c++"</font></span></p>
<p dir="RTL" style="margin-right:72pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">4.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">آپدیت </span><span dir="LTR" style="line-height:115%">gfortran</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin:0cm 0cm 10pt 72pt;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">su –c"yum install
gcc-gfortran"</font></span></p>
<p dir="RTL" style="margin-right:72pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">5.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">آپدیت </span><span dir="LTR" style="line-height:115%">lapack</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> :</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin:0cm 0cm 10pt 72pt;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">su –c"yum install
lapack-devel"</font></span></p>
<p dir="RTL" style="margin-right:72pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">6.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">آپدیت </span><span dir="LTR" style="line-height:115%">fftw</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> :</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin:0cm 0cm 10pt 72pt;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">su –c"yum install fftw-devel"</font></span></p>
<p dir="RTL" style="margin-right:72pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">7.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">در صورت نیاز آپدیت </span><span dir="LTR" style="line-height:115%">blas</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin:0cm 0cm 10pt 72pt;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">su –c"yum install blas-devel"</font></span></p>
<p dir="RTL" style="text-align:justify"><font face="times new roman, serif"><b><span style="line-height:115%">·<span style="font-weight:normal;line-height:normal">
</span></span></b><span dir="RTL"></span><b><span style="line-height:115%" lang="FA">نصب </span></b><b><span dir="LTR" style="line-height:115%">OPEN
MPI</span></b><span dir="RTL"></span><span dir="RTL"></span><b><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> برای موازی کردن هسته </span></b><b><span dir="LTR" style="line-height:115%">CPU</span></b><span dir="RTL"></span><span dir="RTL"></span><b><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
ها :</span></b><b><span dir="LTR" style="line-height:115%"></span></b></font></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">1.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">دانلود فایل </span><span dir="LTR" style="line-height:115%">mpich.x.y.tar.gz</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
از اینترنت.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">2.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">ساختن فولدر </span><span dir="LTR" style="line-height:115%">pmi</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
در </span><span dir="LTR" style="line-height:115%">home</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> و بردن فایل دانلود شده در آنجا</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">3.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">فایل دانلود شده را از حالت فشرده خارج کنیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">4.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">از ترمینال وارد فولدری که از حالت فشرده خارج شده می
شویم و سپس دستورات زیر را اجرا می کنیم:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin-right:0cm;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">./configure
–prefix=/home/username/mpi/</font></span></p>
<p style="margin-right:0cm;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">Mpich-install</font></span></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><span style="line-height:115%" lang="FA"><font face="times new roman, serif">دستورات بعدی:</font></span></p>
<p style="margin-right:0cm;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">Make all</font></span></p>
<p style="margin-right:0cm;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">Make </font></span></p>
<p style="margin-right:0cm;text-align:justify;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">Make install</font></span></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><span dir="LTR" style="line-height:115%"><font face="times new roman, serif"> </font></span></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">5.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">پس از اتمام مراحل بالا، در </span><span dir="LTR" style="line-height:115%">home</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
از منوی </span><span dir="LTR" style="line-height:115%">view</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> گزینه </span><span dir="LTR" style="line-height:115%">show
hidden file</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> را انتخاب می کنیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">6.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">فایل </span><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR" style="line-height:115%"><span dir="LTR"></span><span dir="LTR"></span>.bashrc</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> را پیدا و
باز می کنیم و دستور زیر را بین </span><span dir="LTR" style="line-height:115%">fi</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> و </span><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR" style="line-height:115%"><span dir="LTR"></span><span dir="LTR"></span>#user sp….</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> می نویسیم:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p style="margin-right:0cm;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">For bash:</font></span></p>
<p dir="RTL" style="margin-right:90pt"><font face="times new roman, serif"><span style="line-height:115%" lang="FA"> </span><span dir="LTR"></span><span dir="LTR"></span><span dir="LTR" style="line-height:115%"><span dir="LTR"></span><span dir="LTR"></span>:$PATH</span><span style="line-height:115%" lang="FA">در فولدر </span><span dir="LTR" style="line-height:115%">mpich-install</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>،
فولدر </span><span dir="LTR" style="line-height:115%">bin</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> را کپی می کنیم </span><span dir="LTR" style="line-height:115%">PATH=</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> </span></font></p>
<p style="margin:0cm 0cm 10pt 90pt;text-align:justify;direction:ltr"><font face="times new roman, serif"><span style="line-height:115%">For bash&sh: ; export PATH</span><span dir="RTL"></span><span dir="RTL"></span><span dir="RTL" style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> خط بالا</span></font></p>
<p style="margin:0cm 0cm 10pt 90pt;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif"> </font></span></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%" lang="FA">گزینه </span><span dir="LTR" style="line-height:115%">Save</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
را می زنیم (از منو فایل، </span><span dir="LTR" style="line-height:115%">Save</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> می کنیم.)</span></font></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%">7.<span style="line-height:normal"> </span></span><span dir="RTL"></span><span style="line-height:115%" lang="FA">برای اطمینان از نصب، در ترمینال گزینه </span><span dir="LTR" style="line-height:115%">mpir</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
را تایپ کرده و </span><span dir="LTR" style="line-height:115%">tab</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span> را می زنیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span style="line-height:115%" lang="FA">اگر </span><span dir="LTR" style="line-height:115%">mpirun</span><span dir="RTL"></span><span dir="RTL"></span><span style="line-height:115%" lang="FA"><span dir="RTL"></span><span dir="RTL"></span>
ظاهر شد نصب کامل است.</span></font></p></div></div>
<br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Khadije Khalili</div><div>Ph.D Student of Solid-State Physics</div>
<div>Department of Physics</div><div>University of Mazandaran</div><div>Babolsar, Iran</div><div><a href="mailto:kh.khalili@stu.umz.ac.ir" target="_blank">kh.khalili@stu.umz.ac.ir</a></div><div> </div></div>
</div>