Difference between revisions of "RockCluster: Submit Job"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
| Line 6: | Line 6: | ||
* http://www.photonlimited.com/~johns/tachyon/files/0.99b2/ | * http://www.photonlimited.com/~johns/tachyon/files/0.99b2/ | ||
| − | + | 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 | ||
| + | |||
| + | 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/mpich/gnu/include | ||
| + | * Ubah -L$(LAMHOME)/lib ke -L/opt/mpich/gnu/lib | ||
| + | * Ubah -lmpi to -lmpich | ||
| + | * Save | ||
| − | + | Jalankan | |
| − | + | 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== | ==Submit Job Menggunakan qsub== | ||
Revision as of 10:17, 30 July 2011
Submit Job Menggunaan mpirun
Ambil source code tachyon dari
- http://www.photonlimited.com/~johns/tachyon/
- http://www.photonlimited.com/~johns/tachyon/files/0.99b2/
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
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/mpich/gnu/include
- Ubah -L$(LAMHOME)/lib ke -L/opt/mpich/gnu/lib
- Ubah -lmpi to -lmpich
- Save
Jalankan
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
- http://www.ks.uiuc.edu/Training/Workshop/Cluster/files/using_rocks.html
- http://www.ks.uiuc.edu/Research/namd/
- https://wiki.rocksclusters.org/wiki/index.php/Make_your_frontend_run_queued_jobs
- https://wiki.rocksclusters.org/wiki/index.php/Run_commands_on_the_cluster_from_DOS/Windows_Command_Prompt