GithubHelp home page GithubHelp logo

Support MKL for LAPACKE about bart HOT 4 CLOSED

mrirecon avatar mrirecon commented on May 28, 2024
Support MKL for LAPACKE

from bart.

Comments (4)

jtamir avatar jtamir commented on May 28, 2024

Hi,

You should be able to link to MKL libraries if you add the following declarations to a Makefile.local that sits in the base directory:

## Makefile.local
# Compilers
CC=gcc
CXX=g++

# Intel
MKL=1
MKL_BASE=/opt/intel/compilers_and_libraries/linux/mkl
LINKER=icc

You may need to replace your 'MKL_BASE' with the appropriate path, as well as sourcing the MKL tools to your path, through compilervars.sh.

To verify, you can run ldd ./bart and check the links:

linux-vdso.so.1 =>  (0x00007ffc5efbc000)
	libfftw3f.so.3 => /home/jtamir/tools/fftw-3.3.6-pl2/build/lib/libfftw3f.so.3 (0x00007f53439cb000)
	libfftw3f_threads.so.3 => /home/jtamir/tools/fftw-3.3.6-pl2/build/lib/libfftw3f_threads.so.3 (0x00007f53437c4000)
	libmkl_intel_lp64.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so (0x00007f5342d8d000)
	libmkl_gnu_thread.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_gnu_thread.so (0x00007f5341b45000)
	libmkl_core.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_core.so (0x00007f5340013000)
	libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f533fdee000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f533fae5000)
	libmvec.so.1 => /lib/x86_64-linux-gnu/libmvec.so.1 (0x00007f533f8bc000)
	libiomp5.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64/libiomp5.so (0x00007f533f518000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f533f196000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f533ef80000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f533ed63000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f533e999000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f533e795000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f533e57b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5343dec000)

from bart.

jtamir avatar jtamir commented on May 28, 2024

Apologies, this appears to not be supported in the public branch currently. I will add the changes and update you.

from bart.

jtamir avatar jtamir commented on May 28, 2024

Please try the latest version of master, thanks.

from bart.

uecker avatar uecker commented on May 28, 2024

I assume this is solved.

from bart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.