From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0Hc+ODajFmXhKAAAauVa8A:P1 (envelope-from ) for ; Fri, 29 Sep 2023 12:13:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0Hc+ODajFmXhKAAAauVa8A (envelope-from ) for ; Fri, 29 Sep 2023 12:13:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 563755E1B2 for ; Fri, 29 Sep 2023 12:13:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SfFtJZls; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695982390; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Fcs92P9qkeGuWzmk5wScTH29/SAsbulYOR1lK3Ji8AY=; b=KE+S2Z3scOPgAd6uUN5ZsH+qTzVNRANWBYwJlikc1NU/XfFac14RKRLuqQYdv58OQPHv2D QpvkHeveO2QE5VmfPqq+fvdqYDH7iX2z16XUK4cXQKHMT/zNJtl3GIdgkEPd4iUWPmM3KG BD/JGCAWrb8LVtIdnQGbD71JBIlg9777EJTHXL8LJlutXB2TCC+JfcozxrGUxNYF3xT+H1 X46wGm89wX4W7SsmWzuAZeqyYikXlBtVIWqEx3Tghk4MCmV4uJzK+Ft0SJWYVGc+T0wtpI ZAoxbm9Ys27jVwQuqke4+8N79N3IP7x7HCM98mc6hCX+A3vahAd9570tE3wY+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695982390; a=rsa-sha256; cv=none; b=ZfiCGE27iZHeB2uecLncNlCQenf2W8ztB8ruZXSYs04FnTJrXTBoiNoJIlO4/jtDnuWa7K /P4HjLtu/uZX8c3RYP8JlafpNrRxI9+WqouaD4EucL+v9088Qq6FiT8J2Q1TLgFcljVGBV tptedOx8jY6n7fxW/2HhOQISjpgrs5Xfyj61vcECK/3uz+bPf0PhxfydbRG3LSdjkVj+ZM tzC6s4vxNCUEGdrq9q1QqZTlJLJ4+5RvdTx1cPztlEwFPU52K9YunoheYt6b96Lo3O7Knt HwexJ62O+NkkRB6HzuuCuOjXQ7PDPvct9NweABajmAUucCufBqPcEC8nbERczQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SfFtJZls; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmAUO-0005qM-8d; Fri, 29 Sep 2023 06:12:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmAUL-0005ps-UD for bug-guix@gnu.org; Fri, 29 Sep 2023 06:12:49 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmAUL-00081A-Ii for bug-guix@gnu.org; Fri, 29 Sep 2023 06:12:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmAUY-0006OY-Jb for bug-guix@gnu.org; Fri, 29 Sep 2023 06:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63986: Julia is very slow Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 29 Sep 2023 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63986 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63986@debbugs.gnu.org, Nicolas Graves , csantosb@inventati.org, Simon Tournier Received: via spool by 63986-submit@debbugs.gnu.org id=B63986.169598236624557 (code B ref 63986); Fri, 29 Sep 2023 10:13:02 +0000 Received: (at 63986) by debbugs.gnu.org; 29 Sep 2023 10:12:46 +0000 Received: from localhost ([127.0.0.1]:55393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmAUD-0006Nw-0j for submit@debbugs.gnu.org; Fri, 29 Sep 2023 06:12:45 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:59653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmAU7-0006NW-Ah for 63986@debbugs.gnu.org; Fri, 29 Sep 2023 06:12:39 -0400 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9ad8bf9bfabso1883461666b.3 for <63986@debbugs.gnu.org>; Fri, 29 Sep 2023 03:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695982335; x=1696587135; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=Fcs92P9qkeGuWzmk5wScTH29/SAsbulYOR1lK3Ji8AY=; b=SfFtJZlsKytobrVATvLunzTW3BD1wFDsMahuBghN1+odT39M14HOdbJFjKyuCni9zE eN3hhkZ+wPUg+syWaJuqn8eu8sxgDVBUoupQ8SLO0mdeX2HVz3f5u0sWGjq4/+CchTFn zj9sjl0/lHIQr/G3/ey3T3Tjeqe5MkRPDX15GY3YTAEPUnY9J98haekVGXUJ+lw59dzB udpQRtyrg3wZWusHjIHr4F/nSATMLeVuD+fAE0M+LPmHQUHMWVMxD/12liUPJJKF23Nl 4cJ6FRMmaiz6h3Uojd9zsPAEJQLht1HFOEW3pGij4E5U5GG8X3Cadfy5IsgNzyXIGRpT kM3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695982335; x=1696587135; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fcs92P9qkeGuWzmk5wScTH29/SAsbulYOR1lK3Ji8AY=; b=xNiHpKYR48SvP2XFkytdf80EGNZvPDnUG8BqWZ15MPMAsAh1LmSkfWp4H8mcBLCF8k MDnafTahSCnsXH7NqQbDamZaM5TpNyMSo9uxf0hGj7OV/+DefQMQ73TVOZTGp6aMyuoM 5JN4oE55cm0NbzbRtsWZge2ztXT/BadXBJ/06aNSHrPStYvSiTOaxqxd2uPj+yJDKkqJ FHt6jNI+cvq50JW9K9rS9jmgddp/UJTXfS7R00CvaM6PUacvR8rnsicU6L5sc9M4D6zD yA8JQWuNoKW2CQY0hnwAvi+xKekMB51+KgqtMVgnqfxvLbbQhEy+3MuQbUwMK1nTD/9q 9q1Q== X-Gm-Message-State: AOJu0YwEvlHrBnXYgdev1wSbNe3/crZp+vecP/zDJz5q25pZgY2u4s4N hR+u20JUDIfZfpWQoNW0NRo= X-Google-Smtp-Source: AGHT+IHLkBPNV/a7FiPHonA93Jh2t7sK7aoRIYXZ+fi/+ntWYCNI7C6/ms4nBp9wCf0WTUPnRntt6Q== X-Received: by 2002:a17:906:3d29:b0:9ae:5bd7:d2b4 with SMTP id l9-20020a1709063d2900b009ae5bd7d2b4mr3363599ejf.68.1695982334411; Fri, 29 Sep 2023 03:12:14 -0700 (PDT) Received: from localhost ([2a02:ed3:916:6300:c3db:b80e:a694:a54f]) by smtp.gmail.com with ESMTPSA id x11-20020a1c7c0b000000b003fe1c332810sm1089429wmc.33.2023.09.29.03.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 03:12:12 -0700 (PDT) Date: Fri, 29 Sep 2023 13:12:11 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier , 63986@debbugs.gnu.org, Nicolas Graves , csantosb@inventati.org References: <87h6qy71oa.fsf@gmail.com> <87o7kpku0u.fsf@gnu.org> <87jztpqvtz.fsf@gnu.org> <87y1h096s5.fsf@gmail.com> <87fs325mzi.fsf@gnu.org> <877co9wenk.fsf@inria.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Dc8YDz8nFCKWRg9S" Content-Disposition: inline In-Reply-To: <877co9wenk.fsf@inria.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.89 X-Spam-Score: -4.89 X-Migadu-Queue-Id: 563755E1B2 X-TUID: wiDGt08pygkc --Dc8YDz8nFCKWRg9S Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 29, 2023 at 10:46:07AM +0200, Ludovic Court=C3=A8s wrote: > Hi, >=20 > Efraim Flashner skribis: >=20 > > On Mon, Sep 25, 2023 at 04:46:57PM +0200, Ludovic Court=C3=A8s wrote: >=20 > [...] >=20 > >> > /gnu/store/h5mgc7ar7a05f9rwrd1makhzays5wd3s-julia-1.8.3/bin/../lib= /julia/liblapack.so: undefined symbol: dsfrk_64_ > >>=20 > >> The =E2=80=98_64=E2=80=99 suffix is added by a patch in this very seri= es, that adds > >> =E2=80=98SYMBOLSUFFIX=3D64_=E2=80=99 to =E2=80=98openblas-ilp64=E2=80= =99. > >>=20 > >> I don=E2=80=99t know what the rationale was for that configuration cha= nge, but > >> this is a good area of investigation. > >>=20 > >> Efraim, WDYT? > > > > the SYMBOLSUFFIX change seems to be standard across other distributions, > > and in fact there seem to be packages out there which rely on it > > directly. > > > > Looking at this error specifically and also the pcre2-8 errors we get > > during the 'test phase for julia, it seems the suggested fix is to build > > those libraries with julia. So we'd want to replace the pcre2 and the > > lapack libraries in the julia sources (for pcre2 for all the > > architectures, for lapack for x86_64 specifically) and let julia build > > and link to them during the build phase. >=20 > That would seem like a step backwards though, no? Usually we prefer to > unbundle things. I tried it with inserting our source for pcre2 and adding a patch to fix the configure phase of pcre2, we ended up with other failures, so I think we're best off with what we have now. > Actually, why does liblapack.so end up in Julia itself, as opposed to > just linking to libopenblas.so? Julia links to both (open)blas and to lapack. If we build openblas so that it also provides lapack, or use (c)blas from lapack, then we can use only one or the other. I suppose in theory it should be possible to tell julia that libopenblas64_.so is really lapack and to use that for both of them. I don't know how well that would work though. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Dc8YDz8nFCKWRg9S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUWovgACgkQQarn3Mo9 g1FYtxAAnkxbe1NxAc2+auA69EK1zbTCXdXVojSnB6snpk9ZLJZWgolr0KfnBbhQ dnZHyQelz/3sVQW8PrZ905uJf8ajn+hXmG5DS+RWC+laLPwScKdcSKDoQvQP0Qj/ QFxfIwn7LinGxQ0mvlEY8BSETUtTBpX9u4RMx8AxhRcqPS4Mp0hIx/asFtqETmbJ MuVGa+a0f0Ow6/VGuW/lQ7mfXTAsV1fh/XcRYHz1PBq8BNdYLyzCDWX7PkPoi9nU 8+M5klQu8k5ayMb8JoPinQ1etxl5vxnSYRoiwFwp89MGJf7S4KbeU3t43lKHGL/1 gGRXBnHB6Tdym0nAcdTnb/Han2S1NP3LOBgsa5F8B1b+gJYZL74n9JOnbN6+8Oov RnlKNZSUnX9ip0450asINIpVdPvig0ACOrDE58Z7IcVFqY6W2c5h4sx6YYIbzCey 0vgAnLkbXx8XjJkPQotbbCDrJn5cccvz6E3pMIOsrGy/qfSDPirFMX+3y6vrX4h0 3Sju7z2aS7+OuRzEtrdc7Wcphl5yMMQDbaR93XO1ZzbXFRy+F6xSfn1FM+G+xBW2 hn/OM9HlDnhv1rwqQAxGjsHsytFxvN16C/JseUT8K+tQnznhTVICyVXNhAxX4+ZD scbTwx6HTaZFIuMp+Do9UI69Oy32HPJ6jH37FszIodnbP6I7BoY= =rAVO -----END PGP SIGNATURE----- --Dc8YDz8nFCKWRg9S--