[mpich-discuss] compile and running MPI using PGI
Dave Goodell
goodell at mcs.anl.gov
Thu Mar 22 08:21:33 CDT 2012
Use the "mpif90" compiler wrapper that came with MPICH2 to build your code.
-Dave
On Mar 22, 2012, at 4:08 AM CDT, ESMAEILI AMIN wrote:
> Dear Prof. Thakur
>
> Hi
> I installed the PGI and also tested for our openMP code, I used mpi guide from the website it does not work well for MPI:
>
> pgf90 tst_mp.f90 -Mmpi=mpich
> mpirun -np 5 ./a.out
> Number of tasks= 1 My rank= 0
> Number of tasks= 1 My rank= 0
> Number of tasks= 1 My rank= 0
> Number of tasks= 1 My rank= 0
> Number of tasks= 1 My rank= 0
>
>
> If it is possible, would you plz help me regarding compiling and running MPI code using PGI would you plz help me?
>
> Kind Regards
> Sincerely
> Amin
> _______________________________________________
> 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
More information about the mpich-discuss
mailing list