Code Monkey home page Code Monkey logo

cmathtuts's People

Contributors

foadsf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmathtuts's Issues

LAPACK, LAPACKE and CLAPACK

Quoting your README.md

"I really do not understand the difference between LAPACK, LAPACKE and CLAPACK there might be some confusion in the tutorials"

You might want to check this page for clarifications:
http://nicolas.limare.net/pro/notes/2014/10/31_cblas_clapack_lapacke/

"The reference Fortran code for BLAS and LAPACK defines de facto a Fortran API, implemented by multiple vendors with code tuned to get the best performance on a given hardware."
"CBLAS is in fact just a very thin layer (no performance penalty) over BLAS, with these benefits:"
"There also is something on Netlib called CLAPACK, but it is not a standard C interface to the Fortran LAPACK. CLAPACK is a translation of the Fortran LAPACK code into C."
"For LAPACK, the native C interface is LAPACKE, not CLAPACK"
"LAPACKE is to LAPACK what CBLAS is to BLAS"

Do you konw this ?

When l complied the code ,there are two errors.l have tried several times,but l don't know how to solve it.

`shentu@shentu-Lenovo-Product:~/code/vnlb-master/build$ make
[ 11%] Built target iio

[ 22%] Built target tvl1flow

[ 33%] Built target tvl1flow-bin

[ 50%] Built target vidutils

[ 66%] Built target vnlb

[ 77%] Built target awgn

[ 83%] Linking CXX executable ../bin/vnlbayes

/usr/bin/ld: /usr/local/lib/liblapack.a(xerbla.o): undefined reference to symbol

'_gfortran_string_len_trim@@GFORTRAN_1.0'

//usr/lib/x86_64-linux-gnu/libgfortran.so.3: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

src/CMakeFiles/vnlbayes.dir/build.make:101: recipe for target 'bin/vnlbayes' failed

make[2]: *** [bin/vnlbayes] Error 1

CMakeFiles/Makefile2:389: recipe for target 'src/CMakeFiles/vnlbayes.dir/all' failed

make[1]: *** [src/CMakeFiles/vnlbayes.dir/all] Error 2

Makefile:127: recipe for target 'all' failed

make: *** [all] Error 2

compiling blas with -lgfortran

Quoting your README.md
"for some of the BLAS and CBLAS examples the -lgfortran is requred to compile. I don't know why!"

you probably mean link with -lgfortran, and not *compile.
that happens because when you want to link objects, some of which were compiled with gcc and some with gfortran, then you must use gfortran to link, or gcc plus the -lgfortran library

example:
gfortran fobject.o cobject.o -o program.bin
gcc fobject.o cobject.o -o program.bin -lgfortran

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.