From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ULCsEXpMaGK7cwAAbAwnHQ (envelope-from ) for ; Tue, 26 Apr 2022 21:48:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eAziEXpMaGKHbAEA9RJhRA (envelope-from ) for ; Tue, 26 Apr 2022 21:48:10 +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 C3EB410FC4 for ; Tue, 26 Apr 2022 21:48:09 +0200 (CEST) Received: from localhost ([::1]:51022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njRAO-0001mk-Th for larch@yhetil.org; Tue, 26 Apr 2022 15:48:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njRAI-0001mV-Ox for guix-patches@gnu.org; Tue, 26 Apr 2022 15:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njRAI-00039p-G4 for guix-patches@gnu.org; Tue, 26 Apr 2022 15:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njRAI-0007HP-Em for guix-patches@gnu.org; Tue, 26 Apr 2022 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50080] Commit updating SUNDIALS to 6.1.1. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Apr 2022 19:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50080 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: "50080@debbugs.gnu.org" <50080@debbugs.gnu.org> Received: via spool by 50080-submit@debbugs.gnu.org id=B50080.165100245227801 (code B ref 50080); Tue, 26 Apr 2022 19:48:02 +0000 Received: (at 50080) by debbugs.gnu.org; 26 Apr 2022 19:47:32 +0000 Received: from localhost ([127.0.0.1]:40608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njR9n-0007EK-Or for submit@debbugs.gnu.org; Tue, 26 Apr 2022 15:47:32 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:46200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njR9l-0007Dl-5b for 50080@debbugs.gnu.org; Tue, 26 Apr 2022 15:47:30 -0400 Date: Tue, 26 Apr 2022 19:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1651002442; bh=aWMqWhaWj5rMoNKV1lSOhLs27wzAaKjXSBVbNduQQnU=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=I3HH84l/a98aFUatG2SSKoN8Yr97JUQFbY3c4yJA6ixDUnhmXeIbDXayGVZefjuc7 TFvKaq4AVZDEMz5Yn0EA9PUy7dSZN2AFeAnfHR4oM8Eul0hW0UFHzmRslg5qFDhexU arLlAfFruNvpfMymFwrVX1ELzwr+EO2HSXR9FZUygjK6NQjFLn7d5y1JlpGaJBfuwB bCY88ibw52ecunLGhNiAWTTDckGMjDVyvJBtASF1V7CRJPCjWZWf377ZvQAJu3V1Rq pHOJbf2Ni3J8Jio5oYpMKUMflq+a/j7QADVHSCbkQHspddH6vJttmSORBEy6Yf2cH+ muyxtzUNo7moA== From: "Paul A. Patience" Message-ID: <87tuafd4az.fsf@apatience.com> In-Reply-To: <878rs67msg.fsf@gnu.org> References: <878rs67msg.fsf@gnu.org> Feedback-ID: 19227857:user:proton 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651002490; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=aWMqWhaWj5rMoNKV1lSOhLs27wzAaKjXSBVbNduQQnU=; b=Awk7ml9B3m8ZNY7+SAxqB+MBV/guPgqMALzYJ7wizI/E3AhBaCEcqRq3i8DCJYzCVQoPFA D0uA31MZmgEU8ZA91aIa4DHoQHJYZ5eRyhD3nBQJakAZORzem903wi+T2/TZJHoLT/2UD9 0l7PK3eFhMZaV8Ol6fgXabhPUr57YWedWa0w6s+gWirMpR7Dbs9NqtUxF+MAywztXzwJkq OAeuzyM9+TrOZ7k2Unp1kvEg6PsE6g+HozETCJqMjEhzKjDqKcR8mlXwGRb8wM+9cOBXxV GG1UAILWFDCRnmAQ5WZlNhWdjnbtO/x6ygPTKYJDyJN0/ifPPJj0ej+KTrNxBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651002490; a=rsa-sha256; cv=none; b=ltlYuoonxuMEJFI/bnozkOSJgkZQ41luTXQBlntiv1VwezalN/0VVSOSKQNagcYBsA1zek b+3VKI+K09wh7YSeCA2SmKCOWgJzpCyY/ZAIuh4KhfmT+lZUpqJtnA/3SjUhUFKc0VRUdk X2AZwwz7GN4TDMSInhaVfcm2Ni03ncY6NhEAbswXndqI9Q3RbULZx9mg+3VexqvJtr61RU U96tCEGbAudghncCfHN/bm5CtGXqPvlbJoeNqK+liiW6qTxiIi9/RYc9vfGkC/aiiAKYA1 MTxMI/jLvr2uKlVTGE3V8J/bHlFSlJ2Tew1MwmG/vDBySnLhye5IXNyLA2+cnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b="I3HH84l/"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b="I3HH84l/"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C3EB410FC4 X-Spam-Score: 1.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: IDYRwoNp4PH3 Hi Ludovic, On 2022-04-15 04:50:39-04:00, Ludovic Court=C3=A8s wrote: > "Paul A. Patience" skribis: >> Do you know if the update to 6.1.1 renders the issues extraneous? > > Thanks for bringing it up, I had overlooked this patch of yours=E2=80= =94my > apologies for that. I don=E2=80=99t know if the new version defaults to = 64-bit > or 32-bit indices. Ok, I figured out what happened. --8<---------------cut here---------------start------------->8--- ("petsc" ,petsc-openmpi) ;support in SUNDIALS requires MPI - ,@(package-inputs sundials))) + ("petsc-openmpi" ,petsc-openmpi) ;support in SUNDIALS requires= MPI + ,@(alist-delete "petsc" (package-inputs sundials)))) (arguments (substitute-keyword-arguments (package-arguments sundials) ((#:configure-flags flags '()) - `(cons* "-DMPI_ENABLE:BOOL=3DON" - "-DPETSC_ENABLE:BOOL=3DON" - (string-append "-DPETSC_INCLUDE_DIR=3D" - (assoc-ref %build-inputs "petsc") - "/include") - (string-append "-DPETSC_LIBRARY_DIR=3D" - (assoc-ref %build-inputs "petsc") - "/lib") - ,flags)) + `(cons* "-DENABLE_MPI:BOOL=3DON" ,flags)) --8<---------------cut here---------------end--------------->8--- You accidentally disabled PETSc support in SUNDIALS by not re-adding PETSC_ENABLE in the sundials (not sundials-openmpi) package. If you had done so, the configure step would have failed because PETSc is supported in SUNDIALS only with MPI (hence the comment). Once we enable PETSc again, the index size problem appears again, even with SUNDIALS 6.1.1. Basically, I think all of my changes are still relevant. I still think setting the sundials and sundials-openmpi's index sizes to 32 bits is the most logical option (see the commit message in the =E2=80=9Cgnu: sundials: Update to 5.7.0.=E2=80=9D patch). I will bring my old patch series up to date and submit it again when it's done. Best regards, Paul