From owner-freebsd-ports-bugs@freebsd.org Mon Oct 23 22:13:52 2017 Return-Path: Delivered-To: freebsd-ports-bugs@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 1B46EE56661 for ; Mon, 23 Oct 2017 22:13:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01FF025BA for ; Mon, 23 Oct 2017 22:13:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9NMDp3C078533 for ; Mon, 23 Oct 2017 22:13:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223200] math/R with OPENBLAS, openblas is not linked or used. Date: Mon, 23 Oct 2017 22:13:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ebs15242@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jrm@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 22:13:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223200 Bug ID: 223200 Summary: math/R with OPENBLAS, openblas is not linked or used. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jrm@freebsd.org Reporter: ebs15242@gmail.com Assignee: jrm@freebsd.org Flags: maintainer-feedback?(jrm@freebsd.org) Enabled OPENBLAS, config told me FLANG was not supported, so I enabled GFORTRAN. $ pkg info R | grep 'BLAS\|FORTRAN' GFORTRAN : on OPENBLAS : on RBLAS : off Built successfully. Blas is not mentioned in sessionInfo() > sessionInfo() R version 3.4.2 (2017-09-28) Platform: amd64-portbld-freebsd11.0 (64-bit) Running under: FreeBSD bio 11.0-STABLE FreeBSD 11.0-STABLE #0 r321665+25fe8ba8d06(freenas/11.0-stable): Mon Sep 25 06:24:11 UTC 2017=20= =20=20=20 root@gauntlet:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas= /_BE/os/sys/FreeNAS.amd64 amd64 Matrix products: default LAPACK: /usr/local/lib/R/lib/libRlapack.so locale: [1] C Nor is it being used by a running R process.=20 $ lsof | grep -i blas lsof: WARNING: compiled for FreeBSD release 11.0-RELEASE-p13; this is 11.0-STABLE. $ It appears to not have even been linked.=20 $ ldd /usr/local/lib/R/library/stats/libs/stats.so /usr/local/lib/R/library/stats/libs/stats.so: libRlapack.so =3D> not found (0) libgfortran.so.3 =3D> /usr/local/lib/gcc6/libgfortran.so.3 (0x8012b= a000) libm.so.5 =3D> /lib/libm.so.5 (0x8015e2000) libquadmath.so.0 =3D> /usr/local/lib/gcc6/libquadmath.so.0 (0x80180= d000) libR.so.3.4 =3D> not found (0) libc.so.7 =3D> /lib/libc.so.7 (0x800823000) libgcc_s.so.1 =3D> /usr/local/lib/gcc6/libgcc_s.so.1 (0x801a4c000) $ ldd /usr/local/lib/R/lib/libR.so /usr/local/lib/R/lib/libR.so: libgfortran.so.3 =3D> /usr/local/lib/gcc6/libgfortran.so.3 (0x80161= 3000) libm.so.5 =3D> /lib/libm.so.5 (0x80193b000) libquadmath.so.0 =3D> /usr/local/lib/gcc6/libquadmath.so.0 (0x801b6= 6000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x801da5000) libreadline.so.7 =3D> /usr/local/lib/libreadline.so.7 (0x801faf000) libpcre.so.1 =3D> /usr/local/lib/libpcre.so.1 (0x8021ff000) liblzma.so.5 =3D> /usr/lib/liblzma.so.5 (0x802477000) libbz2.so.4 =3D> /usr/lib/libbz2.so.4 (0x8026a0000) libz.so.6 =3D> /lib/libz.so.6 (0x8028b5000) librt.so.1 =3D> /usr/lib/librt.so.1 (0x802acc000) libicuuc.so.59 =3D> /usr/local/lib/libicuuc.so.59 (0x802cd1000) libicui18n.so.59 =3D> /usr/local/lib/libicui18n.so.59 (0x803200000) libc.so.7 =3D> /lib/libc.so.7 (0x800823000) libgcc_s.so.1 =3D> /usr/local/lib/gcc6/libgcc_s.so.1 (0x8036b2000) libncursesw.so.8 =3D> /lib/libncursesw.so.8 (0x8038c8000) libthr.so.3 =3D> /lib/libthr.so.3 (0x803b24000) libicudata.so.59 =3D> /usr/local/lib/libicudata.so.59 (0x803d4b000) libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x803f4c000) libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x80420b000) Openblas did make and install. $ pkg info openblas openblas-0.2.20_1,1 Name : openblas Version : 0.2.20_1,1 Installed on : Mon Oct 23 12:14:23 2017 PDT After installation, on running R, stats.so complained about not finding libRlapack.so. I had to manually copy it to /usr/local/lib/R/lib/. I don't know if this is related, but I thought I'd mention it. It does not complai= n at all about missing BLAS. --=20 You are receiving this mail because: You are the assignee for the bug.=