Personal tools
You are here: Home / openCMISS / Wiki / Notes on compiling/running parallel jobs with MPI
Navigation
Log in


Forgot your password?
 

Notes on compiling/running parallel jobs with MPI

bioeng22:

  • You must use mpirun to execute a parallel job since '>myexecutable' will use only 1 processor.

    • '>mpirun -np 4 -machinefile host.list myexecutable'
    • This command uses 4 processors from the list of possible threads/processors in the file host.list. The file 'host.list' should contain four lines for bioeng22 and on each line it should read 'bioeng22'.

hpc:

  • To compile with MPI libraries you should use mpCC (are any equivalents) which are scripts that use xlC with the necessary libraries linked into the executables. There is also the option of mpCC_r which is a thread-safe version of mpCC. I'm not sure of when this is needed.

  • You must use poe (parallel operating environment) to execute a parallel job since again '>myexecutable' will use only 1 processor.

    • '>poe ./myexecutable -procs 4 -hostfile host.list'