This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cluster:88 [2010/08/11 15:42] hmeij |
cluster:88 [2010/08/11 17:32] hmeij |
||
---|---|---|---|
Line 264: | Line 264: | ||
===== Step 6 ===== | ===== Step 6 ===== | ||
- | More fun. Parallel jobs can be submitted over ethernet interconnects but will not achieve the performance of Infiniband interconnects ofcourse. | + | More fun. Parallel jobs can be submitted over ethernet interconnects but will not achieve the performance of Infiniband interconnects ofcourse. |
* yum install libibverbs; pdsh yum install libibverbs -q -y | * yum install libibverbs; pdsh yum install libibverbs -q -y | ||
Line 272: | Line 272: | ||
* download tarball, stage in / | * download tarball, stage in / | ||
- | * cd /opt; tar zxvf / | + | * cd /opt; tar zxvf / |
* examples in / | * examples in / | ||
* export PATH=/ | * export PATH=/ | ||
* export LD_LIBRARY_PATH=/ | * export LD_LIBRARY_PATH=/ | ||
* cd / | * cd / | ||
- | * ./ring.c; ./hello.c (to test) | + | * ./ring.c; ./hello.c (to test, it'll complain about no HCA card) |
+ | |||
+ | Ok, so now we need write a script to submit a parallel job. A parallel job is submitted with command ' | ||
+ | |||
+ | < | ||
+ | # | ||
+ | |||
+ | #BSUB -e err | ||
+ | #BSUB -o out | ||
+ | #BSUB -n 4 | ||
+ | #BSUB -q normal | ||
+ | #BSUB -J ptest | ||
+ | |||
+ | export PATH=/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | |||
+ | echo "make sure we have the right mpirun" | ||
+ | which mpirun | ||
+ | |||
+ | mpirun / | ||
+ | |||
+ | mpirun / | ||
+ | |||
+ | </ | ||