Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

Introduction

 

Usage

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"
>>>>

 

 

References

  • No labels