APLIKASI SISTEM PARALEL MENGGUNAKAN PROSESOR HOST 486 BERBASIS LINUX DEBIAN (APPLICATION OF PARALLEL SYSTEM USING HOST PROCESSOR 486 BASED ON DEBIAN) TUGAS AKHIR Diajukan sebagai syarat untuk memperoleh gelar Sarjana Teknik Di Jurusan Teknik Elektro Sekolah Tinggi Teknologi Telkom Disusun Oleh : BAGUS IRAWAN AJINAGORO 111000136 JURUSAN TEKNIK ELEKTRO SEKOLAH TINGGI TEKNOLOGI TELKOM BANDUNG 2005
71
Embed
APLIKASI SISTEM PARALEL MENGGUNAKAN PROSESOR …parallel prosessing have a faster on execution time. Because of it, the thesis is made to prove if the performance of parallel programing
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
APLIKASI SISTEM PARALEL MENGGUNAKAN
PROSESOR HOST 486 BERBASIS LINUX DEBIAN
(APPLICATION OF PARALLEL SYSTEM USING HOST PROCESSOR 486 BASED ON
DEBIAN)
TUGAS AKHIR
Diajukan sebagai syarat untuk memperoleh gelar Sarjana Teknik
Di Jurusan Teknik Elektro Sekolah Tinggi Teknologi Telkom
Disusun Oleh :
BAGUS IRAWAN AJINAGORO
111000136
JURUSAN TEKNIK ELEKTRO
SEKOLAH TINGGI TEKNOLOGI TELKOM
BANDUNG
2005
ABSTRAKSI
Sistem paralel menggunakan prosesor 486/33MHz ini dibuat sebagai
salah satu solusi pembelajaran optimalisasi pemrograman paralel yang hemat
biaya. Sistem ini dibuat diskless agar mempermudah dalam proses penambahan
node clientnya, dikarenakan penyetingan tambahan hanya dilakukan pada node
server saja. Selain itu dengan pemrograman paralel kita dapat mengetahui lebih
jelas kinerja dari prosesor yang sedang menjalankan suatu proses, baik itu proses
sekuensial maupun proses paralel.
Seperti kita ketahui bahwa pemrograman paralel dibuat untuk
meningkatkan kinerja pemrosesan. Dibandingkan dengan satu prosesor
seharusnya kinerja paralel prosesor memiliki waktu eksekusi yang lebih cepat.
Karena itu tugas akhir ini untuk membuktikan apakah pemrograman paralel
dengan prosesor 486/33MHz juga akan mempercepat kinerja pemrograman atau
malah memperlambatnya.
Dengan sistem ini diharapkan dapat memberdayakan kembali komputer-
komputer lama yang sudah tidak terpakai lagi, menjadi sebuah komputer yang
berguna untuk mempelajari pemrograman paralel. Khususnya untuk
pembelajaran optimalisasi pemrograman paralel.
ABSTRACT
Parallel system using 486/33MHz processor is build for one way of
learning optimalization parallel programing with a low cost budget. This system
is diskless in purpose to easier the adding of the client node process, besause the
setting is being done only on the server node. Beside of it, with parallel
programing we can know clearly the performance of a processor running a
process, on the sequential or the parallel process.
We all know that the parallel programing is build to increase the
performance of processing. Compare with the work of one processor, the work of
parallel prosessing have a faster on execution time. Because of it, the thesis is
made to prove if the performance of parallel programing using 486/33MHz
processor, is faster or even slower the work of programing.
With this system, we hope to rebuild the olds computers that isn t being
used anymore, to be a usefull computer to learn about parallel programing.
Specially for learning the optimalization of parallel programing.
# If FAI_DEBMIRROR is defined, install clients mount it to $MNTPOINT #FAI_DEBMIRROR=$mirrorhost:/files/scratch/debmirror
=> Hilangkan Tanda # pada FAI_DEBMIRROR bila ingin mengambil paket-
paket Debian via NFS
# if your install server has multiple ethernet device, use this one to # determine its hostname. Default eth0. Set to the interface to which # the Beowulf clients are connected.
SERVERINTERFACE=eth0 =>Tuliskan nama ethernet yang terhubung ke jaringan
dimana diskless client berada.
# LOGUSER: an account on the install server which saves all log-files # and which can change the kernel that is booted via # network. Configure .rhosts for this account and PAM, so that root can # log in from all install clients without password. This account # should have write permissions for /boot/fai. For example, you can use # write permissions for the group linuxadm. chgrp linuxadm # /boot/fai;chmod g+w /boot/fai. If the variable is undefined, this # feature is disabled
LOGUSER=fai =>Nama user yang mempunyai ijin untuk masuk ke dalam diskless client
# use ssh or rsh for copying log files to user fai and for changing # tftp symbolic link FAI_REMOTESH=rsh
FAI_REMOTECP=rcp
=> Pemilihan proses untuk masuk ke dalam root diskless client bisa juga
menggunakan ssh dan scp
# set protocol type for saving logs, default is rcp/scp. Set to ftp if desired. FAI_LOGPROTO= # Name of log-server. If undefined, the install server will be used. LOGSERVER= # writable directory on remote server, when using FTP protocol LOGREMOTEDIR="upload" # password for login to log server, when using FTP protocol LOGPASSWD=
# the configuration space on the install server FAI_CONFIGDIR=/usr/local/share/fai
=> Tempat dimana apabila ingin menambah script-script baru untuk
konfigurasi penginstalan debian melalui FAI ke client-client
(tidak digunakan oleh saya)
# the location of the config space, as seen by the install client # it can also be overwritten with T170 via BOOTP FAI_LOCATION=$installserver:$FAI_CONFIGDIR
# the following variables are read only for most users
# mount point where the mirror will be mounted MNTPOINT=/mnt2
# directory on the install server where the nfsroot for FAI is # created, approx size: 160MB, also defined in bootptab or dhcp.conf NFSROOT=/usr/lib/fai/nfsroot
=> Tempat dimana virtual root i386 akan dibuat, yang akan di mount oleh
client
# the local configuration directory on the install client FAI=/fai
# the type of operating system (linux, sunos) OS_TYPE=`uname -s | tr /A-Z/ /a-z/`
Setelah pengeditan, untuk keluar lalu save tekan ctrl+x lalu ketik Y dan Enter
2. Edit make-fai-nfsroot :
# pico make-fai-nfsroot
Tampilan isi dari make-fai-nfsroot sbb: # these variables are only used by make-fai-nfsroot(8) # here you can use also variables defined in fai.conf (like $mirrorhost)
# Add a line for mirrorhost and installserver when DNS is not available # on the clients. This line(s) will be added to $nfsroot/etc/hosts. NFSROOT_ETC_HOSTS="10.0.0.254 lipi00"
=>yang akan diisi di /etc/hosts nya client di folder ../nfsroot untuk authetifikasi
bahwa lipi00 dengan ip 10.0.0.254 merupakan host client tsb.
FAI_DEBOOTSTRAP="sarge http://lipi00/debian"
=>Apabila ingin mengambil paket via http local jaringan (lebih stabil,
=> hilangkan tanda # apabila tadi memilih memakai FAI_DEBMIRROR
# your extra packages which will be installed into the nfsroot, space separated NFSROOT_PACKAGES="expect"
# this local repository holds your local packages that can be installed to # the install clients. Don't forget to create the index file Packages.gz! FAI_LOCAL_REPOSITORY="deb file:/fai/files packages/"
=> Tempat dimana apabila ada paket tambahan yang ingin di install tetapi tidak
terdapat pada local debian mirror
# the encrypted root password on all install clients during # installation process; used when log in via ssh; pw is: fai FAI_ROOTPW="56hNVqht51tzc"
=>Default untuk mengaktifkan semua root client menggunakan password fai
# this kernel package will be used when booting the install clients KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.4.27-
fai_1_i386.deb
=>Kernel paket, tergantung dari kernel apa yang di gunakan saat ini di linux
# location of a identity.pub file; this user can log to the install # clients in as root without a password; only useful with FAI_FLAGS="sshd"
=>Salah satu command saat booting floppy untuk mengaktifkan sshd (ssh
daemon) agar dapat mengirim data ke root client / server yang lain
#SSH_IDENTITY=/home/admin/.ssh/identity.pub
=>hilangkan tanda # apabila ingin log in ke client tanpa password
# which of DHCP and/or BOOTP should the server create setups for. # Default are to create setups for both FAI_BOOT="bootp"
=> Pemilihan setingan untuk inisialisasi jaringan diskless via floppy boot
# export $NFSROOT to this netgroup or this range of IP addresses # (eg. FAICLIENTS="192.168.1.0/24") FAICLIENTS="10.0.0.0/255.255.255.0"
=> mengeksport../nfsroot/ ke setiap netgroup atau client yang terseting diatas
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # following lines should be read only for you when you are using fai on i386
nfssize="250MB" # size of the nfsroot. Only informational purpose
# FAI needs these packages that are install into the nfsroot packages="module-init-tools dhcp-client ssh file rdate hwinfo portmap bootpc rsync wget rsh-client less dump reiserfsprogs usbutils ext2resize hdparm smartmontools parted raidtools2 lvm2 dnsutils ntpdate dosfstools cfengine cvs jove xfsprogs xfsdump sysutils dialog discover mdetect libnet-perl netcat libapt-pkg-perl"
=>Instal paket yang bisa di tambah untuk diinstall di nfsroot untuk client
diskless. Tambahlah paket sesuai kebutuhan.
Untuk menjalankan MPI diperlukan NFS di client agar bisa mensharing Data
mpi yang telah terinstall, dan juga dibutuhkan ssh, rsh.
Di masukkan di dalam kutip; Contohnya :
3. Edit source.list:
# pico source.list
Tampilan Dalamnya sbb:
# These lines should work in some way # A more comprehensive example can be found in /usr/share/doc/fai/examples/etc deb http://lipi00/debian sarge main contrib #deb http://ftp.de.debian.org/debian sarge-proposed-updates main contrib non-free
main contrib non-free #deb http://ftp.de.debian.org/debian-non-US sarge-proposed-updates/non-US main contrib non-free #deb http://security.debian.org/debian-security sarge/updates main contrib non-free # nfs access (mirror created by mkdebmirror) # don't forget to set FAI_DEBMIRROR and MNTPOINT in fai.conf
5. Debian mirror siap digunakan (tinggal taruh pada web
install apache2
atau menggunakan NFS)
3. Instalasi NFS NFS atau Network File System sebenarnya berguna untuk mensharing folder adar bisa dipakkai di komputer lain atau tempat lain yang terkoneksi oleh jaringan.
Cara mensetingnya adalah :
Install NFS Kernel Server
# apt-get install nfs-kernel-server
Edit pada bagian export apa yang ingin di edit
# pico /etc/exports
tampilannya :
# /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). /usr/local/src
.failocal:\ :tc=.faiglobal:\ :sa=lipi00:\ =>Boot server address :ts=lipi00:\ =>time server :T172="sshd verbose createvt":\ => task untuk bootfloppy :sm=255.255.255.0:\ => subnet mask :gw=10.0.0.254:\ => dateway addres :dn=clusterlipi:\ =>domain name :ds=10.0.0.254:\ =>list dari nameserver :ys=lipi00:yd=clusterlipi:\ => NIS Server dan NIS Domain :nt=lipi00: =>list dari NTP server # ys,yd,nt opsi tambahan saja # install clientnya lipi00:ha=0x00085407D333:bf=lipi00:tc=.failocal:T172="verbose createvt sshd debug": lipi01:ha=0x0000C0F10399:bf=lipi01:tc=.failocal:T171="sysinfo":T172="sshd": ha = hardware address bf = bootfile T171 = FAI_ACTION => tidak digunakan (kareena hanya memamfaatkan diskless) T172 = FAI_FLAGS cth verbose, debug, reboot, sshd (sshd untuk mengaktifkan ssh)
Untuk mengaktifkannya, edit di inet.d
# pico /etc/inetd.conf
hilangkan tanda # pada bootp
#:BOOT: Tftp service is provided primarily for booting. Most sites # run this only on machines acting as "boot servers." bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120
apabila ingin melihat apakah semua yang di edit benar apa tidak dengan cara
mengetik perintah ini :
# bootpd d7
untuk merestart bootp dengan cara :
# /etc/init,d/inetd restart
5. Instalasi Boot Floppy
Kelebihan FAI dari diskless lainnya adalah pembuatan floppynya, FAI tidak perlu mencari secara detail mengenai tipe ethernet-cardnya hampir semua jenis tipe ethernetcardnya. Pemilihan FAI khususnya dikarenakan hal ini, karena pembuatan disknya mendukung ethernet dengan slot isa.
Cara membuatnya :
default
# make-fai-bootfloppy
=> merupakan default, dari sini maka default light grub akan meenuju ke bootp,
dan
tapi apabila ingin menambahnya sendiri, bisa menambahnya dengan :
# make-fai-bootfloppy db F FAI_FLAGS=sshd
untuk keterangan lebih lanjut, bisa melihat manual page make-fai-bootfloppy
# man make-fai-bootfloppy
LAMPIRAN C
KONFIGURASI SISTEM PARALEL
1. Instalasi MPICH
Langkah pertama dalam penginstalan MPICH adalah mendownload software
-arch => mesin yang akan di jalankan yang berisi host-host (defaultnya
machine.LINUX)
-np => jumlah prosesor untuk menjalankannya : n-1 (karena 1 nya otomatis
server process 0)
contoh hasil keluarannya adalah seperti :
lipi00:/usr/local/src/mpich/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 4 cpi Password: Password: Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 3 on lipi03.clusterlipi Process 2 on lipi02.clusterlipi pi is approximately 3.1416009869231245, Error is 0.0000083333333314 wall clock time = 0.147007
Untuk menginstall MPI di client :
Pada saat setup FAI, sebelumnya harus menambah paket-paket yang diperlukan
di dalam make-fai-nfsroot seperti nfs-common nfs-kernel-server rsh-server,
gunanya adalah saat menjalankan perintah mpirun pada server, mereka meminta
akses folder MPI milik client, karena kliennya tidak diinstal MPI, jadi saya
berpikir untuk memountkannya dari server dan dengan menginstal nfs-kernel-
server, berarti dapat menseting NFS pada client agar dapat diakses kembali oleh
server untuk proses menjalankan MPI
Langkah-langkah pensetingan MPI ada di LAMPIRAN B.
Selain itu untuk setiap klien dapat mengenal masing-masing host client yang
lain, harus mengedit hostsnya juga :
:# pico /usr/lib/fai/nfsroot/etc/hosts
Pada server diskless tambahkan
10.0.0.254 lipi00 lipi00.clusterlipi
10.0.0.1 lipi01 lipi01.clusterlipi
10.0.0.2 lipi02 lipi02.clusterlipi
10.0.0.3 lipi03 lipi03.clusterlipi
.
.
.
edit seterusnya, nama host yang ada pada jaringan
Ini adalah proses minimal agar dapat menjalankan program MPI, untuk lebih
lengkap dan lebih detail dapat melihatnya pada alamat di halaman pertama
lampiran ini.
LAMPIRAN D
KONFIGURASI SISTEM PENDUKUNG
1. Instalasi Aphace2
Apache dalam sistem ini berguna untuk memberikan akses pada local debian mirror melalui web. Sangat berguna, dan untuk client lain yang ingin memakai local debian mirror tinggal mendownload saja dari web (koneksi melalui jaringan)
Langkahnya :
Install apache2 :
# apt-get install apache2
Seting apache2 di /etc/apache2/ sesuai kebutuhan
Huhbungkan link dari debian ke var/www ( space default dari apache)
# ln s /files/scratch/debmirror/debian /var/www/debian
jadi untuk mengaksesnya, melalui web server seperti Mozila atau konqueror,
dengan mengetik http://xxx/debian
xxx : untuk server sendiri bisa localhost
xxx : untuk client bisa nama host server atau nomor ip server penyedia local
debian mirror tersebut.
Jangan lupa menambahkannya di sourc.list, baik untuk pemakaian sendiri
ataupun untuk instalasi FAI:
# pico /etc/apt/source.list
# pico /etc/fai/source.list
tambahkan :
deb http://lipi00/debian sarge main contrib
dan lakukanlah update, agar paket da[at di masukkan kedalam list
# apt-get update
2. Instalasi NIS
NIS atau network information system sebenarnya untuk menyediakan layanan informasi jaringan, group, user, dsb. Ini sebenarnya hanya tambahan, tanpa NIS sudah dapat berjalan juga. Cara instalasinya adalah:
Instal NIS :
# apt-get install nis
masukkan nama nis domain name seesuai dengan keinginan (kalau saya sama
lipis lipi01 lipi02 lipi03 # used for script all_hosts allhosts lipi00 lipis clusterlipi lipis lipi00 homeclients clusterlipi
# this definition grants permission for every host # faiclients (,,) faiclients clusterlipi workstations
5. /etc/nsswitch.conf edit apabila belum ada nis akses di netgroup dan hosts
cth:
passwd: compat group: compat shadow: compat
hosts: files nis dns networks: files
protocols: db files services: db files ethers: db files rpc: db files
netgroup: nis
6. Menggenerate NIS (yp) database atau map, di server di jalankan perintah:
# /usr/lib/yp/ypinit m
# /var/yp; make atau # make C /var/yp
ini merupakan konfigurasi simple, untuk lebih jelas, lihat pada manual atau pada
doc di :
# man nis
# cd /usr/share/doc/nis/
]
2. Instalasi Gnuplot
Berguna untuk memplotkan hasil percobaan kedalam bentuk grafik, biasanya keluaran data psds *.mpl dan setingan grafik pada *.gpl
# apt-get install gnuplot
LAMPIRAN E
DATA HASIL PERCOBAAN
Data Hasil Keluaran Program cpi 1. Dengan menggunakan 1 node (sekuensial): Host: lipi00
lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi00 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi00.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.054129 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi00 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi00.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.054141 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi00 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi00.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.053601 lipi00:/usr/local/src/mpich-1.2.7/examples# Host: lipi01 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi01 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.089774 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi01 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.096962 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi01 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.108012 lipi00:/usr/local/src/mpich-1.2.7/examples# Host: lipi02 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi02 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi02.clusterlipi
pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.116487 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi02 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi02.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.112816 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi02 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi02.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.116504 lipi00:/usr/local/src/mpich-1.2.7/examples# Host: lipi03 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi03 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi03.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.109162 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi03 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi03.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.094810 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch lipi03 -np 2 cpi Password: Process 0 on lipi00.clusterlipi Process 1 on lipi03.clusterlipi pi is approximately 3.1416009869231241, Error is 0.0000083333333309 wall clock time = 0.116759 lipi00:/usr/local/src/mpich-1.2.7/examples# 2. Dengan menggunakan 2 node Host: lipi01,lipi02 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi02.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.135130
lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi02.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.131051 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi02.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.133580 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi02.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.134102 lipi00:/usr/local/src/mpich-1.2.7/examples# Host lipi02,lipi03 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi02.clusterlipi Process 2 on lipi03.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.135298 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 2 on lipi03.clusterlipi Process 1 on lipi02.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.134976 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi02.clusterlipi
Process 2 on lipi03.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.136904 lipi00:/usr/local/src/mpich-1.2.7/examples# Host lipi01,lipi03 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi03.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.135638 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi03.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.134096 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 3 cpi Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi03.clusterlipi pi is approximately 3.1416009869231249, Error is 0.0000083333333318 wall clock time = 0.129254 lipi00:/usr/local/src/mpich-1.2.7/examples# 3. Dengan menggunakan 3 node Host: lipi01,lipi02,lipi03 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 4 cpi Password: Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 3 on lipi03.clusterlipi Process 2 on lipi02.clusterlipi pi is approximately 3.1416009869231245, Error is 0.0000083333333314 wall clock time = 0.147007 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 4 cpi Password: Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi
Process 2 on lipi02.clusterlipi Process 3 on lipi03.clusterlipi pi is approximately 3.1416009869231245, Error is 0.0000083333333314 wall clock time = 0.147193 lipi00:/usr/local/src/mpich-1.2.7/examples# /usr/local/src/mpich-1.2.7/bin/mpirun -arch test -np 4 cpi Password: Password: Password: Process 0 on lipi00.clusterlipi Process 1 on lipi01.clusterlipi Process 2 on lipi02.clusterlipi Process 3 on lipi03.clusterlipi pi is approximately 3.1416009869231245, Error is 0.0000083333333314 wall clock time = 0.132384 lipi00:/usr/local/src/mpich-1.2.7/examples#
This document was created with Win2PDF available at http://www.daneprairie.com.The unregistered version of Win2PDF is for evaluation or non-commercial use only.