[petsc-users] Installation without BLAS/LAPACK
Satish Balay
balay at mcs.anl.gov
Tue Feb 20 10:48:59 CST 2018
[sorry - its --download-fblaslapack]
What it does is:
1. gets the source tarball specified in
config/BuildSystem/config/packages/fblaslapack.py i.e
http://ftp.mcs.anl.gov/pub/petsc/externalpackages/fblaslapack-3.4.2.tar.gz
2. compiles it
3. installs it in PETSC_DIR/PETSC_ARCH/lib
4. Then configures PETSc to use this library
Note: PETSc libraries also get installed in PETSC_DIR/PETSC_ARCH/lib
Also check installation instructions at
http://www.mcs.anl.gov/petsc/documentation/installation.html
Satish
On Tue, 20 Feb 2018, Ali Berk Kahraman wrote:
> When I call --download-blaslapack, what does it do exactly? Where does it
> install the library? Does it touch anything anything else (such as updating
> versions of mpicc) ? My concern is that if I call download-blaslapack I will
> "change" some stuff in the /usr/bin directory that might disable some other
> program, package installed on the computer.
>
>
> On 20-02-2018 19:34, Satish Balay wrote:
> > On Tue, 20 Feb 2018, Ali Berk Kahraman wrote:
> >
> >> Hello All,
> >>
> >> I have access to a common computer in my school, and I want to use petsc on
> >> it. The problem is that I do not have root access, and neither do I want
> >> it.
> >> The machine has OpenMPI installed in it, but no BLAS. Can I configure petsc
> >> somehow without having any BLAS commands? If not, can I install BLAS
> >> somehow
> >> only on my own folder (/home/myfolder) without touching anything inside
> >> /usr/
> >> folder?
> > You don't need root access to install/use PETSc.
> >
> > And you can ask petsc configure to install any required or missing packages.
> >
> > ./configure CC=gcc FC=gfortran CXX=g++ --download-blaslapack
> > --download-mpich
> > make
> >
> > If you wish to install PETSc with a preinstalled mpi - you can do:
> >
> > ./configure CC=mpicc FC=mpif90 CXX=mpicxx --download-blaslapack
> > make
> >
> > Satish
>
>
>
More information about the petsc-users
mailing list