![]() ![]() To use a different TestSweeper build that was not installed, you can point to its directory. If CMake doesn't find TestSweeper, it will be downloaded and compiled. ![]() īLAS++ uses the TestSweeper library ( ) to run its tests. Create a build directory under the BLAS++ root directory: cd /path/to/blasppĬmake. The CMake script enforces an out-of-source build. All test files are in the config directory. The log shows the option being tested, the exact command run, the command's standard output (stdout), error output (stderr), and exit status. If you experience unexpected problems, please see config/log.txt to diagnose the issue. Note that all test programs are compiled with those options, so errors may cause configure to fail. LIBS="-lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lm" Make install - installs the library and headers to \f$/lib/intel64 -fopenmp" \ Make docs - generates documentation in docs/html/index.html Make check - run basic checks using tester Make lib - compiles the library (lib/libblaspp.so) Make config - configures BLAS++, creating a make.inc file Īvailable targets: make - configures (if make.inc is missing), With CMake, options are specified on the command line using -Doption=value syntax (not as environment variables), such as: cmake -Dblas=mkl. With Makefile, options are specified as environment variables or on the command line using option=value syntax, such as: python3 configure.py blas=mkl (default with Makefile not support with CMake) E.g.,Īuto (default) auto-detect CUDA, HIP/ROCm, or SYCL Specify the exact BLAS libraries, overriding the built-in search. (Makefile only CMake always searches all manglings)īLAS and LAPACK are written in Fortran, which has aĬompiler-specific name mangling scheme: routine DGEMM is calledĭgemm_, dgemm, or DGEMM in the library. Gfortran use GNU gfortran interfaces (e.g., libmkl_gf_lp64) Ifort use Intel ifort interfaces (e.g., libmkl_intel_lp64) Currently applies only to Intel MKL.Īuto search for both interfaces (default) One of:Īuto search for both threaded and sequential BLAS (default)įortran interface to use. Whether to search for multi-threaded or sequential BLAS.Ĭurrently applies to Intel MKL and IBM ESSL. When cross-compiling, this cannot be auto-detected, so the user One or more of:īLAS integer size to search for. LD_LIBRARY_PATH runtime library search pathĭYLD_LIBRARY_PATH runtime library search path on macOSĬUDA_PATH path to CUDA, e.g., /usr/local/cudaĬUDA_HOME also recognized for path to CUDAīLAS++ specific options include (all values are case insensitive): blasīLAS libraries to search for. LIBRARY_PATH compile-time library search path Standard environment variables affect both Makefile (configure.py) and CMake. Configure and compile the BLAS++ library and its tester, then install the headers and library.Įnvironment variables (Makefile and CMake) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |