delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/01/16:41:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM
X-Spam-Check-By: sourceware.org
From: "Timothy Sliwinski" <zensunnioracle AT gmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: gfortran, lapack, and cygwin
Date: Tue, 1 Feb 2011 16:41:27 -0500
Message-ID: <C8FD652314C840A4B74BF3847CE030DB@MASTERSHAKE>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Greetings all,

I am having a particularly hard time getting lapack, gfortran and cygwin to
play nice. I installed the lapack packages under the math section of
setup.exe, however, when I go to use them with gfortran, I get errors saying
gfortran can=92t find the libraries.

I am using the following command for my compilation:

$ gfortran test.for =96o test =96llapack

And the error I receive is=20

/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
=A0-llapack
collect2: ld returned 1 exit status

When I go to look for the lapack libraries, they are located in /lib/lapack
and there is a file called cyglapack-0.dll along with a similarly titled
BLAS DLL.=20

In the end, I am at a loss as to how to use lapack with gfortran in cygwin
after installing it.=20

Did I miss something easy or am I just doing this completely wrong?

Thanks in advance!

-Tim


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019