0

Is there an alternative for the -nolocal option when I run an MPI program using mpiexec of MPICH-p4?

Maddy
  • 2,114
  • 7
  • 30
  • 50

1 Answers1

0

If all you want to do is run all of your processes locally, don't provide a hostfile (or provide one that only includes localhost). Keep in mind that you're severely limiting how much parallelization you can do to essentially the number of cores you have. After that, you start to oversubscribe them and you can run out of resources quickly.

Wesley Bland
  • 8,816
  • 3
  • 44
  • 59
  • What -nolocal does is making the new processes to run only on the remote machines and making only the main program to be executed on the local machine isn't it? – Maddy Dec 24 '13 at 14:54
  • Not the main program, just the launcher for MPI. All of your ranks will execute on the other hosts in your hostfile. – Wesley Bland Dec 24 '13 at 21:12