| 1 | == Open MPI == |
| 2 | |
| 3 | OpenMPI is an implementation of the MPI (Message Passing Interface). It is used by some software for implementing parallel solutions. Examples include mpi versions of [Software/MrBayes MrBayes] and [Software/AmpliconNoise AmpliconNoise]. |
| 4 | |
| 5 | Generic instructions can be found on: http://www.openmpi.org/ |
| 6 | |
| 7 | === Mykopat Grid specifics === |
| 8 | |
| 9 | MPI enabled programs are launched through sge with a batch file similar to this one (modify for your specific software): |
| 10 | |
| 11 | {{{ |
| 12 | #!/bin/sh |
| 13 | |
| 14 | # Batch file for launching mpi tasks. Submit tasks with: qsub <name of this file> |
| 15 | |
| 16 | # Transfer current environment to job |
| 17 | #$ -V |
| 18 | |
| 19 | # Ask for 4 parallel slots (currently at most 8) |
| 20 | #$ -pe openmpi 4 |
| 21 | |
| 22 | # Request run time (modify this!! and memory per task, total memory usage will be number of tasks times this request) |
| 23 | #$ -l h_rt=1:0:0,h_vmem=1G |
| 24 | |
| 25 | |
| 26 | # Launch the program with mpirun |
| 27 | mpirun <my_program> <options_to_my_program> |