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:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=lS3s9jFeA3v/M80sQNeIHMThvOF2X GmEf0DsOkZ9i8cUP3m1FRYxiBkC7cZLJjvwqYGJT/iCdOb+99FVn7Cc81pNJWdLA vU36BTXcpPV0jXFKd0N4eKpEH/ovAqgEWAa23+j1U31rW/zpYu6epYvuchzqMazZ oQCKwZtVOIHmzE= 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:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=GUUGRhezszVNKtHIdT3+VM/d8zA=; b=vD5 iEzp2SOVfefIMwNeJS/5b7W0ZxZ4J9H6w/VHh8BHSib0uD9dXFTYaFfr2/gdl+xN sgy0KciWe7Lnaup55hYhfMGUBhCdLKEh7165R2hCwMlk2v5YdxrBtJPd39OpWWFQ tbiwX9CqwzFwvJ+o8qLSOyTMve0f6CE8bvy3gBkM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qc0-f182.google.com MIME-Version: 1.0 X-Received: by 10.224.120.1 with SMTP id b1mr33223508qar.19.1413786930412; Sun, 19 Oct 2014 23:35:30 -0700 (PDT) Date: Mon, 20 Oct 2014 02:35:30 -0400 Message-ID: Subject: gfortran and lapack problem From: Christian To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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 :: A(2,2) = RESHAPE( (/1, 2, 3, 4/), (/2,2/) ) DOUBLE PRECISION :: B(2,1) = RESHAPE( (/5, 6/), (/2,1/) ) INTEGER, DIMENSION(2) :: ipiv INTEGER :: n, info EXTERNAL DGESV PRINT *,'Printing the results' CALL DGESV(2, 1, A, 2, ipiv, B, 2, info) PRINT *, info PRINT *,'End printing' END PROGRAM MyTest 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). Am I doing something wrong or is there any problem in my lapack installation? Best, C -- 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