<div dir="ltr">That works, thank you very much!</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 8:09 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">Executing: mpicc -show<br>
stdout: gcc -I/opt/crc/o/openmpi/2.0.1/<wbr>gcc/6.2.0/eth/include -pthread -Wl,-rpath -Wl,/opt/crc/o/openmpi/2.0.1/<wbr>gcc/6.2.0/eth/lib -Wl,--enable-new-dtags -L/opt/crc/o/openmpi/2.0.1/<wbr>gcc/6.2.0/eth/lib -lmpi<br>
<br>
Checking for program /afs/crc/x86_64_linux/p/<wbr>paraview/5.3.0/ParaView-5.3.0-<wbr>Qt5-OpenGL2-MPI-Linux-64bit/<wbr>bin/mpiexec...found<br>
<br>
You have an incompatible 'mpiexec' in your PATH. Use mpiexec that matches mpicc that you are using.<br>
<br>
You can either fix your PATH - or use --with-mpiexec=/opt/crc/o/<wbr>openmpi/2.0.1/gcc/6.2.0/eth/<wbr>bin/mpiexec [assuming thats the correct one]<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Fri, 26 Jan 2018, John Haase wrote:<br>
<br>
> Satish,<br>
><br>
> I ran the command<br>
><br>
> PETSC_DIR="${HOME}/projects/<wbr>petsc/petsc"<br>
> > PETSC_ARCH="gcc"<br>
> > ./configure \<br>
> > --configModules=PETSc.<wbr>Configure \<br>
> > --optionsModule=config.<wbr>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/<wbr>petsc/petsc<br>
><br>
><br>
> The process threw errors after the 2nd make statement, but still gives the<br>
> 3rd make statement. However, the third make statement throws a ton of<br>
> errors. See attached console output and configure.log<br>
><br>
> Regards,<br>
><br>
> John R. Haase<br>
> <a href="mailto:jhaase1@nd.edu">jhaase1@nd.edu</a><br>
><br>
> On Thu, Jan 25, 2018 at 7:01 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
> > > Configure Options: --configModules=PETSc.<wbr>Configure<br>
> > --optionsModule=config.<wbr>compilerOptions --download-hypre=1 --with-ssl=0<br>
> > --with-debugging=no --with-pic=1 --with-shared-libraries=1 --with-cc=mpicc<br>
> > --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=~/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-<br>
> > linux2-c-opt/'<br>
> ><br>
> > And see if the problem persists.<br>
> ><br>
> > Satish<br>
> ><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-" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/<wbr>petsc/pull-requests/843/added-</a><br>
> > api-snesgetforceiteration/<wbr>diff).<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<br>
> > --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<br>
> > -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<br>
> > 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>
> ><br>
><br>
<br>
</div></div></blockquote></div><br></div>