Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Solving Hermitian matricies in C/C++

  1. Jan 9, 2008 #1
    I've been struggling for awhile, I've been trying to use CLAPACK to avoid learning Fortan. I think i've just a linking problem, since I've been testing code that's supposed to work.
    in the VC command prompt i type

    cl dgesv.c

    and I get the error
    LNK2019: unresolved external symbol _dgesv_ referenced in function _main

    if I try to link the library
    cl dgesv.c /link clapack.lib
    then i get redundancy in some of the defaults like printf (alrady defined in LIBCMT.lib)
    and i also get the error.

    LNK4098 default lib 'MSVCRTD' conflicts with the use of other libs

    Can someone help me fix this?
    Otherwise I was trying to use seldon, but there seems to be very little information on how to use it.
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted



Similar Discussions: Solving Hermitian matricies in C/C++
  1. To C or not to C (Replies: 31)

  2. C or C++? (Replies: 8)

Loading...