8000 GitHub - kxylu/hello_blas: Simple Installation of OpenBLAS instruction and Test Code · GitHub
[go: up one dir, main page]

Skip to content

About

Simple Installation of OpenBLAS instruction and Test Code

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Hello BLAS

Simple Installation of OpenBLAS instruction and Test Code

To Install OpenBLAS

  1. Define Your installation location.

    mkdir ~/openblas_installation
    cd ~/openblas_installation
  2. Clone openblas repo

    git clone git://github.com/xianyi/OpenBLAS.git
    
    cd OpenBLAS
  3. Build OpenBLAS

    make FC=gfortran
    make install PREFIX=~/openblas_installation/OpenBLAS/
  4. Add configuration to your .bashrc file

    vim .bashrc

    add the following lines to the end:

    export BLAS_HOME="~/openblas_installation/OpenBLAS"
    export BLAS_INC=${BLAS_HOME}/include/
    export BLAS_LIB=${BLAS_HOME}/lib/
    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${BLAS_HOME}/lib/
  5. Verify you have g++ installed with

    whereis g++
  6. Run chmod +x build.sh && ./build.sh

About

Simple Installation of OpenBLAS instruction and Test Code

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0