From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oErZMbf0qGAYCgEAgWs5BA (envelope-from ) for ; Sat, 22 May 2021 14:10:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QMqLLbf0qGAEbAAAB5/wlQ (envelope-from ) for ; Sat, 22 May 2021 12:10:31 +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 772152980E for ; Sat, 22 May 2021 14:10:31 +0200 (CEST) Received: from localhost ([::1]:39614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkQSc-0000uo-Gx for larch@yhetil.org; Sat, 22 May 2021 08:10:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk4OE-0001OG-Vc for guix-devel@gnu.org; Fri, 21 May 2021 08:36:31 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:32199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk4OB-0008Gp-DB for guix-devel@gnu.org; Fri, 21 May 2021 08:36:30 -0400 Date: Fri, 21 May 2021 12:36:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1621600581; bh=sB7dJZIfYimHxjyZ3onex7LczBQ9UBubbLDF7g1ZT2s=; h=Date:To:From:Reply-To:Subject:From; b=Ux6PnqpPAPBS4QN7oHgGmhqMGNAzGPkyimad4MLsiEyDGr6fjtK1l/aW8nYeXa17L Z6jZ1WoI9zx85iuwSOKxXEBREZwoQjDgIlD2tw3mpVcfZn77wSfZCmVuYyQeP55DwX efGidCw+lEfcsieAyXLEkePNguBb/1yyunVZ0DJY8puSSN3rCVZ80EvYq2bwLZj5gW 5oK8Vcucjnle+B+2THjz03AQgFRl2xjLvKgN+BWU9CsVNC8m+XgsNI+M5x/Za2DB9v jd3Mi/G552nybiopbaUU2Ou8Vjjs8q18sV4NP47kwnB2NyW5XWKale2B3B3i2u5Yuy JA9o5vaRN7r4Q== To: "guix-devel@gnu.org" From: "Paul A. Patience" Subject: Adding Trilinos to dealii package Message-ID: <8iXokLJz8g9vAHrX2pFDjHgz8tYMLRM4CNZwiOx2nQXIf6gO7B0PQGFigeTmf-vFzIIZi7Io4YSBkQezgQ7BsToDVkT2jeoqFVSMvJuX9kI=@apatience.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.134; envelope-from=paul@apatience.com; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 22 May 2021 08:10:13 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Paul A. Patience" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621685431; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sB7dJZIfYimHxjyZ3onex7LczBQ9UBubbLDF7g1ZT2s=; b=uVcZJ/Rzb7+LLXKiNNDNEQaMKqPtgtjrhdBujubEc2LJxqBFx9XlA4AMZvJ+xYHgMQNWgW Xv+XxPQDkZhMF9wPy8OMJfnvqDnAYtxPOsfPa8D/JjooVj/1FSAChOuUL4qgI3ajhouUhF LQjoxqXYi6GtkkIOCdJEGca2a1LLwoyj0iHOoxcbomVjNgny/f21uV2plOa/CE+57L3LgT RS43qV+2YfjNtG48ULUoSObRnXd6MK/cCmyrLQmVW5y/zzCqpTzSZFgjtqfVReXY2Edr4C vZQf9suyJb+oWPc8RxDglzHY9N8HwYIYsKXNli4FQdaySJVK8+/GOPRZn9DGkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621685431; a=rsa-sha256; cv=none; b=JxC5eiDMZnHHMQSKDyHNafCsn8Yb8tYZLhVlUFbmC0p6MuWi3qnaAkDFdHrmcNQ4mKM9BJ zRN5ajCZYM4hs/XFt46kfzUHvMNmJLk2FlpjkP8GxXG+F5HZuqGNirlnEsINr6rCBfmH/e yBiFD79BM3nxWusctluRC72Frn186RlG8qdxnJ+FwUN2MurBzUmEjgjTlxDkL27hm6G6jG eszrO0oh+MSvdohmqDgdV8zfH4/xb+c4S+qNrrtkrzStjgz5wMakbtWhvXs5O4vne/L6x3 lK7lkhDxz9ZngQppxXC95JvQrwG8y6PHZAgtH6a4tO82SJ1IIz5DC2Gg+DuDlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=apatience.com header.s=protonmail3 header.b=Ux6PnqpP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=apatience.com header.s=protonmail3 header.b=Ux6PnqpP; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 772152980E X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: lBhLkypSZbOZ Hi, I would like to eventually package the Lethe CFD library [1], but it requires a version of dealii compiled with Trilinos, which is not currently available in Guix. PETSc and Trilinos (and many other libraries available in Guix) can be compiled with several different options. What is the standard way to deal with this in Guix? >From what I can tell, in general the packages get a reasonable default and people who require different options make a channel and inherit from the base package, and in some really practical cases we get a variant of the package with a similar name, e.g., dealii-openmpi. The potential problem with PETSc and Trilinos when it comes to dealii is that some of the optional modules they can be compiled with are the same, which causes trouble when dealii is configured with both of them [2]. (From what I can tell, the module in question is not configured in the Guix package for PETSc, so this point may be moot.) I'm wondering what the best way would be to add Trilinos to the dealii packages (assuming I manage to package Trilinos as well). In other words, which would be best among the following: - Build Trilinos with a reasonable configuration for dealii [3] and update the dealii and dealii-openmpi packages to include it (if the problem mentioned above turns out not to be an issue). This assumes people won't mind having to build Trilinos as a dependency for dealii even if they don't need it. - Build Trilinos as above but add separate packages for the resulting dealii, e.g., dealii-trilinos, dealii-trilinos-openmpi. This seems like it would get awkward quite quickly, which is why assuming my thoughts on the purposes of channels are correct, this is the inferior option. - Abandon all hope and just maintain a channel for dealii configured with Trilinos (the inferiorer option :)). - Some other possibility I have not thought of. Thank you and best regards, Paul [1]: https://github.com/lethe-cfd/lethe [2]: https://www.dealii.org/current/external-libs/petsc.html [3]: https://www.dealii.org/current/external-libs/trilinos.html