[mpich-discuss] executiong mpi code on single linux

Jeff Hammond jhammond at alcf.anl.gov
Tue Oct 11 05:56:26 CDT 2011


is your code actually parallel or did you expect mpicxx to make it so?

in circumstances such as this, it is helpful to post your code.

another thing to do is run the examples/cpi test to ensure MPI is
configured properly.

jeff

On Tue, Oct 11, 2011 at 1:23 AM, Jack Jacky <shajarian_e at yahoo.com> wrote:
> hi.
> Im new in parallel programming and I can write parallel codes for
> computations such as FDTD and so on .
>> I have a pc with core i7 quad core cpu and I run my code on win 7 with
>> this cmd command mpiexec -n 8 a.exe and I want do this on linux after
>> compiling my code with mpicxx I run it with this command mpirun -np 8
>> ./a.out but just 1 process was work .can you help me what must i
>  do for running 8 processes on single pc?
>> thank you very much.
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>



-- 
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/index.php/User:Jhammond


More information about the mpich-discuss mailing list