From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2DJ/IANxVGAtMwAA0tVLHw (envelope-from ) for ; Fri, 19 Mar 2021 09:38:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eEZDHANxVGBGZQAAbx9fmQ (envelope-from ) for ; Fri, 19 Mar 2021 09:38:11 +0000 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 107DF292BB for ; Fri, 19 Mar 2021 10:38:11 +0100 (CET) Received: from localhost ([::1]:39578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNBa5-00020X-Hc for larch@yhetil.org; Fri, 19 Mar 2021 05:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNBZy-0001zB-QT for guix-patches@gnu.org; Fri, 19 Mar 2021 05:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNBZy-0004vq-HD for guix-patches@gnu.org; Fri, 19 Mar 2021 05:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNBZy-0003RB-E2 for guix-patches@gnu.org; Fri, 19 Mar 2021 05:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47237] [PATCH] gnu: metis: Use 64-bit floating pointer numbers on 64-bit architectures. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Mar 2021 09:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47237 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Paul Garlick Cc: emmanuel.agullo@inria.fr, bavier@member.fsf.org, 47237@debbugs.gnu.org X-Debbugs-Original-Cc: Emmanuel Agullo , Eric Bavier , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161614666913177 (code B ref -1); Fri, 19 Mar 2021 09:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Mar 2021 09:37:49 +0000 Received: from localhost ([127.0.0.1]:48828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNBZk-0003QT-HT for submit@debbugs.gnu.org; Fri, 19 Mar 2021 05:37:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:40688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNBZi-0003QL-IQ for submit@debbugs.gnu.org; Fri, 19 Mar 2021 05:37:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNBZY-0001m4-Bo for guix-patches@gnu.org; Fri, 19 Mar 2021 05:37:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49307) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNBZV-0004eg-MD; Fri, 19 Mar 2021 05:37:34 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57450 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lNBZV-0007aV-1I; Fri, 19 Mar 2021 05:37:33 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210318150246.7220-1-ludo@gnu.org> <48a8a7c4dbe90415468d8db64cdfd82be52aeb4e.camel@tourbillion-technology.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 19 Mar 2021 10:37:31 +0100 In-Reply-To: <48a8a7c4dbe90415468d8db64cdfd82be52aeb4e.camel@tourbillion-technology.com> (Paul Garlick's message of "Thu, 18 Mar 2021 18:41:53 +0000") Message-ID: <87k0q3iiw4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616146691; 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: content-transfer-encoding:content-transfer-encoding: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; bh=z7OhllXRv+nkkXYLF/oq6jw/IY95DcXwhDqmA9Zc3iA=; b=QTuEUgR+w3JsYLo5uNR6FzbLl1yISScuInGfR67kPTqFMwihSowLcTSoTwGQrR1OlO7tGp jQiH4VXcVQpG10c6Qytj5e/RmotYLh8fOnx3Jr+OuQjqexgtP3hWLzoThc6njDnACazY1l kZjJsdCT3/QUSDa8pVFlCwBq3IV60vWMNAK+3b831IfGDo8+756Yp5nSI0tmkUttuLof3O IAQY1uWThYT0/IDaTB/ieKaqBYFJNa2/YBUgjmoUx4MDLDhg4buf+jQ676KqNfk6zk/tBf /x8gEewHOtfJ7kEVmJ/0m0R9j6PqLqy5wh+LQFV4agxuhzkha+3hAAMH/THUqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616146691; a=rsa-sha256; cv=none; b=i/X+EPtDd9G7DN24pVLnM2TfvzCjPf1AAC2hENA2wfXCoEVAFvoc77YcH8pA89fxZYiYXK TR1fJ14Ubx6fXyjVs5dKiNxHnV7tbq47H4Wc12P90NlLyfELDg3OPb2bw2rJiI4xHz71le bCnYaBTIP8DqhD5DYdnRp9z1erW4TBSsymwTPJ+w+Og02mX6/IDH/hL8TJ4bJvBSoK3MHJ OoGVl5DbgqFivB1ny12a/H3gSl186LVzuBC7lalV/q4Y9KgnYVWwiOL36+ynz3tV5teVIs e9ByYOfqlXP7WsBykEbwm/hs2Y4Qvu/0Fxr4a0vwo3M31V1Ll/VoYCJkQK2ZYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 107DF292BB X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: NwjWS5aZAZ/m Hi Paul and all, Paul Garlick skribis: > I think it is a good idea to allow for different variants, even on 64- > bit architectures. > > In one direction there is a performance advantage using 32-bit floats.=20 > In the other direction accuracy improves using the 64-bit data type. True. That concurs with what Emmanuel explains. > There is a similar situation with the scotch library. The scotch32 > package variant is preferable, even on 64-bit systems, except for the > case of very large models. Though =E2=80=98scotch32=E2=80=99 is about 32-bit integers, not floating po= int numbers. So I guess it=E2=80=99s not the same kind of tradeoff? Anyway, it sounds like the best course of action is to withdraw this patch and instead come up with multiple variants or package parameters. Thanks for your feedback! Ludo=E2=80=99.