[mpich-discuss] mpich2 parallel job real time.

Pavan Balaji balaji at mcs.anl.gov
Thu Aug 26 23:49:04 CDT 2010


On 08/26/2010 05:10 PM, mohamed makhyoun wrote:
> export CFOUR_NUM_CORES=4
>
> mpd &
> mpdboot -f File --ncpus=4
> cfourbinary input > output

Does cfourbinary internally launch 4 threads? If you want to use MPI to 
launch processes, you need to use:

% mpdboot -f machinefile --ncpus=4
% mpiexec -n 4 ./cfourbinary input > output
% mpdallexit

Or more preferably:

% mpiexec.hydra -n 4 ./cfourbinary input > output

  -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list