Skip to content

Simple Installation of OpenBLAS instruction and Test Code

License

Notifications You must be signed in to change notification settings

kxylu/hello_blas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published