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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?windows-1252?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: gfortran, lapack, and cygwin
Date: Tue, 01 Feb 2011 15:48:33 -0600
Lines: 29
Message-ID: <ii9v3k$j20$1@dough.gmane.org>
References: <C8FD652314C840A4B74BF3847CE030DB AT MASTERSHAKE>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <C8FD652314C840A4B74BF3847CE030DB@MASTERSHAKE>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 2/1/2011 3:41 PM, Timothy Sliwinski wrote:

[snip]
> $ gfortran test.for =96o test =96llapack
>=20
> And the error I receive is=20
>=20
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cann=
ot
> find
>  -llapack
> collect2: ld returned 1 exit status
>=20
> When I go to look for the lapack libraries, they are located in /lib/lapa=
ck
> and there is a file called cyglapack-0.dll along with a similarly titled
> BLAS DLL.=20

Try:

gfortran test.for =96o test -L/lib/lapack =96llapack

There is probably a /usr/doc/Cygwin/lapack.README or similar (with
version number or uppercase) that has some documentation.  I really
don't know since I don't use Fortran since school ;-)
--=20
Ren=E9 Berber



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