Re: gfortran and lapack problem

2014-10-20 Thread Christian
It appears that it is a problem with the terminal I was using. I was compiling my code using the smart-compile package for emacs, and then printing the output using the emacs-shell. The compilation was not the problem (I compiled it from the Cygwing terminal as well with the same results). But when

Re: gfortran and lapack problem

2014-10-20 Thread Marco Atzeri
On 10/20/2014 5:42 PM, Christian wrote: 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. can you remove the interface usage an use only gfortran MyTest.f90 -o MyTest -llapack -lblas For my it

Re: gfortran and lapack problem

2014-10-20 Thread Christian
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

Re: gfortran and lapack problem

2014-10-20 Thread Tony Kelman
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). 3

gfortran and lapack problem

2014-10-19 Thread Christian
Hi all, I'm having problems setting up gfrortran with lapack. I installed lapack and liblapack-devel from cygwin, but when I try to compile I cannot get any result, although I don't get any error. This a very simple code I'm trying to compile: PROGRAM MyTest IMPLICIT NONE DOUBLE PRECISION ::