<div dir="ltr"><div>Satish,</div><div><br></div><div>I ran the command</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">PETSC_DIR="${HOME}/projects/petsc/petsc"<br>PETSC_ARCH="gcc"<br>./configure \<br>--configModules=PETSc.Configure \<br>--optionsModule=config.compilerOptions \<br>--download-hypre=1 \<br>--with-ssl=0 \<br>--with-debugging=no \<br>--with-pic=1 \<br>--with-shared-libraries=1 \<br>--with-cc=mpicc \<br>--with-cxx=mpicxx \<br>--with-fc=mpif90 \<br>--download-fblaslapack=1 \<br>--download-metis=1 \<br>--download-parmetis=1 \<br>--download-superlu_dist=1 \<br>--download-scalapack=1 \<br>--download-mumps=1 \<br>CC=mpicc CXX=mpicxx FC=mpif90 F77=mpif77 F90=mpif90 \<br>CFLAGS="-fPIC -fopenmp" CXXFLAGS="-fPIC -fopenmp" \<br>FFLAGS="-fPIC -fopenmp" FCFLAGS="-fPIC -fopenmp" \<br>F90FLAGS="-fPIC -fopenmp" F77FLAGS="-fPIC -fopenmp" \<br>PETSC_DIR=${HOME}/projects/petsc/petsc</blockquote></div><div><br></div><div>The process threw errors after the 2nd make statement, but still gives the 3rd make statement. However, the third make statement throws a ton of errors. See attached console output and configure.log</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 25, 2018 at 7:01 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Configure Options: --configModules=PETSc.<wbr>Configure --optionsModule=config.<wbr>compilerOptions --download-hypre=1 --with-ssl=0 --with-debugging=no --with-pic=1 --with-shared-libraries=1 --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 --download-fblaslapack=1 --download-metis=1 --download-parmetis=1 --download-superlu_dist=1 --download-scalapack=1 --download-mumps=1 CC=mpicc CXX=mpicxx FC=mpif90 F77=mpif77 F90=mpif90 CFLAGS="-fPIC -fopenmp" CXXFLAGS="-fPIC -fopenmp" FFLAGS="-fPIC -fopenmp" FCFLAGS="-fPIC -fopenmp" F90FLAGS="-fPIC -fopenmp" F77FLAGS="-fPIC -fopenmp" PETSC_DIR=~/project/petsc/<wbr>petsc<br>
<br>
<br>
use ${HOME} instead of ~ above.<br>
<br>
> /usr/bin/ld: cannot find -lfblas<br>
<br>
And delete your build dir i.e 'rm -rf ~/project/petsc/petsc/arch-<wbr>linux2-c-opt/'<br>
<br>
And see if the problem persists.<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, 25 Jan 2018, John Haase wrote:<br>
<br>
> Hello all,<br>
><br>
> I am trying to install an bleeding edge version of Petsc (<br>
> <a href="https://bitbucket.org/petsc/petsc/pull-requests/843/added-api-snesgetforceiteration/diff" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/<wbr>petsc/pull-requests/843/added-<wbr>api-snesgetforceiteration/diff</a><wbr>).<br>
> However, when I try to install with the command<br>
><br>
> ./configure --prefix=$PETSC_DIR/../<wbr>installed --download-hypre=1<br>
> --with-ssl=0 --with-debugging=no --with-pic=1 --with-shared-libraries=1<br>
> --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 --download-fblaslapack=1<br>
> --download-metis=1 --download-parmetis=1 --download-superlu_dist=1<br>
> --download-scalapack=1 --download-mumps=1 CC=mpicc CXX=mpicxx FC=mpif90<br>
> F77=mpif77 F90=mpif90 CFLAGS='-fPIC -fopenmp' CXXFLAGS='-fPIC -fopenmp'<br>
> FFLAGS='-fPIC -fopenmp' FCFLAGS='-fPIC -fopenmp' F90FLAGS='-fPIC -fopenmp'<br>
> F77FLAGS='-fPIC -fopenmp' PETSC_DIR=`pwd`<br>
><br>
> I get the error "--download-fblaslapack libraries cannot be used". Any<br>
> suggestions?<br>
><br>
> I've attached configure.log in case I'm not reporting something important.<br>
><br>
> Thank you for your help<br>
><br>
> John<br>
><br>
> Regards,<br>
><br>
> John R. Haase<br>
> <a href="mailto:jhaase1@nd.edu">jhaase1@nd.edu</a><br>
><br>
<br>
</div></div></blockquote></div><br></div>