I want to use the
gfortran test.f90 -lblas -llapack
to compile the file test.f90 and want to use arpack but there is an error message:
test5.f90:(.text+0x7d9): undefined reference to `dsaupd_'
test5.f90:(.text+0x990): undefined reference to `dseupd_'
test5.f90:(.text+0xbbf): undefined reference to `dmout_'
In addition to Steve's comments: note that Arpack is not part of BLAS or Lapack, so you would need to build it from sources or find a pre-built Arpack library and install it.
I understand that probably I post the question in the wrong forum but before I delete it, I would like to reply to mecej4. I have installed Arpack following http://modb.oce.ulg.ac.be/mediawiki/index.php/How_to_compile_ARPACK. I would like to know what my problem I have.
If you have followed those instructions, your app will need to be linked with -L$HOME/ARPACK etc ahead of the lapack and blas references. Any of the clf, gcc-help, or stackoverflow/fortran sites should be helpful.