[petsc-users] Install Petsc from repository "--download-fblaslapack libraries cannot be used"

Satish Balay balay at mcs.anl.gov
Thu Jan 25 19:09:59 CST 2018


Executing: mpicc -show
stdout: gcc -I/opt/crc/o/openmpi/2.0.1/gcc/6.2.0/eth/include -pthread -Wl,-rpath -Wl,/opt/crc/o/openmpi/2.0.1/gcc/6.2.0/eth/lib -Wl,--enable-new-dtags -L/opt/crc/o/openmpi/2.0.1/gcc/6.2.0/eth/lib -lmpi

Checking for program /afs/crc/x86_64_linux/p/paraview/5.3.0/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/mpiexec...found

You have an incompatible 'mpiexec' in your PATH. Use mpiexec that matches mpicc that you are using.

You can either fix your PATH - or use --with-mpiexec=/opt/crc/o/openmpi/2.0.1/gcc/6.2.0/eth/bin/mpiexec [assuming thats the correct one]

Satish


On Fri, 26 Jan 2018, John Haase wrote:

> Satish,
> 
> I ran the command
> 
> PETSC_DIR="${HOME}/projects/petsc/petsc"
> > PETSC_ARCH="gcc"
> > ./configure \
> > --configModules=PETSc.Configure \
> > --optionsModule=config.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=${HOME}/projects/petsc/petsc
> 
> 
> 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
> 
> Regards,
> 
> John R. Haase
> jhaase1 at nd.edu
> 
> On Thu, Jan 25, 2018 at 7:01 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > > Configure Options: --configModules=PETSc.Configure
> > --optionsModule=config.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/petsc
> >
> >
> > use ${HOME} instead of ~ above.
> >
> > > /usr/bin/ld: cannot find -lfblas
> >
> > And delete your build dir i.e 'rm -rf ~/project/petsc/petsc/arch-
> > linux2-c-opt/'
> >
> > And see if the problem persists.
> >
> > Satish
> >
> > On Thu, 25 Jan 2018, John Haase wrote:
> >
> > > Hello all,
> > >
> > > I am trying to install an bleeding edge version of Petsc (
> > > https://bitbucket.org/petsc/petsc/pull-requests/843/added-
> > api-snesgetforceiteration/diff).
> > > However, when I try to install with the command
> > >
> > > ./configure --prefix=$PETSC_DIR/../installed --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=`pwd`
> > >
> > > I get the error "--download-fblaslapack libraries cannot be used". Any
> > > suggestions?
> > >
> > > I've attached configure.log in case I'm not reporting something
> > important.
> > >
> > > Thank you for your help
> > >
> > > John
> > >
> > > Regards,
> > >
> > > John R. Haase
> > > jhaase1 at nd.edu
> > >
> >
> >
> 



More information about the petsc-users mailing list