LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compile Fortran with ARPACK in Linux (https://www.linuxquestions.org/questions/linux-software-2/compile-fortran-with-arpack-in-linux-4175603126/)

Wilson Cheng 04-03-2017 06:18 PM

Compile Fortran with ARPACK in Linux
 
I want to use

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_'

What is the code (like -llapack) to use arpack

knudfl 04-04-2017 07:09 AM

Welcome to LQ.

Quote:

What is the code (like -llapack) to use arpack
Probably -larpack

I.e. you have e.g. /usr/lib64/libarpack.so


All times are GMT -5. The time now is 04:08 PM.