From owner-freebsd-ports@freebsd.org Thu Jun 23 04:48:44 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 264C3B72203 for ; Thu, 23 Jun 2016 04:48:44 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id F29AA1C4A for ; Thu, 23 Jun 2016 04:48:43 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id EE5D3B72202; Thu, 23 Jun 2016 04:48:43 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDF2BB72201 for ; Thu, 23 Jun 2016 04:48:43 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A50F21C49 for ; Thu, 23 Jun 2016 04:48:43 +0000 (UTC) (envelope-from korekontakt@gmail.com) Received: by mail-qk0-x22c.google.com with SMTP id c73so93480896qkg.2 for ; Wed, 22 Jun 2016 21:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7RGHBfIZMmAUVgNSOhvbW6skKgLLMrdHjLN4v2vxxL4=; b=F+hSWAohJCmHcgkNheOpl7kSVaS4tpmzZzIBQYGccMr5X7lHaNuU7h2YIj7FgVDVrf EQnJxWst/LDFnkNtlDJkgZg0/SAJZ42WM3sO2TLka1zbliD89MpatyfHQBsE4tKQHYGq h3U11TjIU9g+eLmB3ZWnLRsBWfqnGntaKoPdCqo6FnDi0mHFvORRuboHsoXbaDEZoYJQ W3P3xIpdEebSxltV3OrVB6LjSADWX5I+fEkEwaXhe/M+TepSJY/2ZQM+HCNBoLTCREBE E0SMIDBpWr0qFprSDeyeODcQTyyvxJbqsmK1fJ17eQDG73k+LS9WxCM8LSyJBYtbtNPc GF4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7RGHBfIZMmAUVgNSOhvbW6skKgLLMrdHjLN4v2vxxL4=; b=DqOYQDQFh+vnW7G21pCZHBZxi6LeVe9PCIE6+QHbI9LokRKdpBVsDrSoHaPTdZHkCs dSGP5mSEpA5CH9KMUq4a0gOdOaMW6XU+83WiPQbCE2CGx5uhdRbiOAwMpg0HzySAYZnq cZl36NtDYnHV7as29jBCg8ACMfBKoekQyml6mWDGLKgBTkNKCeAvheX6JhXzj0l1N1u6 G9MM33OwMPYl6mlmo5jPOv+9MhUsza+IDGX/+JdULVqB8OIhnbRuNbWlxU+p2IFcScfZ 4yjoIgsYw2WdHcA8Cu1IM1XzV6PrgljexU2lsjdgywtKFl5eT0590CgPbFm5kBP3RsdK WxOg== X-Gm-Message-State: ALyK8tLMeIr1x8lU2DtZwgUoFeSnS8nxIDHZpgBKSW6PSz2fw/mu6K/54+HEHqzhcGjLYJ88dyQ13D96wFpLVg== X-Received: by 10.200.37.9 with SMTP id 9mr23158323qtm.31.1466657322787; Wed, 22 Jun 2016 21:48:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.52.229 with HTTP; Wed, 22 Jun 2016 21:48:41 -0700 (PDT) In-Reply-To: References: <20160609190710.GT41922@home.opsec.eu> <9f300278-31ab-bc50-1fc7-8e7e6dc44215@toco-domains.de> From: Raymond Cheung Date: Thu, 23 Jun 2016 12:48:41 +0800 Message-ID: Subject: Re: Wxlua / Zbstudio To: Torsten Zuehlsdorff Cc: Kurt Jaeger , ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 04:48:44 -0000 Compiled log for torch7: -- Checking for [openblas] -- Library openblas: /usr/local/lib/libopenblas.so -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Checking for [openblas - pthread] -- Library openblas: /usr/local/lib/libopenblas.so -- Library pthread: /usr/lib/libpthread.so -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Checking for [goto2 - gfortran] -- Library goto2: /usr/local/lib/libgoto2.so -- Library gfortran: BLAS_gfortran_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: /usr/local/lib/libgoto2.so -- Library gfortran: BLAS_gfortran_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [blas] -- Library blas: /usr/local/lib/libblas.so -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Cannot find a library with BLAS API. Not using BLAS. -- Checking for [openblas] -- Library openblas: /usr/local/lib/libopenblas.so -- Checking for [openblas - pthread] -- Library openblas: /usr/local/lib/libopenblas.so -- Library pthread: /usr/lib/libpthread.so -- Checking for [goto2 - gfortran] -- Library goto2: /usr/local/lib/libgoto2.so -- Library gfortran: BLAS_gfortran_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: /usr/local/lib/libgoto2.so -- Library gfortran: BLAS_gfortran_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [blas] -- Library blas: /usr/local/lib/libblas.so -- Cannot find a library with BLAS API. Not using BLAS. -- LAPACK requires BLAS -- Cannot find a library with LAPACK API. Not using LAPACK. Required libs are installed: [root@gkvmrcb001 /opt/torch]# pkg info | grep blas blas-3.5.0_3 Basic Linear Algebra Subroutines gotoblas-2.1.13.3.4.0_6 Fast implementation of Basic Linear Algebra Subprograms openblas-0.2.18_1,1 Optimized BLAS library based on GotoBLAS2 [root@gkvmrcb001 /opt/torch]# pkg info | grep lapack lapack-3.5.0 A library of Fortran 77 subroutines for linear algebra lapack++-2.5.4 Linear Algebra PACKage in C++, a wrapper for LAPACK Run time errors: geev : Lapack library not found in compile time gels : Lapack library not found in compile time gesv : Lapack library not found in compile time gesvd : Lapack library not found in compile time getrf : Lapack library not found in compile time potrf : Lapack library not found in compile time pstrf: Lapack library not found at compile time syev : Lapack library not found in compile time trtrs : Lapack library not found in compile time 2/154 testCholesky .................................................... [ERROR] 8/154 gels_reuse ...................................................... [ERROR] 9/154 inverse ......................................................... [ERROR] 14/154 gesv_reuse ...................................................... [ERROR] 19/154 eig_noncontig ................................................... [ERROR] 22/154 pstrf ........................................................... [ERROR] 35/154 gels_uniquely_determined ........................................ [ERROR] 38/154 trtrs_reuse ..................................................... [ERROR] 54/154 gesv ............................................................ [ERROR] 57/154 gels_underdetermined ............................................ [ERROR] 60/154 gels_overdetermined ............................................. [ERROR] 65/154 eig_reuse ....................................................... [ERROR] 81/154 svd_reuse ....................................................... [ERROR] 89/154 trtrs ........................................................... [ERROR] 92/154 svd_noncontig ................................................... [ERROR] 110/154 symeig_noncontig ................................................ [ERROR] 115/154 eig ............................................................. [ERROR] 123/154 potri ........................................................... [ERROR] 129/154 svd ............................................................. [ERROR] 152/154 test_symeig ..................................................... [ERROR] 153/154 potrs ........................................................... [ERROR] On Thu, Jun 23, 2016 at 8:04 AM, Raymond Cheung wrote: > Hi Torsten, > > OpenBlas (make config; # with OpenMP option), OpenMP, Lapack & ++, > GotoBlas are installed. Header files of OpenBlas is also included to > $CMAKE_LIBRARY_PATH. However, I still got the same error message, missing > lapack. > > I tried on both FreeBSD 10.3 and 11 Alpha 4 with gcc, clang34, clang37, > clang38 and clang-devel. But no luck. FreeBSD 11 Alpha 4 plus > clang38/clang-devel produced the less errors. > > Raymond > On Jun 22, 2016 16:48, "Torsten Zuehlsdorff" > wrote: > >> Hello Raymond, >> >> I call run zbstudio 32bit binary on FreeBSD 11 Alpha 4. I will try to >>> build >>> wxlua later. >>> >>> Another question about lua / torch is lapack. I tried to make and install >>> via the OpenBlas port with the flags (add USE_THREAD=1 NUM_THREAD=8 in >>> order to make) suggested by the link below: >>> https://github.com/torch/torch7/issues/174 >>> >>> However, it can't find the .a file of OpenBlas after build/compile. If I >>> make without flags, it can make install properly. Please help. >>> >> >> Mh, i'm not very familiar with such lua issues. And also i have no clue >> what you have done and what the concrete problem is. >> After some recherche i would suggest to try install math/lapack++ or >> math/lapack. Better the first one since it depends on OpenBlas and provides >> a file named "lib/liblapackpp.a" The other port provides a file called >> lib/liblapack.a. I'm not sure which is the correct one - but give it a try. >> >> Greetings, >> Torsten >> >