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
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted