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

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:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=BspvY9G6f5O0ffWc
FMQa+5eLcuC/PKrnk6bkxlwBc3syoQsCxuUkiPToyunrAYrL9JIkoUpJyAXa/2Ot
UqgA85HZtkmyMdB8lHJEJjF+v/5sLqyd7sj+6m5tphqo4TOXGC4ESZHRBkBZPDS2
oiemqd1EwalkTOT/UBevKU8+cnw=
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:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; s=default; bh=3YMRaGUv5ojMu4H7AHKxGH
gRiqs=; b=GRuHFZKElknpAk2IZbdlUigdVlGXtqCYbf9hJiRCs26iIi7h1KV+7W
NBTofbeBJ3xWu1WaL5GqmyCgLCQeoTHVxMMvnUPwdq9Ke7ts4YMXwLGiLYQcb5aL
rUguCeMu8ZOj/3XmCAorcDmSVgRRp6p2mEsTL6UUQ5XEwLTtWY7Mk=
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.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: BAY004-OMC1S11.hotmail.com
X-TMN: [Y05nACJqUjsmiPrfDuMkw6Wa29fCga9/]
Message-ID: <BAY169-DS1987F409DAC3D45ABA0626A7970@phx.gbl>
From: "Tony Kelman" <tony AT kelman DOT net>
To: <cygwin AT cygwin DOT com>
References: <CAHeeG7cRDfjebV4LvFQHpODr-G90CBQ4zY8b-xHnO6SLVGZc8Q AT mail DOT gmail DOT com>
In-Reply-To: <CAHeeG7cRDfjebV4LvFQHpODr-G90CBQ4zY8b-xHnO6SLVGZc8Q@mail.gmail.com>
Subject: Re: gfortran and lapack problem
Date: Mon, 20 Oct 2014 01:10:47 -0700
MIME-Version: 1.0
X-IsSubscribed: yes

> 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

- Raw text -


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