[mpich-discuss] MPI profiling
Anthony Chan
chan at mcs.anl.gov
Fri Mar 2 12:15:25 CST 2012
Can you send me src/homb.c ?
----- Original Message -----
> This is the o/p with
>
> /home/balaji/mpich2-install/bin/mpicc -mpe=mpilog -o homb.ex -O3 -show
> -fopenmp src/homb.
>
> output:
> gcc -I/home/balaji/mpich2-install/include -Wl,--export-dynamic -o
> homb.ex
> -O3 -fopenmp src/homb.c -lm -I/home/balaji/mpich2-install/include
> -L/home/balaji/mpich2-install/lib -L/home/balaji/mpich2-install/lib
> -llmpe
> -lmpe -lmpich -lopa -lmpl -lrt -lpthread
>
>
> On Fri, Mar 2, 2012 at 9:14 AM, Anthony Chan <chan at mcs.anl.gov> wrote:
>
> >
> > add -show to the command and send me the output.
> >
> > ----- Original Message -----
> > > /home/balaji/mpich2-install/bin/mpicc -mpe=mpilog -o homb.ex -O3
> > > -fopenmp
> > > src/homb.c
> > >
> > > It still doesnt work. But no errors
> > >
> > > On Tue, Feb 28, 2012 at 11:52 PM, Anthony Chan <chan at mcs.anl.gov>
> > > wrote:
> > >
> > > >
> > > > mpicc in your path is still mpich2, but it is likely an older
> > > > version, do /usr/bin/mpich2version for the version.
> > > >
> > > > The mpich2-1.4 that you just built is installed in
> > > > /home/balaji/mpich2-install.
> > > > Link your MPI benchmark using fullpath to mpicc as follows
> > > >
> > > > /home/balaji/mpich2-install/bin/mpicc -mpe=mpilog -o homb.ex -O3
> > > > -fopenmp
> > > > src/homb.c
> > > >
> > > > A.Chan
> > > >
> > > > ----- Original Message -----
> > > > > 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
> > > >
> > >
> > >
> > >
> > > --
> > > With Regards,
> > > Balaji.S
> >
>
>
>
> --
> With Regards,
> Balaji.S
More information about the mpich-discuss
mailing list