Linking lapack with my f77 code
Hi all,
I should use subroutine ZGEEV in my code. But, while I am trying to compile my code
f77 -o result my-code.f -L/usr/lib -llapack -lblas
I got the following error :(
/tmp/cc4nQ0va.o(.text+0x152f): In function `MAIN__':
: undefined reference to `cmplex_'
collect2: ld returned 1 exit status
I am a complete newbie at using libraries. Can anyone help me?
Cheers,
Zahra
I should use subroutine ZGEEV in my code. But, while I am trying to compile my code
f77 -o result my-code.f -L/usr/lib -llapack -lblas
I got the following error :(
/tmp/cc4nQ0va.o(.text+0x152f): In function `MAIN__':
: undefined reference to `cmplex_'
collect2: ld returned 1 exit status
I am a complete newbie at using libraries. Can anyone help me?
Cheers,
Zahra