This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gfortran and lapack problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]