[mpich-discuss] MPI profiling

Balaji S balaji.ceg.13 at gmail.com
Tue Feb 28 11:34:41 CST 2012


which mpicc gives
 /usr/bin/mpicc
while mpicc -show gives,
gcc -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions -I/usr/include/mpich2
-L/usr/lib -L/usr/lib -lmpich -lopa -lpthread -lrt

On Tue, Feb 28, 2012 at 11:55 AM, Anthony Chan <chan at mcs.anl.gov> wrote:

>
> MPICH2 does not have -lmpi.  Do you have mpicc from
> other MPI implementation (e.g. OpenMPI) on your path,
> What is the output of "which mpicc" ?  Also, add -show
> to your mpicc command and let us know the output ?
>
> A.Chan
>
>
>
>
> ----- Original Message -----
> > I gave
> > mpicc -mpe=mpilog -o homb.ex -O3 -fopenmp -lmpi src/homb.c
> >
> > while i compiled HOMB benchmark. Please note i don get any errors,
> > just
> > that i did not get the .clog2 files.
> >
> > On Tue, Feb 28, 2012 at 10:12 PM, Anthony Chan <chan at mcs.anl.gov>
> > wrote:
> >
> > >
> > > Your installation of mpich2 seems OK. Don't see any error
> > > though (your mpich2 isn't the latest). Also, don't move
> > > around any files from <mpich2-install-dir>/etc.
> > >
> > > How do you compile and link with your MPI benchmark ?
> > >
> > > A.Chan
> > >
> > > ----- Original Message -----
> > > > I have attached all files,
> > > > as specified in the readme file,
> > > > mpich2-1.4/c.txt (generated in step 1(d) above)
> > > > mpich2-1.4/m.txt (generated in step 1(e) above)
> > > > mpich2-1.4/mi.txt (generated in step 1(f) above)
> > > > mpich2-1.4/config.log (generated in step 1(d) above)
> > > > mpich2-1.4/src/openpa/config.log (generated in step 1(d) above)
> > > >
> > > > And Btw, mpicc and mpirun works fine for me...
> > > >
> > > > On Sun, Feb 26, 2012 at 3:18 AM, Anthony Chan <chan at mcs.anl.gov>
> > > > wrote:
> > > >
> > > > >
> > > > > It seems something may have gone wrong in your installation.
> > > > > Send us configure and make outputs as stated in the README file.
> > > > >
> > > > > ----- Original Message -----
> > > > > > I copied the mpe_mpilog.conf from mpich2-install/etc to
> > > > > > /etc/mpich2
> > > > > > Now i
> > > > > > get no error. But When after executing, where will i get my
> > > > > > clog2
> > > > > > file? Its
> > > > > > not ther in the current directory.
> > > > > >
> > > > > > On Sat, Feb 25, 2012 at 11:52 PM, Balaji S
> > > > > > <balaji.ceg.13 at gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Sir , When i gave "-mpe=mpilog" i get
> > > > > > >
> > > > > > > Profiling configuration file mpe_mpilog.conf not found in
> > > > > > > /etc/mpich2
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Sat, Feb 25, 2012 at 11:41 PM, Anthony Chan
> > > > > > > <chan at mcs.anl.gov>
> > > > > > > wrote:
> > > > > > >
> > > > > > >>
> > > > > > >> For MPICH2 and MVAPICH2, link the benchmark with
> > > > > > >> "mpicc -mpe=mpilog" or "mpif90 -mpe=mpilog". For
> > > > > > >> OpenMPI, build standalone MPE for it and link the
> > > > > > >> benchmark with "mpecc -mpilog" or "mpefc -mpilog".
> > > > > > >>
> > > > > > >> A.Chan
> > > > > > >>
> > > > > > >> ----- Original Message -----
> > > > > > >> > Can anyone help me on how to create a ".clog2" file from
> > > > > > >> > an
> > > > > > >> > MPI
> > > > > > >> > benchmark?
> > > > > > >> >
> > > > > > >> > --
> > > > > > >> > With Regards,
> > > > > > >> > Balaji.S
> > > > > > >> >
> > > > > > >> > _______________________________________________
> > > > > > >> > 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
> > > > > > >> _______________________________________________
> > > > > > >> 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
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > With Regards,
> > > > > > >     Balaji.S
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > With Regards,
> > > > > > Balaji.S
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > With Regards,
> > > > Balaji.S
> > >
> >
> >
> >
> > --
> > With Regards,
> > Balaji.S
>



-- 
With Regards,
    Balaji.S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120228/ea298869/attachment.htm>


More information about the mpich-discuss mailing list