Page 1 of 1

f2c_ undefined symbol error while using DGEQRF

PostPosted: Mon Sep 03, 2007 1:35 pm
by dinlera
Hi everyone,

i have a weird problem and i am really confused. i was using MKL LAPACK with ifort. But i am now using standard LAPACK on OSX. i installed ATLAS and full LAPACK. Everything was ok until i call DGEQRF function.

Code: Select all
g95 -o den den.f -L/Users/alidinler/LIB/lapack-3.1.1/atlas/lib -llapack -lcblas -lf77blas -latlas -lg2c -lm
ld: Undefined symbols:
_f2c_dcopy
_f2c_dgemm
_f2c_dtrmm
_f2c_dgemv
_f2c_dtrmv
_f2c_dger
_f2c_dnrm2
_f2c_dscal
make: *** [den] Error 1


actually some matrix multiplication, linear system solver and eigenvalue functions are working. But DGEQRF function is not working.(probably there are other functions that are not working)

Also with MKL and ifort code is working.

Could anyone help me?

dinlera

PostPosted: Wed Sep 05, 2007 2:17 pm
by Julie
dinlera,
This is more a question for the ATLAS guys as you are using their LAPACK.
If you are programming in Fortran, I will advice you to use the LAPACK from netlib that is implemented in Fortran. You will able to compile it directly with g95.
Just a thought: How did you configure ATLAS with g95 on your Mac?
Julie

PostPosted: Mon Sep 17, 2007 7:57 am
by dinlera
Thanks for your advice