Giter Site home page Giter Site logo

mkl.jl's Introduction

mkl.jl

Intel MKL for Julia (build for homework usage)

  • Usage Clone this repo to your current path. If you're using Ubuntu 20.04 (as of July 15, 2023, the Ubuntu version on Colab), you should rename lib.ubuntu2004 to lib:
mv lib.ubuntu2004 lib

Run the following command:

. set_ld_library_path.sh

This will add lib to LD_LIBRARY_PATH.

Next, run:

julia test_mkl.jl

to check if you can use the precompiled shared library.

If the installation is successful, you will see the following output:

lambda 1 is -2.0
corresponding eigenvector: [-0.7593479889713342, -0.34457275170805207, 0.5519603703396933]
lambda 2 is -1.9999999999999982
corresponding eigenvector: [-0.043027173021516596, 0.9020385411581769, -0.42950568406833034]
lambda 3 is 4.000000000000002
corresponding eigenvector: [-0.5773502691896258, 0.5773502691896258, -0.5773502691896258]
[1.0 -3.0 3.0; 3.0 -5.0 3.0; 6.0 -6.0 4.0]
[2.0 6.0 -8.0; 12.0 1.0 5.0; -16.0 -43.0 3.0]
[1.0 0.0 0.0; 0.0 1.0 0.0; -0.0 -0.0 1.0]

Now you can use mkl.jl.

mkl.jl's People

Contributors

houcze avatar

Watchers

 avatar

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.