Yuav Tsim Tsa Li Cas Ua Ib Pawg

Cov txheej txheem:

Yuav Tsim Tsa Li Cas Ua Ib Pawg
Yuav Tsim Tsa Li Cas Ua Ib Pawg

Video: Yuav Tsim Tsa Li Cas Ua Ib Pawg

Video: Yuav Tsim Tsa Li Cas Ua Ib Pawg
Video: 5 hom hluas nkauj (tsis zoo yuav ua poj niam). 2024, Tej zaum
Anonim

Los ntawm txoj kev ntawm MPICH2 nws yog qhov tsim nyog los sib sau ua ke nrog txhua tus lej ntawm cov pawg sib txuam, tus naj npawb ntawm yuav nyob ntawm cov processors thiab cores hauv lawv. Lub tshuab ua haujlwm virtual yuav tsum tau siv raws li tus lej ntawm cov processors, yam tsis muaj lub zog ntau dua ib lub CPU rau txhua qhov.

Yuav tsim tsa li cas ua ib pawg
Yuav tsim tsa li cas ua ib pawg

Tsim nyog

  • - MPICH2;
  • - VirtualBox;
  • - MS Visual Studio;
  • - Windows XP SP3 OS cov khoom siv faib khoom.

Cov Lus Qhia

Kauj ruam 1

Nruab VirtualBox thiab ua lub tshuab virtual hu ua Node1. Thaum txhim kho Windows XP, sau Node1 ua lub computer lub npe thiab muab nws rau haujlwm Pab Pawg. Koj tuaj yeem nkag mus rau txhua tus username thiab password.

Kauj ruam 2

Mus rau cov yam ntxwv ntawm lub tshuab virtual thiab teeb tsa hom kev txuas mus rau "Network Choj". Rau Lub Npe, qhia kom meej lub network adapter ntawm lub computer txuas nrog lub network.

Kauj ruam 3

Pib Node1 thiab nruab rau MS Visual Studio daim ntawv thov, cov qauv ntawm uas yuav tsum yog tsawg kawg 2003. Nruab MPICH2. Txhawm rau ua kom muaj kev pabcuam hauv network nrog tus password samplepassword (tuaj yeem yog dab tsi) qhib lub console thiab nkag rau cov lus txib: cd C: Program FilesMPICH2 insmpd-install -phrase samplepassword

Kauj ruam 4

Txhawm rau rau MPICH2 daim ntawv thov kom muaj txoj cai los ua cov haujlwm ntawm lub tshuab virtual sawv cev rau koj tus neeg siv, sau cov lus txib: mpiexec.register. Tom qab nkag mus rau tus ID nkag mus thiab tus password, cov cai yuav raug ua haujlwm.

Kauj ruam 5

Hauv kev teeb tsa ntawm lub network adapter, sau lub chaw nyob zoo li tus IP chaw ntawm lub tshuab virtual, thiab tom qab ntawd txuas ntxiv mus rau cloning nws.

Kauj Ruam 6

Tsim lub tshuab virtual tshiab lub npe hu ua Node2, nco qab txog kev khij lub npov "Bootable hard drive" hauv cov txheej txheem. Tom qab ua tiav kev tsim lub tshuab, qhib "Media" tab nyob rau hauv nws lub zog thiab ntxiv hard disk siv "Xaiv disk" uas tau hais tseg.

Kauj Ruam 7

Nrhiav lub tshuab virtual disk Node1 ntawm C: Cov Neeg Siv Npe Npe VirtualBox VMsNode1Snapshots. Hauv daim nplaub tshev no, daim disk tshawb pom yuav yog cov ntawv kawg nrog.vdi txuas ntxiv los ntawm hnub tsim.

Kauj ruam 8

Disconnect Node 1 tshuab thiab pib Node2. Qhia Node2 rau lub koos pis tawj thiab muab qhov chaw nyob IP sib txawv.

Kauj Ruam 9

Tom qab ntawd, koj tuaj yeem tsim cov nodes ntxiv hauv koj lub khoos phis tawm. Nruab VirtualBox rau ntawm lub tshuab virtual tshiab thiab luam daim ntawv ntawm VirtualBox thiab VirtualBox VMs ntawm koj cov profile rau hauv nws. Tom qab ntawd, siv autocorrect los kho txhua txoj kev mus rau tus neeg siv daim ntawv qhia hauv VirtualBoxVirtualBox.xml-prev thiab VirtualBoxVirtualBox.xml cov ntaub ntawv ntawm lub tshuab tshiab.

Pom zoo: