[petsc-users] Installation without BLAS/LAPACK

Ali Berk Kahraman aliberkkahraman at yahoo.com
Tue Feb 20 10:41:02 CST 2018


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