<div dir="ltr">You might also look at<div><br></div><div>  <a href="https://bitbucket.org/petsc/petsc/src/01a9465dffce7b62bec37ab3fd4574a4a21c26c9/config/examples/arch-cray-xt5-opt.py?at=master&fileviewer=file-view-default">https://bitbucket.org/petsc/petsc/src/01a9465dffce7b62bec37ab3fd4574a4a21c26c9/config/examples/arch-cray-xt5-opt.py?at=master&fileviewer=file-view-default</a></div><div>  <a href="https://bitbucket.org/petsc/petsc/src/01a9465dffce7b62bec37ab3fd4574a4a21c26c9/config/examples/arch-cray-xt6-pkgs-opt.py?at=master&fileviewer=file-view-default">https://bitbucket.org/petsc/petsc/src/01a9465dffce7b62bec37ab3fd4574a4a21c26c9/config/examples/arch-cray-xt6-pkgs-opt.py?at=master&fileviewer=file-view-default</a></div><div><br></div><div>     Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 24, 2016 at 9:26 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@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>
  send configure.log to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a>   This email address cannot handle such large files.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On Mar 24, 2016, at 8:30 PM, Hector E Barrios Molano <<a href="mailto:hectorb@utexas.edu">hectorb@utexas.edu</a>> wrote:<br>
><br>
> Hi Experts!<br>
><br>
> I'm trying to configure PETSc on a system with Cray mpich. I got the following configure message:<br>
><br>
> ===============================================================================<br>
>              Configuring PETSc to compile on your system<br>
> ===============================================================================<br>
> TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:146)                                                                                                                       *******************************************************************************<br>
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>
> -------------------------------------------------------------------------------<br>
> Unable to find mpi in default locations!<br>
> Perhaps you can specify with --with-mpi-dir=<directory><br>
> If you do not want MPI, then give --with-mpi=0<br>
> You might also consider using --download-mpich instead<br>
> *******************************************************************************<br>
><br>
> Initially I was using the option --with-mpi-dir but configure script told me that it did not work.<br>
><br>
><br>
> This is the configure command that I am using:<br>
><br>
> ./configure --prefix=/work/03341/hector/lonestar/installed/petsc3.6-intel-debug --PETSC_DIR=/work/03341/hector/lonestar/sources/petsc-master --PETSC_ARCH=haswell-debug --with-batch --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 --with-parmetis-dir=/work/03341/hector/lonestar/installed/parmetis/ --with-metis-dir=/work/03341/hector/lonestar/installed/parmetis/ --download-ptscotch --download-hypre --with-blas-lapack-lib=[/work/03341/hector/lonestar/mkl_static/libmkl_intel_lp64.a,/work/03341/hector/lonestar/mkl_static/libmkl_core.a,/work/03341/hector/lonestar/mkl_static/libmkl_intel_thread.a] --with-scalapack-include=/opt/apps/intel/<a href="http://16.0.1.150/compilers_and_libraries_2016.1.150/linux/mkl/include/" rel="noreferrer" target="_blank">16.0.1.150/compilers_and_libraries_2016.1.150/linux/mkl/include/</a> --with-scalapack-lib=[/work/03341/hector/lonestar/mkl_static/libmkl_scalapack_lp64.a,/work/03341/hector/lonestar/mkl_static/libmkl_blacs_intelmpi_lp64.a] --with-valgrind=1 --with-valgrind-dir=/work/03341/hector/lonestar/installed/ --with-shared-libraries=0 --with-fortran-interfaces=1 --FC_LINKER_FLAGS="-openmp -openmp-link static" --FFLAGS="-openmp -openmp-link static" --LIBS="-Wl,--start-group /work/03341/hector/lonestar/mkl_static/libmkl_intel_lp64.a /work/03341/hector/lonestar/mkl_static/libmkl_core.a /work/03341/hector/lonestar/mkl_static/libmkl_intel_thread.a -Wl,--end-group -ldl -lpthread -lm"<br>
><br>
><br>
> Do you have any idea on how to solve the problem?<br>
><br>
> Thanks for your help!<br>
><br>
> Best regards,<br>
><br>
> Hector<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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>