<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 class="" 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 lang="FA" style="line-height:115%;font-family:'B Nazanin'">نصب پیش
نیازها و </span></b><b><span dir="LTR" style="line-height:115%">Labrary</span></b><span dir="RTL"></span><span dir="RTL"></span><b><span lang="FA" style="line-height:115%;font-family:'B Nazanin'"><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 class="" 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 lang="FA" style="line-height:115%">آپدیت </span><span dir="LTR" style="line-height:115%">rpm</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> :</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 class="" 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 lang="FA" style="line-height:115%">در صورت نیاز آپدیت کل سیستم و برنامه های آن با آپدیت
منیجر فدورا انجام می دهیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 lang="FA" style="line-height:115%">آپدیت و نصب </span><span dir="LTR" style="line-height:115%">gcc</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> با دستور:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 class="" 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 lang="FA" style="line-height:115%">آپدیت </span><span dir="LTR" style="line-height:115%">gfortran</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span>
:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 class="" 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 lang="FA" style="line-height:115%">آپدیت </span><span dir="LTR" style="line-height:115%">lapack</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> :</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 class="" 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 lang="FA" style="line-height:115%">آپدیت </span><span dir="LTR" style="line-height:115%">fftw</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> :</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 class="" 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 lang="FA" style="line-height:115%">در صورت نیاز آپدیت </span><span dir="LTR" style="line-height:115%">blas</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span>
:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 class="" 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 lang="FA" style="line-height:115%">نصب </span></b><b><span dir="LTR" style="line-height:115%">OPEN
MPI</span></b><span dir="RTL"></span><span dir="RTL"></span><b><span lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span>
ها :</span></b><b><span dir="LTR" style="line-height:115%"></span></b></font></p>
<p class="" 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 lang="FA" style="line-height:115%">دانلود فایل </span><span dir="LTR" style="line-height:115%">mpich.x.y.tar.gz</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span>
از اینترنت.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 lang="FA" style="line-height:115%">ساختن فولدر </span><span dir="LTR" style="line-height:115%">pmi</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> و بردن فایل دانلود شده در آنجا</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 lang="FA" style="line-height:115%">فایل دانلود شده را از حالت فشرده خارج کنیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 lang="FA" style="line-height:115%">از ترمینال وارد فولدری که از حالت فشرده خارج شده می
شویم و سپس دستورات زیر را اجرا می کنیم:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 class="" style="margin-right:0cm;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">Mpich-install</font></span></p>
<p class="" dir="RTL" style="margin-right:90pt;text-align:justify"><span lang="FA" style="line-height:115%"><font face="times new roman, serif">دستورات بعدی:</font></span></p>
<p class="" 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 class="" 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 class="" 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 class="" 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 class="" 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 lang="FA" style="line-height:115%">پس از اتمام مراحل بالا، در </span><span dir="LTR" style="line-height:115%">home</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> را انتخاب می کنیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" 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 lang="FA" style="line-height:115%">فایل </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 lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> می نویسیم:</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" style="margin-right:0cm;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif">For bash:</font></span></p>
<p class="" dir="RTL" style="margin-right:90pt"><font face="times new roman, serif"><span lang="FA" style="line-height:115%"> </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 lang="FA" style="line-height:115%">در فولدر </span><span dir="LTR" style="line-height:115%">mpich-install</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> </span></font></p>
<p class="" 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 lang="FA" dir="RTL" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> خط بالا</span></font></p>
<p class="" style="margin:0cm 0cm 10pt 90pt;direction:ltr"><span style="line-height:115%"><font face="times new roman, serif"> </font></span></p>
<p class="" dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span lang="FA" style="line-height:115%">گزینه </span><span dir="LTR" style="line-height:115%">Save</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> می کنیم.)</span></font></p>
<p class="" 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 lang="FA" style="line-height:115%">برای اطمینان از نصب، در ترمینال گزینه </span><span dir="LTR" style="line-height:115%">mpir</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><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 lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span> را می زنیم.</span><span dir="LTR" style="line-height:115%"></span></font></p>
<p class="" dir="RTL" style="margin-right:90pt;text-align:justify"><font face="times new roman, serif"><span lang="FA" style="line-height:115%">اگر </span><span dir="LTR" style="line-height:115%">mpirun</span><span dir="RTL"></span><span dir="RTL"></span><span lang="FA" style="line-height:115%"><span dir="RTL"></span><span dir="RTL"></span>
ظاهر شد نصب کامل است.</span></font></p></div></div>