What is PREFIX IN make PREFIX=$HOME/usr/local/OpenBLAS?

1.3k views Asked by At

I am trying to install OpenBLAS.I have created directory

 mkdir -p /usr/local/OpenBLAS

Then I follow the tutorial instructions:

make PREFIX=$HOME/usr/local/OpenBLAS install
make -j 2 -f Makefile.install install
make[1]: Entering directory `/home/milenko/OpenBLAS'
Generating openblas_config.h in /root/usr/local/OpenBLAS/include
Generating f77blas.h in /root/usr/local/OpenBLAS/include
Generating cblas.h in /root/usr/local/OpenBLAS/include
Copying LAPACKE header files to /root/usr/local/OpenBLAS/include
Copying the static library to /root/usr/local/OpenBLAS/lib
Copying the shared library to /root/usr/local/OpenBLAS/lib
Generating OpenBLASConfig.cmake in /root/usr/local/OpenBLAS/lib/cmake/openblas
Install OK!
make[1]: Leaving directory `/home/milenko/OpenBLAS'

But usr/local/openBLAS is empty! The new directory is created in /home/m/OpenBLAS/usr/local/. Should I only export path to bashrc?Other programs will call OpenBLAS in future,this can cause troubles or not?

0

There are 0 answers