This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gfortran and lapack problem
- From: Christian <cdeb77 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 20 Oct 2014 11:42:38 -0400
- Subject: Re: gfortran and lapack problem
- Authentication-results: sourceware.org; auth=none
- References: <CAHeeG7cRDfjebV4LvFQHpODr-G90CBQ4zY8b-xHnO6SLVGZc8Q at mail dot gmail dot com> <BAY169-DS1987F409DAC3D45ABA0626A7970 at phx dot gbl>
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@kelman.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