<font face="comic sans ms,sans-serif">which mpicc gives<br> /usr/bin/mpicc<br>while mpicc -show gives,<br>gcc -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions -I/usr/include/mpich2 -L/usr/lib -L/usr/lib -lmpich -lopa -lpthread -lrt<br>
</font><br><div class="gmail_quote">On Tue, Feb 28, 2012 at 11:55 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>
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>
<div class="HOEnZb"><div class="h5"><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 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 <<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) 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 <<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 installation.<br>
> > > > Send us configure and make outputs as stated in the README file.<br>
> > > ><br>
> > > > ----- Original Message -----<br>
> > > > > I copied the mpe_mpilog.conf from mpich2-install/etc to<br>
> > > > > /etc/mpich2<br>
> > > > > Now i<br>
> > > > > get no error. But When after executing, where will i get 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 found 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" file from<br>
> > > > > >> > an<br>
> > > > > >> > MPI<br>
> > > > > >> > benchmark?<br>
> > > > > >> ><br>
> > > > > >> > --<br>
> > > > > >> > With Regards,<br>
> > > > > >> > Balaji.S<br>
> > > > > >> ><br>
> > > > > >> > _______________________________________________<br>
> > > > > >> > mpich-discuss mailing list <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>
> > > > > >> mpich-discuss mailing list <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>
</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>