RockCluster: Submit Job: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
No edit summary
Onnowpurbo (talk | contribs)
No edit summary
Line 16: Line 16:
lakukan
lakukan


cd ~
  tar xzf tachyon-0.99b2.tar.gz
  tar xzf tachyon-0.99b2.tar.gz
  cd tachyon/unix
  cd tachyon/unix
Line 29: Line 30:
* Ubah di new entry linux-lam ke linux-mpich
* Ubah di new entry linux-lam ke linux-mpich
* Ubah "CC = hcc" ke "CC = gcc"
* Ubah "CC = hcc" ke "CC = gcc"
* Ubah -I$(LAMHOME)/h ke -I/opt/mpich/gnu/include
* Ubah -I$(LAMHOME)/h ke -I/opt/mpich2/gnu/include
* Ubah -L$(LAMHOME)/lib ke -L/opt/mpich/gnu/lib
* Ubah -L$(LAMHOME)/lib ke -L/opt/mpich2/gnu/lib
* Ubah -lmpi to -lmpich
* Ubah -lmpi to -lmpich
* Save
* Save
Line 36: Line 37:
Jalankan
Jalankan


cd ~
cd tachyon/unix
  make linux-mpich
  make linux-mpich



Revision as of 03:24, 30 July 2011

Submit Job Menggunaan mpirun

Ambil source code tachyon dari

Copy ke front end rockcluster

scp tachyon-0.99b2.tar.gz root@192.168.0.120:

Masuk ke front end rockcluster

ssh root@192.168.0.120

lakukan

cd ~
tar xzf tachyon-0.99b2.tar.gz
cd tachyon/unix

Buka

vi Make-arch

Lakukan

  • Cari config option untuk "linux-lam"
  • Copy set option ini ke entry baru.
  • Ubah di new entry linux-lam ke linux-mpich
  • Ubah "CC = hcc" ke "CC = gcc"
  • Ubah -I$(LAMHOME)/h ke -I/opt/mpich2/gnu/include
  • Ubah -L$(LAMHOME)/lib ke -L/opt/mpich2/gnu/lib
  • Ubah -lmpi to -lmpich
  • Save

Jalankan

cd ~
cd tachyon/unix
make linux-mpich

tachyon binary akan tampak di compile/linux-mpich/.

cd ~
vi machines

isi dengan misalnya

compute-0-0
compute-0-1
compute-0-2

Jalankan Tachyon di tiga (3) slave machine dengan perintah

/opt/mpich/gnu/bin/mpirun -v -np 3 -machinefile machines \
    tachyon/compile/linux-mpich/tachyon +V tachyon/scenes/balls.dat

Submit Job Menggunakan qsub

Referensi

Pranala Menarik