<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 20, 2014 at 10:37 PM, Justin Chang <span dir="ltr"><<a href="mailto:jychang48@gmail.com" target="_blank">jychang48@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I did rm-rf arch-darwin-c-debug and ran config with the following options:<br><br></div>./configure --download-exodusii --download-hdf5 --download-metis --download-mpich --download-mumps --download-netcdf --download-parmetis --download-scalapack --download-triangle --with-cc=gcc --with-cxx=g++ --with-debugging=1 --with-fc=gfortran --with-valgrind=1 -with-cmake=cmake --download-ctetgen<br><br>And it compiles. However, once I run make all test I get the error "Attempting to use an MPI routine before initializing MPICH" when it attempts to run the test examples. Now I can't run any PETSc code whatsoever. Attached are the new make and configure log files.<br></div></div></blockquote><div><br></div><div>Sounds like you are using the wrong mpiexec.</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"><div dir="ltr"><div></div>Thanks,<br>Justin<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 20, 2014 at 9:57 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Try:<br>
<br>
rm -rf arch-darwin-c-debug<br>
and rerun onfigure<br>
<br>
[basically you have old version of ctetgen - and configure does not<br>
have smarts to detect this or update to the appropriate version<br>
automatically. And its likely you have old versions of other packages<br>
aswell - so its best to do a clean build]<br>
<br>
BTW - you shouldn't need --download-fblaslapack on OSX [as it provides<br>
-llapack -lblas via vecLib]<br>
<span><font color="#888888"><br>
Satish<br>
</font></span><div><div><br>
On Mon, 20 Oct 2014, Justin Chang wrote:<br>
<br>
> Hi all,<br>
><br>
> On my MacOSx I am trying to install the developer's version of petsc with<br>
> the following options:<br>
><br>
> ./configure --download-exodusii --download-fblaslapack --download-hdf5<br>
> --download-metis --download-mpich --download-mumps --download-netcdf<br>
> --download-parmetis --download-scalapack --download-triangle --with-cc=gcc<br>
> --with-cxx=g++ --with-debugging=1 --with-fc=gfortran --with-valgrind=1<br>
> -with-cmake=cmake --download-ctetgen<br>
><br>
> The error I get is with the --download-ctetgen option<br>
><br>
> *******************************************************************************<br>
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for<br>
> details):<br>
> -------------------------------------------------------------------------------<br>
> Error running make on Ctetgen: Could not execute "cd<br>
> /Users/jychang48/petsc-dev/arch-darwin-c-debug/externalpackages/ctetgen &&<br>
> /usr/bin/make PETSC_DIR=/Users/jychang48/petsc-dev install-ctetgen":<br>
> make: *** No rule to make target `install-ctetgen'. Stop.<br>
> *******************************************************************************<br>
><br>
> Do you guys know what is wrong? Attached are the make and log files.<br>
><br>
> Thanks,<br>
> Justin<br>
><br>
<br>
</div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></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
</div></div>