LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2017, 06:18 PM   #1
Wilson Cheng
LQ Newbie
 
Registered: Apr 2017
Posts: 1

Rep: Reputation: Disabled
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

Last edited by Wilson Cheng; 04-03-2017 at 06:23 PM.
 
Old 04-04-2017, 07:09 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install ARPACK (fortran libraries) StudMuffin Linux - Software 14 05-29-2013 04:14 AM
fortran compiler that can compile progs on a linux machine, but execute on windows XP pbeierle Linux - Software 3 01-07-2010 03:04 PM
compile old fortran code in linux v2010 Linux - Software 2 12-13-2005 04:32 PM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration