gfortran and lapack problem

Tony Kelman tony@kelman.net
Mon Oct 20 08:10:00 GMT 2014


> 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



More information about the Cygwin mailing list