- #1
DrewD
- 529
- 28
I don't have all of the info at my finger tips because I had to come to work and leave my comp at home, but here is my issue and I can post extra info if anyone has questions:
I am working with a professor who has me running his code (C++) that links to gsl and lapack. Specifically, the code itself has a file that is the interface between the fortran lapack and the C++ code he wrote. The code also uses the gsl minimizer and another gsl function that I don't recall right now.
I am running the big program on a school machine that I ssh into, but it is helpful to run a smaller version on my home computer. I just bought a new computer which is running Debian Wheezy (could this be part of the problem? it isn't fully stable, but development is frozen). I downloaded gsl and followed the GNU installation steps. Then I downloaded lapack, unpacked and ran make -install for both lapack and BLAS.
In my makefile, I have
LIBRARIES = -L/usr/lib -lgsl -lblas -llapack
in /usr/lib the files liblapack.o.3 and libblas.o.3 (or something like that. I forget the exact file ending) exist. When I ran this on my old computer, a Mac laptop, the analogous directory was the correct one to use. However, Macintosh computers ship with veclib which takes the place of lapack, so the makefile is fairly different.
If anyone has any advice or knows a good place to look, let me know. The professor has other things to deal with, so I think this is my problem.
PS the lapack and gsl sites have tons of excellent information, but it all assumes that you are not a moron... and has therefore not been helpful to me
I am working with a professor who has me running his code (C++) that links to gsl and lapack. Specifically, the code itself has a file that is the interface between the fortran lapack and the C++ code he wrote. The code also uses the gsl minimizer and another gsl function that I don't recall right now.
I am running the big program on a school machine that I ssh into, but it is helpful to run a smaller version on my home computer. I just bought a new computer which is running Debian Wheezy (could this be part of the problem? it isn't fully stable, but development is frozen). I downloaded gsl and followed the GNU installation steps. Then I downloaded lapack, unpacked and ran make -install for both lapack and BLAS.
In my makefile, I have
LIBRARIES = -L/usr/lib -lgsl -lblas -llapack
in /usr/lib the files liblapack.o.3 and libblas.o.3 (or something like that. I forget the exact file ending) exist. When I ran this on my old computer, a Mac laptop, the analogous directory was the correct one to use. However, Macintosh computers ship with veclib which takes the place of lapack, so the makefile is fairly different.
If anyone has any advice or knows a good place to look, let me know. The professor has other things to deal with, so I think this is my problem.
PS the lapack and gsl sites have tons of excellent information, but it all assumes that you are not a moron... and has therefore not been helpful to me