delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/20/04:08:51

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:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=u/+yufn
V5sbvagqiAXdAg55sobsDy0ahAQYvUarto8WYzY3prHxdjYkN8jsP+a/H8C2wxkb
6YJEokQADi3noR1NzsdXMOSMk1mT5NksyCNA+C/c86QojLfL338/OP4SsUgu0Khu
z0foNhgiqSduiHFmol6AxsU+3RJ7cZMSKo8M=
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:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=ggEDxLSKKNQVW
xj/KeQUF+wHmik=; b=wsEFdHrBfGGsbBVNfraFqMGZGhLydr6D3atATkiF9VfAR
k8Ka77mDdYzfvvFFabhO1P64TRTEopZ200bD0pWq1JrKnoz/3yJw+DB/IW6gA3H8
cmQC1iecqOGaKW8x9MkYky5/D9Y5aRS55DSDD1wAcgljUOXmgwRCswb1Xkn3eI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.5 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1383, boots, Tao, tao
X-HELO: mail-qt0-f182.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=RYBnNM2K4OSw/4RvPc3UZoVm8BWq9agQAYCS5Pv2gnI=; b=riwzfo6ibXtz21nKwwRu17P1B6jL/BXCcEpyQRhJ60gfp8wvBXGeLKrglcGUxvdn4T A/WFa15fG6m6nM0zrAx0RLU2f6TqX48ZY6bQRusNlOCzI5aipMXcbO7B8fjvnOa3COhM HPN19Nyv0r6v0sflcpD2FFILxLSO+c2BshBNuUqH1kIhIR2fCA2VuIxmElHK4mlZgWp1 o/N2dcWlMyVqG5XEwvbA02D9JGsTq6PLWfrXD/dvN8MISP9zKnfA1ycWhlbVBzflPFTP TPgkH5Ui9Uk/fznJqt81afbQq2kk/I6scco4rX8VlEJWqLANqgBbAS+JInyujOFIb6oP /I9Q==
X-Gm-Message-State: AJaThX7cHuGUJSJGlDhi9mHK6H4EHazXoykEObI4qkt/wwUmJHTAv2S1 AZsCFJNS0e/Fz5yUZqdOsJbYZ0/+zEPxHNX9i6DvvQ==
X-Google-Smtp-Source: AGs4zMbyRACc+CJO+3VtQ9QG/3I2pVgBTRbbUBf986M1UhbLWrwAq1plGuP0HmDlCd56uWXkWTfWQ3GL0jzNSpFVrJU=
X-Received: by 10.237.60.206 with SMTP id e14mr17911168qtf.157.1511168917097; Mon, 20 Nov 2017 01:08:37 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <26ce98a9-facd-a1df-e0da-84d5d339a1eb@gmail.com>
References: <fa614009-30e2-64da-f012-7bbcc5c5d3cb AT gmail DOT com> <CAEhDDbAb-2nBvi-7t7aN=9-dFoAEm1=p21-nabyOfZXyEr+dcg AT mail DOT gmail DOT com> <26ce98a9-facd-a1df-e0da-84d5d339a1eb AT gmail DOT com>
From: Csaba Raduly <rcsaba AT gmail DOT com>
Date: Mon, 20 Nov 2017 10:08:36 +0100
Message-ID: <CAEhDDbAUUQnKrk3YVDGniHA9qS6vVBpzqZUnMrxqpO8w+HOy6A@mail.gmail.com>
Subject: Re: undefined reference to LAPACKE_***
To: cygwin list <cygwin AT cygwin DOT com>

Hi Zekios,

On Sat, Nov 18, 2017 at 7:20 PM, Constantinos Zekios  wrote:
> Hi Csaba,
>  so I am using a cmake and it is of the format:
>
> set(LAPACK_LIB "/usr/lib/liblapack.so")
> set(LAPACK_LIB "/usr/lib/liblapacke.so")
> set(BLAS_LIB "/usr/lib/libblas.so") for my ubuntu system,
>
> which I changed it to:
>
> set(LAPACK_LIB "/usr/lib/liblapack.a")
> set(BLAS_LIB "/usr/lib/libblas.a") for the cygwin.
>
> If I set the set(LAPACK_LIB "/usr/lib/liblapacke.a") it complains that it
> doesn't exist, since as you also said this package doesn't exist in Cygwin.
> So in my code I am calling at some point functions like the LAPACKE_zlange
> and there is the issue. I guess I cannot use them in Cygwin, and I will have
> to change it to FORTRAN calls


Please don't top-post on this mailing list. (
https://cygwin.com/acronyms/#TOFU )

I was asking for the linker command line, not the content of the cmake files.
You can get this by running

make VERBOSE=1

or

ninja -v

depending on the generator you chose.


Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019