From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UFwYLMJNqmBYawAAgWs5BA (envelope-from ) for ; Sun, 23 May 2021 14:42:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oJC2J8JNqmBDLgAAbx9fmQ (envelope-from ) for ; Sun, 23 May 2021 12:42:42 +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 31579CC5A for ; Sun, 23 May 2021 14:42:42 +0200 (CEST) Received: from localhost ([::1]:35312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lknRJ-0002AD-9B for larch@yhetil.org; Sun, 23 May 2021 08:42:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lknQt-0002A1-6Q for guix-devel@gnu.org; Sun, 23 May 2021 08:42:15 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:38782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lknQr-0001tR-9v for guix-devel@gnu.org; Sun, 23 May 2021 08:42:14 -0400 Received: by mail-wm1-x32e.google.com with SMTP id u4-20020a05600c00c4b02901774b80945cso9882176wmm.3 for ; Sun, 23 May 2021 05:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:date:message-id:mime-version :content-transfer-encoding; bh=i8nsgx2fzomfUE9BSHYHRWspmTQqNeLBXy7KtUFlgTI=; b=R3lIMn9XLwszauWJzs/KtTFEH5g/F/gFT/5k0QEdoHLSdlaX2MdUaS8DCcIyf52B3B R4s/i72mC4HovE0AB7K++pzuT7cmiXNYsPKt2vigRsoDp8EU9CI2mz1detek222apIIL i3SCgRRzZhdj36YnH1WXN+etQrMXUl/Aj1g21vQtmCodDpkk6fQTidA53irkcAvKyoCn V7mjhUH0IzqUoeyMJbHCMEBWsYbw7l+DsNuABPMJzPhdZlFF+OdnMU3nCcfa/FyLhTeU juybutkAL4a/Ksqf2LxpWT7I+atfCddJsR4159QtN7esMuc9Ss58/ZwMlqeqW1bP0Byt 8IpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:date:message-id :mime-version:content-transfer-encoding; bh=i8nsgx2fzomfUE9BSHYHRWspmTQqNeLBXy7KtUFlgTI=; b=LjkbM1gTJnjj3Djlc/zSltltgo6IRbdtVBo5YOnPShhJRZH4aObgDKqa4ie+SnIlb3 zV3BwOhYJ4YeUsMrgOY6KHTGmdyAS/yXec2wfaMOL093AnhgDvIkX2ih5UF//TVGPDs2 N0rqkFdYu3ucuHoPWAOhMubFJ9gbyZt6r0XYDYif3v+x5hai28asYQiMLsL3+wa5QYBE G/7sE8vMOca/nFSJtNecR/onstDKTNOiSckO9QlnrE7LjokRkjREP2znc8vS1wiY/f2/ 7aL5FS91Jfg/T85lq92WOnjFyVExQBpeRcNVQULnlVpMRrolhYBeBFP2Z8fjR840A+wg wh8A== X-Gm-Message-State: AOAM533MuyO6tdLKD9xk/3ZNX7c2/PE57AX8lE3eHevKfZcrj3eEXzQJ 2kVV+JpDM1RL90hX2NZiQOxGeE0RA7A= X-Google-Smtp-Source: ABdhPJxgH7plpOZBfaEigSNgJ7w8JdtYW/abXEdD7GoRCMiEO/LStET6dckldmZKXzDD2qtu2ZMxkw== X-Received: by 2002:a05:600c:2289:: with SMTP id 9mr15674454wmf.29.1621773730883; Sun, 23 May 2021 05:42:10 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c6sm1691376wrt.20.2021.05.23.05.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 May 2021 05:42:10 -0700 (PDT) From: zimoun To: "Paul A. Patience" , Guix Devel Subject: Re: Adding Trilinos to dealii package In-Reply-To: 8iXokLJz8g9vAHrX2pFDjHgz8tYMLRM4CNZwiOx2nQXIf6gO7B0PQGFigeTmf-vFzIIZi7Io4YSBkQezgQ7BsToDVkT2jeoqFVSMvJuX9kI=@apatience.com Date: Sun, 23 May 2021 14:40:04 +0200 Message-ID: <867djpy66z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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=1621773762; h=from:from:sender:sender: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: in-reply-to:in-reply-to:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=i8nsgx2fzomfUE9BSHYHRWspmTQqNeLBXy7KtUFlgTI=; b=Y6WLV1+4h9dctBu/0dQad1TQ0+uHCRouEaNMu1WWI4wh6SlSVWaUYuS+TfOpEIp/qYx02Q AKAf3s/+41gtMm87LK0ud450GcQ4331jOmzZXQYrQVwf0U+3PfTL6zDpkIvslqTc+0/EQA DoxzmnA9DKL8FqCETA9zSaISsxUST/tVTP7ECzT6FzmVUXQ2ClqfqpE8PPB0RZEfXcTSuX PMWOWPKzddiNwvj/zqL6xYBiTFrIDRdal5j/PYFiKiIP8H10PFxT/cgAjMEj2hA0H+lypp yNCi6Kh8e/oLOW7JzINYfKwOSAVTLO5amcAJ+EkAL6xIqi/tEgR0NrE1YA7JRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621773762; a=rsa-sha256; cv=none; b=bsF+5x95j58MnNDipkFweaM7myHOg+PMqYjnaCnxLK7unuTfk69Z9ljTE5oA+mNZJkm8CR mtfG/ZOnuY/R9LIY3t+5QgfrDwUei5uw2E9vKFUDn4vqUT0Ns0OgUWwuM2gkjkQrFmQV1J TXh8aRntNYxxNMetK0qeeGTmzkbMKvZCVGxYLVWuM1qK4bcrZH0x/gBke2GeLrvwS1BzpP ExjSBmr9LlR6/F/k7MlEZaNgIYXYwLiAZaqinPJ2zjvcTtVg4GafKo1WubMu6TASepdwRv qfAaga5BB3pFzDgCKBoFhW+Qu009rC7OS731/IDh/orsN4AGCVE8VDCrbWj+Zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=R3lIMn9X; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=R3lIMn9X; dmarc=pass (policy=none) header.from=gmail.com; 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: 31579CC5A X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: KDeyTWbT/Jsp Hi, > 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? AFAIK, there is no concrete standard way. Only what explained Arun. ;-)=20 > 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.) What I miss is: Trilinos is somehow a replacement of PETSc. You would like Deal.II compiled with both Trilinos *and* PETSc support, right? > I'm wondering what the best way would be to add Trilinos to the dealii > packages (assuming I manage to package Trilinos as well). FWIW, I would start by package Trilinos. ;-) > - Some other possibility I have not thought of. IIUC, your question is how Guix deals with =E2=80=9Cpackage parameters=E2= =80=9C, right? And the answer is: it is complicated. ;-) First, I do not know if it is worth to have many variants in Guix proper. There is 2 things to consider: a) how complicated the recipe of the variant is? and b) how much resource (CPU, RAM, etc.) does the variant require to be built? Somehow, if the recipe is simple enough, by simply apply package transformation (say), and if it can be built on a powerless laptop (say), then the variant does not worth, IMHO. Else, it is an open discussion. ;-) Second, I would like to mention the guix-science@gnu.org mailing list where this kind of questions are sometimes discussed. And hpc.guix.info/about lists scientific channels where the workload could be shared. Hope that helps, simon