From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EEDDBSxjlWSiBgAASxT56A (envelope-from ) for ; Fri, 23 Jun 2023 11:17:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GErPBSxjlWS7VQAA9RJhRA (envelope-from ) for ; Fri, 23 Jun 2023 11:17:32 +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 88920152B8 for ; Fri, 23 Jun 2023 11:17:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCcuf-0000b8-DR; Fri, 23 Jun 2023 05:17:05 -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 1qCcud-0000aW-4M for bug-guix@gnu.org; Fri, 23 Jun 2023 05:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCcuc-0007o4-Jg for bug-guix@gnu.org; Fri, 23 Jun 2023 05:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCcuc-0005fP-Aq for bug-guix@gnu.org; Fri, 23 Jun 2023 05:17: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, 23 Jun 2023 09:17: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: 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.168751177221714 (code B ref 63986); Fri, 23 Jun 2023 09:17:02 +0000 Received: (at 63986) by debbugs.gnu.org; 23 Jun 2023 09:16:12 +0000 Received: from localhost ([127.0.0.1]:37686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCctn-0005e9-KO for submit@debbugs.gnu.org; Fri, 23 Jun 2023 05:16:12 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:51218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCctl-0005dw-95 for 63986@debbugs.gnu.org; Fri, 23 Jun 2023 05:16:10 -0400 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-312863a983fso462390f8f.2 for <63986@debbugs.gnu.org>; Fri, 23 Jun 2023 02:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687511763; x=1690103763; 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=zwFGrSq+r3HmHSCUXfCkm01ROQzafXR6dPcULdnQETs=; b=E5V27uEYF31lO+lG2Hnlwa7qHN6kqWhFJ2bztkxWoU1Acqx9CebHT0jAACnN6KCK1C +qHhD52QeMjwq3SiDJAKRy0Kf8fwIryKrjMHjr6LKZy2k0U+Z6lOWJln9F3JZpccUlBK CFMNgAh5iJlKn7IrEqHlWmkZl5foSvFjq2X3pN9yEKShEdWZOy/OFiBPhmk8CekjhrUX w5AJdeDz1jiU8u19N1wcMAoujpYuw891pcCHRU5hN+a5Yt9RgfoUq7Kv1RDQ9n1CtNKc MOCu4+u2IqTEBNSEUhNilKWfAjcbVeiyf3jheJ4VOWDlxAjRSSPp9VTjud8Fbup1KDPS mZ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687511763; x=1690103763; 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=zwFGrSq+r3HmHSCUXfCkm01ROQzafXR6dPcULdnQETs=; b=BJAhU9ZnTgRWTEPsDErmGJaiGJ0boRzhnWK2hQrInEDY0lFYH1jrKGV2VjUEKhwprj hUWbAyrwE0+YOcqY4FSCpICTkcsixXcvbLf6JILvPPJt//IWjH6tYbrboJVIuNslH7Ty DOzH2JL69PLI+92BIo3jPu3/oWTi0QvTovGkyRhjvFNVTe6lxJ9WOtbtZw5y893+fGZY TI1vutuDEphIas+/qJ7I/67bWRpmC07F1tM8EPOcK0wQUch7+Qy0+ggp69YScDZctoNH O45txMxCd/UKgyJsRhPzhUKy789EQpQFDGgtysGXsjRzSNQZac0MMY2Hn/IqYQ+S72i8 Wc3A== X-Gm-Message-State: AC+VfDzRP7lDJtADcZTHEi4Na+lGIXJ7UY4NFm2X4RsaD4AU1f4i37jx TsMGnJXxLFsjXTvbgxB6f4U= X-Google-Smtp-Source: ACHHUZ7TSkWHHIR4TOFDpmfEONJBPHRRou90mle+rqAvfkkr2+fgHGfIsbVQVgC3CX+fJgKYjPAT/w== X-Received: by 2002:a5d:595a:0:b0:30d:d85c:4472 with SMTP id e26-20020a5d595a000000b0030dd85c4472mr15652657wri.62.1687511763244; Fri, 23 Jun 2023 02:16:03 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id x6-20020adff0c6000000b00307972e46fasm8978745wro.107.2023.06.23.02.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 02:16:02 -0700 (PDT) Date: Fri, 23 Jun 2023 12:16:01 +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: <87legsl3cm.fsf@inventati.org> <87jzw6rq48.fsf@gnu.org> <871qi7a0qr.fsf@gmail.com> <87pm5o7uh9.fsf@gnu.org> <87ttv0mth3.fsf@inventati.org> <87wmzvmxt8.fsf@inventati.org> <87h6qz8pg0.fsf@gmail.com> <87cz1n8lq3.fsf@gmail.com> <871qi24k9z.fsf@inria.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m3keaYW7d3WYN+WZ" Content-Disposition: inline In-Reply-To: <871qi24k9z.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687511851; 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=zwFGrSq+r3HmHSCUXfCkm01ROQzafXR6dPcULdnQETs=; b=RItKfdTmgGvZ6cKoxGPcwQk3jzXCXFMMzNWixkFA2r1RfXEkiDKylMo+5lLr0/wxFfBmj1 i7gB3wrtG8UmypOFFcThQVycTyc5XiMORTmz7+hN4NAPTjwWwjxNcc1/dsczVBSLq/4zBF b8juPkzZ4qV0E8GZ0QFuR5q9zCNinhdT3I7w8CDwjTX3kcjNF7qoN/QqtK6jPcKcFXv2R4 U9jSnLNjQ3eWYOFtcefGPflUUc1NtXOyX1clOcptVKi2Lm+hutnBY1OT1JirnAsKyqnoQX oJTk7ftvsQ4+Yqn9EAokIzmZBtT5WYHpxlp3dCCvIFC9uV+n2UuQcFw9P8F/2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=E5V27uEY; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687511851; a=rsa-sha256; cv=none; b=fdoaIFsVmV+KfjCvuoyjnp+LWd4bjDIU8Hk5gEaeKmlU9WhxKdsC1eYWP9fPttIFwvLCs8 CglstmyGw3kkdvDzkc9bzoG9gpM3JZXv3moduS9hQI3k9azzOkW7L9mdgsmGXdD2PirjOg RP4/skXQuy3hNgH/OlfEvCy9SR5OVZscewvoIG7+vb4qS7DEjmuMYyorkjr6nG7gjcao9W TcDMarjWFcsQpJIrBKIwnrKhhMycI1FMZsrYpTAq1Wy4Ssr2GD0HU8UeKH3GGFK9v5y0F+ 540pjLHqUw94hDv9n2wfH1VfOVJm/Xw/KXOeQGgGsWNLEBZQhECpOI1wxZpeEQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=E5V27uEY; dmarc=none; 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" X-Migadu-Queue-Id: 88920152B8 X-Spam-Score: -0.85 X-TUID: QNdmXDwczDNg --m3keaYW7d3WYN+WZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 23, 2023 at 11:09:44AM +0200, Ludovic Court=C3=A8s wrote: > Hi! >=20 > Simon Tournier skribis: >=20 > > + ,@(if (target-x86-64?) > > + `("USE_BLAS64=3D1" > > + "LIBBLAS=3D-lopenblas_ilp64" > > + "LIBBLASNAME=3Dlibopenblas_ilp64") > > + `("LIBBLAS=3D-lopenblas" > > + "LIBBLASNAME=3Dlibopenblas")) > > =20 > > (string-append "UTF8PROC_INC=3D" > > (assoc-ref %build-inputs "utf8proc") > > @@ -513,7 +517,9 @@ (define-public julia > > ("llvm" ,llvm-julia) > > ("mbedtls-apache" ,mbedtls-apache) > > ("mpfr" ,mpfr) > > - ("openblas" ,openblas) > > + ,@(if (target-x86-64?) > > + `(("openblas" ,openblas-ilp64)) > > + `(("openblas" ,openblas))) >=20 > Should it be =E2=80=98target-64bit?=E2=80=99 instead? It should be, but julia fails the precompile stage with openblas-ilp64 Precompilation complete. Summary: Total =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 1006.= 632176 seconds Generation =E2=94=80=E2=94=80 690.274180 seconds 68.5726% Execution =E2=94=80=E2=94=80=E2=94=80 316.357997 seconds 31.4274% signal (15): Terminated in expression starting at none:0 unknown function (ip: 0xfffff4d81b24) unknown function (ip: 0xfffff4ed10bb) unknown function (ip: 0xfffff4eda16f) _ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE at /gnu/store/w= a28l476c1bfshfiqcqbmk75zr8ml152-llvm-13.0.1/lib/libLLVM-13jl.so (unknown li= ne) _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /gnu/store/wa28l47= 6c1bfshfiqcqbmk75zr8ml152-llvm-13.0.1/lib/libLLVM-13jl.so (unknown line) _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /gnu/store/wa28l476c1b= fshfiqcqbmk75zr8ml152-llvm-13.0.1/lib/libLLVM-13jl.so (unknown line) _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /gnu/store/wa28l476c1b= fshfiqcqbmk75zr8ml152-llvm-13.0.1/lib/libLLVM-13jl.so (unknown line) operator() at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/src/aotcompile.= cpp:580 [inlined] jl_dump_native_impl at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/src/ao= tcompile.cpp:592 jl_write_compiler_output at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/s= rc/precompile.c:94 ijl_atexit_hook at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/src/init.c= :207 jl_repl_entrypoint at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/src/jla= pi.c:720 main at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/cli/loader_exe.c:59 __libc_start_call_main at /gnu/store/a19xbynxc3sg25xpkwmx7g0mdl7g31hx-glibc= -2.35/lib/libc.so.6 (unknown line) __libc_start_main at /gnu/store/a19xbynxc3sg25xpkwmx7g0mdl7g31hx-glibc-2.35= /lib/libc.so.6 (unknown line) _start at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/usr/bin/julia (unkn= own line) unknown function (ip: (nil)) Allocations: 145655328 (Pool: 145582643; Big: 72685); GC: 120 *** This error is usually fixed by running `make clean`. If the error persi= sts, try `make cleanall`. *** make[1]: *** [sysimage.mk:89: /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3= /usr/lib/julia/sys-o.a] Error 1 make[1]: Leaving directory '/tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3' make: *** [Makefile:88: julia-sysimg-release] Error 2 > Thumbs up for finding the solution! >=20 > Ludo=E2=80=99. --=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 --m3keaYW7d3WYN+WZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmSVYs4ACgkQQarn3Mo9 g1FeKQ/8CmpsiVH5Re1hDe3VzRI6l2dPfIO+WB2e5YlCmCjgJH3OHIeIyuI84PQX 8wvxfbbngNp2qQ4/JUUuijI28VeSl+9voBTQxmB3eWOt4Bdrd0O7XX5q+7CmTRWg Gdci6jvdugbwbjW4P5gGt0aYBxC3OazQ9b6449dvsodyIEiYrRVMOLQvSQ/zzvfe LqlZQPbB4RYsJ1RnFvPTlxAwt4LLVGzzxpjkgaOxUk/JwMqfTpzS2jynRhdx3JID HbbxPf0XgyzIV5EKXYB29T0IdUD3PNlmxU2Xn9iN8A27uDPRB5wkNLRh2KHF1Ipw X3JA+NE8kDXz7oWMBVbkezhOXwNaHC3/zpxBOXrvvaehrFDZe3ypBeAFcLmdI/XM 5wDZ8lU0gtbqz2+gEyOkbr4xQhEZz7lthAN2m65rFZBA9k/NIFdof2I7N0GU2pvo q9bfVdgoIy42Cmi2bnLRC8qc9xIdhAs1ZjH9JMX1yBnhQeK+AgFwEgOZkW2O8FjR Wqr9PsGsowGShr7h644Ty9P9ZwfJGf7FAqxOz6WbkmXFBg3XZRzW72HSpD/5nsso C/Rkmsa6qh4C6js8qBpgmM8BQ+46VwgBXmcHXaONIUPKB0v2jjPUoUrYCcZwRBXl VMleI99dlcVNRg6MH/P4Ryz4ShWtFnDWa2thTR3PzfCro0+6/vI= =uPlc -----END PGP SIGNATURE----- --m3keaYW7d3WYN+WZ--