On Mon, Jan 17, 2011 at 6:36 PM, Gaurish Telang <span dir="ltr"><<a href="mailto:gaurish108@gmail.com">gaurish108@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thank you that seems to have worked! Just to confirm, I have posted the output at the end of this message. I hope this is the way the generic output should look like.<br><br>I have still have a few questions though.<br><br>
(1)<br><br>So all I need to do, is to specify the location of the correct executable mpiexec which is $PETSC_DIR/$PETSC_ARCH/bin/mpiexec <br>while running the program, right? <br></blockquote><div><br></div><div>Yes</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The contents of my $PETSC_DIR/$PETSC_ARCH/bin are <br>
<br>gaurish108@gaurish108-laptop:~/Desktop/ResearchMeetings/SUPERPETS/petsc-3.1-p5/linux-gnu-c-debug/bin$ ls<br>mpicc mpich2version mpiexec mpif77 mpif90 parkill<br><br><br>(2)<br>Do I need to make any changes in the makefiles of the PETSc programs that I have written? And hence recompile my codes by using the "new" mpiexec <br>
</blockquote><div><br></div><div>mpiexec is only for execution, not compiling or linking.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I mean, since $PETSC_DIR/$PETSC_ARCH/bin/ also contains mpicc (as seen above), I want to be sure that the correct mpicc is being used during execution. <br>
<br>(3) Should I run the mpd daemon before using mpiexec??? On the MPICH2 that I had installed prior to my PETSc it required me type "mpd &"<br>
before program execution.<br><br>But it seems for my PETSc mpiexec I don;t need mpd. But should I type it in ?? I mean I am not sure if this affects program performance <br></blockquote><div><br></div><div>The new version of MPICH uses hydra, not mpd, to manage the startup.</div>
<div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sincere thanks,<br><br>Gaurish<br></blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>