<font face="comic sans ms,sans-serif">This is the o/p with <br></font><br>/home/balaji/mpich2-install/bin/mpicc -mpe=mpilog -o homb.ex -O3 -show -fopenmp src/homb.<br><div class="im"><br></div> output:<br><font face="comic sans ms,sans-serif">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<br>
<br></font><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 9:14 AM, Anthony Chan <span dir="ltr"><<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
add -show to the command and send me the output.<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> /home/balaji/mpich2-install/bin/mpicc -mpe=mpilog -o homb.ex -O3<br>
> -fopenmp<br>
> src/homb.c<br>
><br>
> It still doesnt work. But no errors<br>
><br>
> On Tue, Feb 28, 2012 at 11:52 PM, Anthony Chan <<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>><br>
> wrote:<br>
><br>
> ><br>
> > mpicc in your path is still mpich2, but it is likely an older<br>
> > version, do /usr/bin/mpich2version for the version.<br>
> ><br>
> > The mpich2-1.4 that you just built is installed in<br>
> > /home/balaji/mpich2-install.<br>
> > Link your MPI benchmark using fullpath to mpicc as follows<br>
> ><br>
> > /home/balaji/mpich2-install/bin/mpicc -mpe=mpilog -o homb.ex -O3<br>
> > -fopenmp<br>
> > src/homb.c<br>
> ><br>
> > A.Chan<br>
> ><br>
> > ----- Original Message -----<br>
> > > which mpicc gives<br>
> > > /usr/bin/mpicc<br>
> > > while mpicc -show gives,<br>
> > > gcc -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions<br>
> > > -I/usr/include/mpich2<br>
> > > -L/usr/lib -L/usr/lib -lmpich -lopa -lpthread -lrt<br>
> > ><br>
> > > On Tue, Feb 28, 2012 at 11:55 AM, Anthony Chan <<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>><br>
> > > wrote:<br>
> > ><br>
> > > ><br>
> > > > MPICH2 does not have -lmpi. Do you have mpicc from<br>
> > > > other MPI implementation (e.g. OpenMPI) on your path,<br>
> > > > What is the output of "which mpicc" ? Also, add -show<br>
> > > > to your mpicc command and let us know the output ?<br>
> > > ><br>
> > > > A.Chan<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > ----- Original Message -----<br>
> > > > > I gave<br>
> > > > > mpicc -mpe=mpilog -o homb.ex -O3 -fopenmp -lmpi src/homb.c<br>
> > > > ><br>
> > > > > while i compiled HOMB benchmark. Please note i don get any<br>
> > > > > errors,<br>
> > > > > just<br>
> > > > > that i did not get the .clog2 files.<br>
> > > > ><br>
> > > > > On Tue, Feb 28, 2012 at 10:12 PM, Anthony Chan<br>
> > > > > <<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>><br>
> > > > > wrote:<br>
> > > > ><br>
> > > > > ><br>
> > > > > > Your installation of mpich2 seems OK. Don't see any error<br>
> > > > > > though (your mpich2 isn't the latest). Also, don't move<br>
> > > > > > around any files from <mpich2-install-dir>/etc.<br>
> > > > > ><br>
> > > > > > How do you compile and link with your MPI benchmark ?<br>
> > > > > ><br>
> > > > > > A.Chan<br>
> > > > > ><br>
> > > > > > ----- Original Message -----<br>
> > > > > > > I have attached all files,<br>
> > > > > > > as specified in the readme file,<br>
> > > > > > > mpich2-1.4/c.txt (generated in step 1(d) above)<br>
> > > > > > > mpich2-1.4/m.txt (generated in step 1(e) above)<br>
> > > > > > > mpich2-1.4/mi.txt (generated in step 1(f) above)<br>
> > > > > > > mpich2-1.4/config.log (generated in step 1(d) above)<br>
> > > > > > > mpich2-1.4/src/openpa/config.log (generated in step 1(d)<br>
> > > > > > > above)<br>
> > > > > > ><br>
> > > > > > > And Btw, mpicc and mpirun works fine for me...<br>
> > > > > > ><br>
> > > > > > > On Sun, Feb 26, 2012 at 3:18 AM, Anthony Chan<br>
> > > > > > > <<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>><br>
> > > > > > > wrote:<br>
> > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > It seems something may have gone wrong in your<br>
> > > > > > > > installation.<br>
> > > > > > > > Send us configure and make outputs as stated in the<br>
> > > > > > > > README<br>
> > > > > > > > file.<br>
> > > > > > > ><br>
> > > > > > > > ----- Original Message -----<br>
> > > > > > > > > I copied the mpe_mpilog.conf from mpich2-install/etc<br>
> > > > > > > > > to<br>
> > > > > > > > > /etc/mpich2<br>
> > > > > > > > > Now i<br>
> > > > > > > > > get no error. But When after executing, where will i<br>
> > > > > > > > > get<br>
> > > > > > > > > my<br>
> > > > > > > > > clog2<br>
> > > > > > > > > file? Its<br>
> > > > > > > > > not ther in the current directory.<br>
> > > > > > > > ><br>
> > > > > > > > > On Sat, Feb 25, 2012 at 11:52 PM, Balaji S<br>
> > > > > > > > > <<a href="mailto:balaji.ceg.13@gmail.com">balaji.ceg.13@gmail.com</a>><br>
> > > > > > > > > wrote:<br>
> > > > > > > > ><br>
> > > > > > > > > > Sir , When i gave "-mpe=mpilog" i get<br>
> > > > > > > > > ><br>
> > > > > > > > > > Profiling configuration file mpe_mpilog.conf not<br>
> > > > > > > > > > found<br>
> > > > > > > > > > in<br>
> > > > > > > > > > /etc/mpich2<br>
> > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > > On Sat, Feb 25, 2012 at 11:41 PM, Anthony Chan<br>
> > > > > > > > > > <<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>><br>
> > > > > > > > > > wrote:<br>
> > > > > > > > > ><br>
> > > > > > > > > >><br>
> > > > > > > > > >> For MPICH2 and MVAPICH2, link the benchmark with<br>
> > > > > > > > > >> "mpicc -mpe=mpilog" or "mpif90 -mpe=mpilog". For<br>
> > > > > > > > > >> OpenMPI, build standalone MPE for it and link the<br>
> > > > > > > > > >> benchmark with "mpecc -mpilog" or "mpefc -mpilog".<br>
> > > > > > > > > >><br>
> > > > > > > > > >> A.Chan<br>
> > > > > > > > > >><br>
> > > > > > > > > >> ----- Original Message -----<br>
> > > > > > > > > >> > Can anyone help me on how to create a ".clog2"<br>
> > > > > > > > > >> > file<br>
> > > > > > > > > >> > from<br>
> > > > > > > > > >> > an<br>
> > > > > > > > > >> > MPI<br>
> > > > > > > > > >> > benchmark?<br>
> > > > > > > > > >> ><br>
> > > > > > > > > >> > --<br>
> > > > > > > > > >> > With Regards,<br>
> > > > > > > > > >> > Balaji.S<br>
> > > > > > > > > >> ><br>
> > > > > > > > > >> > _______________________________________________<br>
> > > > > > > > > >> > mpich-discuss mailing list<br>
> > > > > > > > > >> > <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> > > > > > > > > >> > To manage subscription options or unsubscribe:<br>
> > > > > > > > > >> ><br>
> > <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
> > > > > > > > > >> _______________________________________________<br>
> > > > > > > > > >> mpich-discuss mailing list<br>
> > > > > > > > > >> <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> > > > > > > > > >> To manage subscription options or unsubscribe:<br>
> > > > > > > > > >> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
> > > > > > > > > >><br>
> > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > > --<br>
> > > > > > > > > > With Regards,<br>
> > > > > > > > > > Balaji.S<br>
> > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > ><br>
> > > > > > > > ><br>
> > > > > > > > > --<br>
> > > > > > > > > With Regards,<br>
> > > > > > > > > Balaji.S<br>
> > > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > > --<br>
> > > > > > > With Regards,<br>
> > > > > > > Balaji.S<br>
> > > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > --<br>
> > > > > With Regards,<br>
> > > > > Balaji.S<br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > With Regards,<br>
> > > Balaji.S<br>
> ><br>
><br>
><br>
><br>
> --<br>
> With Regards,<br>
> Balaji.S<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>With Regards,<br> Balaji.S<br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><br>