From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KJNFIgLGPGCtdgAA0tVLHw (envelope-from ) for ; Mon, 01 Mar 2021 10:46:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +NIqHgLGPGCrOwAA1q6Kng (envelope-from ) for ; Mon, 01 Mar 2021 10:46:26 +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 D686B27681 for ; Mon, 1 Mar 2021 11:46:25 +0100 (CET) Received: from localhost ([::1]:34064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGg4G-0003sy-JC for larch@yhetil.org; Mon, 01 Mar 2021 05:46:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGg3w-0003ro-9U for guix-patches@gnu.org; Mon, 01 Mar 2021 05:46:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGg3u-0000Gh-Ft for guix-patches@gnu.org; Mon, 01 Mar 2021 05:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGg3u-0007nq-DA for guix-patches@gnu.org; Mon, 01 Mar 2021 05:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46830] [PATCH Added hdf5-1.12-parallel-openmpi] * gnu/packages/maths.scm (hdf5-1.12-parallel-openmpi): New package based on HDF5 1.12.0 Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Mar 2021 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46830 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Gerd Heber , 46830@debbugs.gnu.org Cc: Gerd Heber Received: via spool by 46830-submit@debbugs.gnu.org id=B46830.161459551929941 (code B ref 46830); Mon, 01 Mar 2021 10:46:02 +0000 Received: (at 46830) by debbugs.gnu.org; 1 Mar 2021 10:45:19 +0000 Received: from localhost ([127.0.0.1]:48232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGg3D-0007mr-0E for submit@debbugs.gnu.org; Mon, 01 Mar 2021 05:45:19 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:39779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGg3B-0007mc-7h for 46830@debbugs.gnu.org; Mon, 01 Mar 2021 05:45:17 -0500 Received: by mail-wm1-f49.google.com with SMTP id u125so13945224wmg.4 for <46830@debbugs.gnu.org>; Mon, 01 Mar 2021 02:45:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=mK8XRlPRGbkt4W5WoJQne/t5vyVjcmfAjdA2SYMzxSc=; b=basHqjn5d0FjQy4gwUEhvmYXxdb5WWeTQbAWNtDMlpR/FcryA5d2vNVNAOz+cIw8o4 pOt6WfkjbYS/OJXnmlg2dvGr+A0oNRzJFBCDP163cQ7mN0AlQpvn+ZVVJ0j8LFyuVzjJ o7pqFL0xSUl8Sc9Qh8NtztXG4UdrLRZJdUL4oJ1wBZf3zQiUBbhCOPo5kWQrGd2InLwD 1cE6WnMSjxblyuJI2MrigJASps4AUjlgVROMqd+/ukamWegwvaOPGB+EJL/rNYUAEKOE iP++Ey8S186+7+4LiBsnlwsOlL86hQRx355VMbuo58qhDOxqHEInyL+9G39uaSpi6cHq eU1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=mK8XRlPRGbkt4W5WoJQne/t5vyVjcmfAjdA2SYMzxSc=; b=luAdTvq1KnFjpMAgo4xz8SZl9meadJytNK3GoW7HfIFHHVNldK+ebARCwGb+y0zWJR /tioEqXgqlUG1aV+hB/slPE9HlB6w+aesTPlEEjvGsyF0S1XsL1FWOi9hwpEtKakuZPW wMUyoqnrf11jkAuB+16TwonhqxsvODk6tYyd3/CYQ0QL5eitvzuj1WCysjsaegpHHQmu LUWwtf7RfDcIGMGbeOSju42gCs0iMdg00tuC1JBEkr7LszvkUruMTSP0xRsP8ZNgjywr dCTV0Fw3QZCTqhYGT+PDQcbLHiXKi1RNr6ZqKKU/Ksara7JoCyrgR+elx848OVgbrjce uz7g== X-Gm-Message-State: AOAM530NuaXqhi4Zl9lDhygxw66dSjDlfovL7FGzRviLSr2K4owYNqq2 PNIERPA/8iRFsfON2YJlYCw= X-Google-Smtp-Source: ABdhPJykoOU3RQreTJtwp989enkIJp6c+ibWkPFwOFsTxe7+nuw+qq7QC056QMe81zrrn/sBFgTIXw== X-Received: by 2002:a7b:c083:: with SMTP id r3mr15351801wmh.177.1614595511167; Mon, 01 Mar 2021 02:45:11 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c26sm25123744wrb.87.2021.03.01.02.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Mar 2021 02:45:10 -0800 (PST) From: zimoun In-Reply-To: <20210228133314.22935-1-gheber@hdfgroup.org> References: <20210228133314.22935-1-gheber@hdfgroup.org> Date: Mon, 01 Mar 2021 11:41:01 +0100 Message-ID: <86im6b9mwy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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=1614595586; 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=mK8XRlPRGbkt4W5WoJQne/t5vyVjcmfAjdA2SYMzxSc=; b=lsn7p5T/lBHyt8opFeN8o9lvDfbL7Z7ZZ8ClpyaPXSIxc8m7Vi6Za4AXJYoSEG60hj841S MTNeyEC6Vtsjum0njgkraiRoiSZXjTFZTEHRLEW2bOh9GdWtUmGBU3FP65ZBVKq80Ewvcg UlTXzzy6ExN08ruAy/hw01+ThnFO9p0tXd5gpbbfmvcUVyb7RjAK8BoFHX2hq88CDyr0y+ 3uMo7WFHIOaBHNRD5H30Cy4N5ZxNWYW2Rl+1HtYq0nOPFLPy915brdDOg5E0yrdV+l+gi8 TTxjkqA4b41KhQnGBWKjnbLiucMe4y+fxWRoCZpT3TWXIuvsX1BwC6iKVyYxpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614595586; a=rsa-sha256; cv=none; b=jvfqodygSPzNkDK466U4blnBRfSPHEdQTK/T1MgEx8YnClXflcNusFHHW1GtzBDB4M1ybf KJ5AjET0LjXp16GIoa1qoCdrslQV7sPn9MMzKu/ojBxMjs1o9OnlIbVWb8yidzg1jJByJc 55dLqeLAxMrYW50N5SbK3wBLl9maoTrTdE1i1Z0KozyPJmL8hRlMte/v5LaGCcaWAwKxOh mGhPzgv20i9F9PyOZX6ddNe10sFJ6iFI3eRFZCSa/YG8uxUoQwK//BVtRsMB3AxYLHJL8D rWNIH2XpgTmkThKhtQiXkK0mKu+ILgdiodx75xuSBdzBWI1zsNF0u0LEmEA/0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=basHqjn5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.27 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=basHqjn5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: D686B27681 X-Spam-Score: -1.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4C7IwtelM9vo Hi, On Sun, 28 Feb 2021 at 07:33, Gerd Heber wrote: > +(define-public hdf5-1.12-parallel-openmpi > + (package/inherit hdf5-1.12 > + (name "hdf5-1.12-parallel-openmpi") > + (inputs > + `(("mpi" ,openmpi) > + ,@(package-inputs hdf5))) > + (arguments > + (substitute-keyword-arguments (package-arguments hdf5) > + ((#:configure-flags flags) > + ``("--enable-parallel" > + ,@(delete "--enable-cxx" > + (delete "--enable-threadsafe" ,flags)))) > + ((#:phases phases) > + `(modify-phases ,phases > + (add-after 'build 'mpi-setup > + ,%openmpi-setup) > + (add-before 'check 'patch-tests > + (lambda _ > + ;; OpenMPI's mpirun will exit with non-zero status if it > + ;; detects an "abnormal termination", i.e. any process not > + ;; calling MPI_Finalize(). Since the test is explicitly > + ;; avoiding MPI_Finalize so as not to have at_exit and thus > + ;; H5C_flush_cache from being called, mpirun will always > + ;; complain, so turn this test off. > + (substitute* "testpar/Makefile" > + (("(^TEST_PROG_PARA.*)t_pflush1(.*)" front back) > + (string-append front back "\n"))) > + (substitute* "tools/test/h5diff/testph5diff.sh" > + (("/bin/sh") (which "sh"))) > + #t)))))) > + (synopsis "Management suite for data with parallel IO support"))) > + Why duplicates? Something like: --8<---------------cut here---------------start------------->8--- (define-public hdf5-1.12-parallel-openmpi (package/inherit hdf5-parallel-openmpi (version (package-version hdf5-1.12)) (source (package-source hdf5-1.12))) --8<---------------cut here---------------end--------------->8--- seems simpler. All the best, simon