delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/20/11:42:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=mz
r5GsutT1ggQ0FmpC/weQKnyhmYVvSwbLrAAcVMP8n2LYLjn/SmR+gY48/y6YDkMi
+uURCWpbHJnf8/y9vY1kpoHFbqhpFKNBpv70KZEBOsknToP5KU0sLk0t095W85TO
PwVG3K0E7dbpRWzKBGTOOyCU1nCubwnjmWIbk0mSY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=Ub0YTb4H
dPlDyILoTVanhBsMHPc=; b=X/KfqJjkGp0fCHLwehhgKIx1I7Xrsm1nrvg1bA8d
m1ubH9c0TXzajI60MDteomQbWG4F8jkyWA1YLapUwquv+EycOsn/cFbR5q/KoEnL
pWlxD6XV7yJf4PANGWKWFs8VLvI7zcdyVQC9SkyEsU3IPWR3CBq6XtUZc7LaoSOv
tjw=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qc0-f172.google.com
MIME-Version: 1.0
X-Received: by 10.140.22.165 with SMTP id 34mr33811459qgn.16.1413819759067; Mon, 20 Oct 2014 08:42:39 -0700 (PDT)
In-Reply-To: <BAY169-DS1987F409DAC3D45ABA0626A7970@phx.gbl>
References: <CAHeeG7cRDfjebV4LvFQHpODr-G90CBQ4zY8b-xHnO6SLVGZc8Q AT mail DOT gmail DOT com> <BAY169-DS1987F409DAC3D45ABA0626A7970 AT phx DOT gbl>
Date: Mon, 20 Oct 2014 11:42:38 -0400
Message-ID: <CAHeeG7dVe_sCYb3qwbz=GiUXGm+RfqCkUV-gJMipkU12ntVo6Q@mail.gmail.com>
Subject: Re: gfortran and lapack problem
From: Christian <cdeb77 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I'm using 64 bit Cygwin.
I guess that the "compilation finished" message I got is because of my
compiling interface, so I don't think is important.
Regarding the checks you suggested:

$ cygcheck gfortran
Found: D:\Cygwin64\bin\gfortran.exe
Found: D:\Cygwin64\bin\gfortran.exe
Found: D:\Cygwin64\bin\gfortran.exe
D:\Cygwin64\bin\gfortran.exe

And then a bunch of dll's. When I check gfortran I get

$ which -a gfortran
/usr/bin/gfortran
/usr/bin/gfortran
/usr/bin/gfortran

While for blas:

$ which -a cygblas-0.dll
/usr/lib/lapack/cygblas-0.dll

Thanks!


On Mon, Oct 20, 2014 at 4:10 AM, Tony Kelman <tony AT kelman DOT net> wrote:
>> I compile it as gfortran MyTest.f90 -o MyTest -llapack -lblas. I don't
>> get any errors (it says "compilation finished"), but the output file
>> doesn't print anything (neither the strings, or the variable info). If
>> I comment the "CALL DGESV" line, it does print everything (with
>> info=0, of course).
>
>
> 32 bit or 64 bit Cygwin? Works for me, I get
>
> $ gfortran MyTest.f90 -o MyTest -llapack -lblas
>
> $ ./MyTest
> Printing the results
>           0
> End printing
>
> So no "compilation finished" message. Might you have some other
> version of gfortran on your path? I believe cygcheck.out would
> list some of this information. Other things to check:
>
> which -a gfortran
> which -a cygblas-0.dll
>
>
> --
> 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
>

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