/
lapack-blas
lapack-blas
Introduction
Usage
module load library/lapack/3.8.0 OR module load library/lapackBlas/3.6.0
Installation
svn co https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk/ Or download the tar package tar -zxvf …tar lapack-3.6.0.tar cd lapack-3.6.0 mkdir lapack-cmake cmake -D CMAKE_INSTALL_PREFIX=/sw/library/lapack/lapack-3.6.0/3.6.0 .. 2>&1 | tee cmakelog.txt -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/f95 -- Check for working Fortran compiler: /usr/bin/f95 -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/f95 supports Fortran 90 -- Checking whether /usr/bin/f95 supports Fortran 90 -- yes -- Found PythonInterp: /usr/bin/python (found version "2.6.6") -- Looking for Python found - TRUE -- Using Python version 2.6.6 -- Reducing RELEASE optimization level to O2 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXT_ETIME_ - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function. -- Using supplied NETLIB BLAS implementation -- Using supplied NETLIB LAPACK implementation -- Building Single Precision -- Building Double Precision -- Building Complex Precision -- Building Double Complex Precision -- BUILD TESTING : ON -- Configuring done -- Generating done -- Build files have been written to: /sw/library/lapack/lapack-3.6.0/lapack-cmake make 2>&1 | tee makelog.txt make test 2>&1 | tee makeTestlog.txt make install 2>&1 | tee makeInstalllog.txt >>>>>>>>> make install [ 5%] Built target blas [ 59%] Built target lapack [ 61%] Built target tmglib [ 67%] Built target xlintstc [ 72%] Built target xlintstd [ 72%] Built target xlintstds [ 73%] Built target xlintstrfc [ 74%] Built target xlintstrfd [ 74%] Built target xlintstrfs [ 75%] Built target xlintstrfz [ 80%] Built target xlintsts [ 86%] Built target xlintstz [ 87%] Built target xlintstzc [ 90%] Built target xeigtstc [ 94%] Built target xeigtstd [ 97%] Built target xeigtsts [100%] Built target xeigtstz Install the project... -- Install configuration: "" -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-targets.cmake -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-targets-noconfig.cmake -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/pkgconfig/lapack.pc -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-config.cmake -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-config-version.cmake -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/pkgconfig/blas.pc -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libblas.a -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/liblapack.a -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libtmglib.a >>>>>>>>
Making shared libraries
cmake -DCMAKE_INSTALL_PREFIX=/sw/library/lapack/lapack-3.6.0/3.6.0 -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_SHARED_LIBS=ON .. -- Looking for Python found - TRUE -- Using Python version 2.6.6 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXT_ETIME_ - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function. -- Using supplied NETLIB BLAS implementation -- Using supplied NETLIB LAPACK implementation -- Building Single Precision -- Building Double Precision -- Building Complex Precision -- Building Double Complex Precision -- BUILD TESTING : ON -- Configuring done -- Generating done -- Build files have been written to: /sw/library/lapack/lapack-3.6.0/lapack-cmake >>>>>> make 2>&1 | tee sharedmakelog.txt make test 2>&1 | tee sharedmakeTestlog.txt make install 2>&1 | tee sharedmakeInstalllog.txt >>>>>> [ 5%] Built target blas [ 5%] Built target xblat1c [ 5%] Built target xblat1d [ 5%] Built target xblat1s [ 5%] Built target xblat1z [ 5%] Built target xblat2c [ 5%] Built target xblat2d [ 5%] Built target xblat2s [ 5%] Built target xblat2z [ 5%] Built target xblat3c [ 5%] Built target xblat3d [ 5%] Built target xblat3s [ 5%] Built target xblat3z [ 59%] Built target lapack [ 61%] Built target tmglib [ 67%] Built target xlintstc [ 72%] Built target xlintstd [ 72%] Built target xlintstds [ 73%] Built target xlintstrfc [ 74%] Built target xlintstrfd [ 74%] Built target xlintstrfs [ 75%] Built target xlintstrfz [ 80%] Built target xlintsts [ 86%] Built target xlintstz [ 87%] Built target xlintstzc [ 91%] Built target xeigtstc [ 94%] Built target xeigtstd [ 97%] Built target xeigtsts [100%] Built target xeigtstz Install the project... -- Install configuration: "RELEASE" -- Old export file "/sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-targets.cmake" will be replaced. Removing files [/sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-targets-noconfig.cmake]. -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-targets.cmake -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-targets-release.cmake -- Up-to-date: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/pkgconfig/lapack.pc -- Up-to-date: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-config.cmake -- Up-to-date: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/cmake/lapack-3.6.0/lapack-config-version.cmake -- Up-to-date: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/pkgconfig/blas.pc -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libblas.so.3.6.0 -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libblas.so.3 -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libblas.so -- Set runtime path of "/sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libblas.so.3.6.0" to "/sw/library/lapack/lapack-3.6.0/3.6.0/lib" -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/liblapack.so.3.6.0 -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/liblapack.so.3 -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/liblapack.so -- Set runtime path of "/sw/library/lapack/lapack-3.6.0/3.6.0/lib64/liblapack.so.3.6.0" to "/sw/library/lapack/lapack-3.6.0/3.6.0/lib" -- Installing: /sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libtmglib.so -- Set runtime path of "/sw/library/lapack/lapack-3.6.0/3.6.0/lib64/libtmglib.so" to "/sw/library/lapack/lapack-3.6.0/3.6.0/lib" >>>>
Installation - Version 3.8.0
Static version ============== module purge module load library/cblas/cblas cd /sw/library/lapack/3.8.0/src wget http://www.netlib.org/lapack/lapack-3.8.0.tar.gz tar -zxvf /tmp/lapack-3.8.0.tar.gz cd /sw/library/lapack/3.8.0/src/lapack-3.8.0 cp make.inc.example make.inc diff make.inc make.inc.example 81,82c81,82 < BLASLIB = /sw/library/blas/3.8.0/lib64/libfblas.a < CBLASLIB = /sw/library/cblas/20180614/lib/cblas_LINUX.a --- > BLASLIB = ../../librefblas.a > CBLASLIB = ../../libcblas.a make all 2>&1 | tee makeLog.txt snip --> LAPACK TESTING SUMMARY <-- Processing LAPACK Testing output found in the TESTING directory SUMMARY nb test run numerical error other error ================ =========== ================= ================ REAL 1292645 0 (0.000%) 0 (0.000%) DOUBLE PRECISION 1293457 0 (0.000%) 0 (0.000%) COMPLEX 745040 1 (0.000%) 0 (0.000%) COMPLEX16 752536 1 (0.000%) 1 (0.000%) --> ALL PRECISIONS 4083678 2 (0.000%) 1 (0.000%) snip ranlib liblapack.a ranlib libtmglib.a mkdir /sw/library/lapack/3.8.0/lib cp liblapack.a libtmglib.a /sw/library/lapack/3.8.0/lib cp -rp TESTING /sw/library/lapack/3.8.0/ module display library/lapack/3.8.0 ------------------------------------------------------------------- /sw/com/modulefiles/library/lapack/3.8.0: prepend-path LIBRARY_PATH /sw/library/lapack/3.8.0/lib prepend-path LD_LIBRARY_PATH /sw/library/lapack/3.8.0/lib prepend-path LDFLAGS -L/sw/library/lapack/3.8.0/lib -------------------------------------------------------------------
References
, multiple selections available,
Related content
blas
More like this
SciPy
More like this
cblas
More like this
python-lapack-atlas-sparse-numpy-scipy-matplotlib
python-lapack-atlas-sparse-numpy-scipy-matplotlib
More like this
armadillo
armadillo
More like this
scientifc libraries
scientifc libraries
More like this