User Tools

Site Tools


cluster:88

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cluster:88 [2010/08/11 17:32]
hmeij
cluster:88 [2010/08/11 17:44]
hmeij
Line 280: Line 280:
  
 Ok, so now we need write a script to submit a parallel job.  A parallel job is submitted with command 'mpirun' However that command needs to know which hosts are allocated to the job.  That is done with a wrapper script located in /usr/bin/openmpi-mpirun. Ok, so now we need write a script to submit a parallel job.  A parallel job is submitted with command 'mpirun' However that command needs to know which hosts are allocated to the job.  That is done with a wrapper script located in /usr/bin/openmpi-mpirun.
 +
 +  * irun
  
 <code> <code>
 #!/bin/bash #!/bin/bash
 +
 +rm -f err out 
  
 #BSUB -e err #BSUB -e err
Line 296: Line 300:
 which mpirun which mpirun
  
-mpirun /opt/openmpi/gnu/examples/hello_c+/usr/bin/openmpi-mpirun /opt/openmpi/gnu/examples/hello_c
  
-mpirun /opt/openmpi/gnu/examples/ring_c+/usr/bin/openmpi-mpirun /opt/openmpi/gnu/examples/ring_c
  
 </code> </code>
cluster/88.txt ยท Last modified: 2010/08/17 19:56 by hmeij