X-Loop: help-debbugs@HIDDEN Subject: bug#74010: openmpi@5 requires propagated libraries Resent-From: Andreas Enge <andreas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 25 Oct 2024 09:38:02 +0000 Resent-Message-ID: <handler.74010.B.17298490526951 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 74010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74010 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17298490526951 (code B ref -1); Fri, 25 Oct 2024 09:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2024 09:37:32 +0000 Received: from localhost ([127.0.0.1]:37272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t4Gl9-0001o2-Ie for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 05:37:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:37722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1t4Gl6-0001ns-Ew for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 05:37:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <andreas@HIDDEN>) id 1t4Gka-0000T7-B6 for bug-guix@HIDDEN; Fri, 25 Oct 2024 05:36:56 -0400 Received: from gaia.aquilenet.fr ([2a0c:e300::2]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <andreas@HIDDEN>) id 1t4GkX-0002vr-Cg for bug-guix@HIDDEN; Fri, 25 Oct 2024 05:36:56 -0400 Received: from hera.aquilenet.fr (hera.aquilenet.fr [185.233.100.1]) by gaia.aquilenet.fr (Postfix) with ESMTP id A3D07517C for <bug-guix@HIDDEN>; Fri, 25 Oct 2024 11:36:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8243A51D; Fri, 25 Oct 2024 11:36:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eV4YX38XVn1Y; Fri, 25 Oct 2024 11:36:48 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 098B610A; Fri, 25 Oct 2024 11:36:47 +0200 (CEST) Date: Fri, 25 Oct 2024 11:36:46 +0200 From: Andreas Enge <andreas@HIDDEN> Message-ID: <Zxtmru46jfWwLzX6@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a0c:e300::2; envelope-from=andreas@HIDDEN; helo=gaia.aquilenet.fr X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_XBL=0.375, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hello, when updating openmpi from @4 to @5, my code does not link any more with the messages: ld: cannot find -lrdmacm: No such file or directory ld: cannot find -lefa: No such file or directory ld: cannot find -libverbs: No such file or directory ld: cannot find -lpsm2: No such file or directory Installing rdma-core and psm2 solves the problem. Here is a way to reproduce the problem: cd /tmp tar xvf `guix build -S cm` cd cm-0.4.3 guix shell --pure openmpi -D cm -- /bin/sh --norc ./configure --enable-mpi make -j Hm, I think the culprit is actually libfabric. It has these two packages as inputs, and contains this in its libfabric.pc: Libs.private: -lpsm2 -lrdmacm -libverbs -lefa -latomic -lpthread -ldl I am not familiar with pkgconfig and do not know what distinguishes the Libs from the Libs.private field. But the line for linking my binary contains this in exactly this order: /gnu/store/0f6bjfrf9kkdqh27y0bab9x9b4i8w5gi-libfabric-1.22.0/lib/libfabric.so -lrdmacm -lefa -libverbs -lpsm2 So this at least confirms the idea that something needs to be done for libfabric. Propagate its inputs? ldd on libfabric.so shows the required libraries librdmacm.so.1 => /gnu/store/2d... and so on, so I do not understand what goes wrong. Andreas
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Andreas Enge <andreas@HIDDEN> Subject: bug#74010: Acknowledgement (openmpi@5 requires propagated libraries) Message-ID: <handler.74010.B.17298490526951.ack <at> debbugs.gnu.org> References: <Zxtmru46jfWwLzX6@jurong> X-Gnu-PR-Message: ack 74010 X-Gnu-PR-Package: guix Reply-To: 74010 <at> debbugs.gnu.org Date: Fri, 25 Oct 2024 09:38:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 74010 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 74010: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74010 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#74010: openmpi@5 requires propagated libraries Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 25 Oct 2024 10:33:02 +0000 Resent-Message-ID: <handler.74010.B74010.172985233417047 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 74010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andreas Enge <andreas@HIDDEN> Cc: 74010 <at> debbugs.gnu.org Received: via spool by 74010-submit <at> debbugs.gnu.org id=B74010.172985233417047 (code B ref 74010); Fri, 25 Oct 2024 10:33:02 +0000 Received: (at 74010) by debbugs.gnu.org; 25 Oct 2024 10:32:14 +0000 Received: from localhost ([127.0.0.1]:37449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t4Hc5-0004Qs-H3 for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 06:32:14 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:9486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludovic.courtes@HIDDEN>) id 1t4Hc0-0004QK-2x for 74010 <at> debbugs.gnu.org; Fri, 25 Oct 2024 06:32:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=bKutkG/fipjCckJQGaBm5cTomdce1kYBMRawpWRjf/s=; b=npCU1xDBc8WLnIt8IC6LGPecLc3FizOwyDn3e50dS03GJMI6Fs1wZk+V ZgnecDxELJ2TY4f1fkR/By3ZC7Q0XCzom8rNyWKd5270QjJfcAta0SJN6 B7QWnkvESB4q6Ep578wCggfWShbV0n9Pbd4LdKP+BM3g7GeYf3tMhGr05 0=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.11,231,1725314400"; d="scan'208";a="190717863" Received: from unknown (HELO ribbon) ([193.50.110.122]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2024 12:31:29 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> In-Reply-To: <Zxtmru46jfWwLzX6@jurong> (Andreas Enge's message of "Fri, 25 Oct 2024 11:36:46 +0200") References: <Zxtmru46jfWwLzX6@jurong> Date: Fri, 25 Oct 2024 12:31:29 +0200 Message-ID: <87a5es324e.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hello, Andreas Enge <andreas@HIDDEN> skribis: > when updating openmpi from @4 to @5, my code does not link any more with = the > messages: > ld: cannot find -lrdmacm: No such file or directory > ld: cannot find -lefa: No such file or directory > ld: cannot find -libverbs: No such file or directory > ld: cannot find -lpsm2: No such file or directory > > Installing rdma-core and psm2 solves the problem. > > Here is a way to reproduce the problem: > cd /tmp > tar xvf `guix build -S cm` Note that =E2=80=98cm=E2=80=99 as currently packaged does not depend on ope= nmpi. > Hm, I think the culprit is actually libfabric. It has these two packages = as > inputs, and contains this in its libfabric.pc: > Libs.private: -lpsm2 -lrdmacm -libverbs -lefa -latomic -lpthread -ldl > > I am not familiar with pkgconfig and do not know what distinguishes the L= ibs > from the Libs.private field. But the line for linking my binary contains = this > in exactly this order: It looks like the culprit is not pkg-config but Libtool: --8<---------------cut here---------------start------------->8--- $ cat $(guix build openmpi@5 |grep -v debug)/lib/libmpi.la |grep ^dependenc= y_libs dependency_libs=3D' -L/gnu/store/lqgg509yb3f85ck4k6l0qp7a70bz7daa-libevent-= 2.1.12/lib -L/gnu/store/j9nkxb0kcx8i6fmjjlg9m5icapdnsvs8-hwloc-2.11.1-lib/l= ib -L/gnu/store/mqmlzbzarz2s56khlkl7xk20xlsxdf04-openpmix-4.2.8/lib -L/gnu/= store/an3mrydqv3x9kzkv45jcay0jh301v06q-libpciaccess-0.16/lib -L/gnu/store/1= prv14v6jfnzzg7szm57690b7fr6sx33-zlib-1.3/lib -L/gnu/store/0f6bjfrf9kkdqh27y= 0bab9x9b4i8w5gi-libfabric-1.22.0/lib -L/gnu/store/0qqy5010by77h33ny3gzmaqx9= 0c93q5v-ucx-1.15.0/lib /gnu/store/1g7npkghs0b25gyk42pgcns8icy29gk3-openmpi-= 5.0.3/lib/libopen-pal.la /gnu/store/0f6bjfrf9kkdqh27y0bab9x9b4i8w5gi-libfab= ric-1.22.0/lib/libfabric.la -lrdmacm -lefa -libverbs -lpsm2 /gnu/store/zzpb= p6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib/lib/libatomic.la -lpthread /gnu= /store/0qqy5010by77h33ny3gzmaqx90c93q5v-ucx-1.15.0/lib/libucp.la /gnu/store= /0qqy5010by77h33ny3gzmaqx90c93q5v-ucx-1.15.0/lib/libuct.la /gnu/store/0qqy5= 010by77h33ny3gzmaqx90c93q5v-ucx-1.15.0/lib/libucs.la /gnu/store/0qqy5010by7= 7h33ny3gzmaqx90c93q5v-ucx-1.15.0/lib/libucm.la -lrt /gnu/store/mqmlzbzarz2s= 56khlkl7xk20xlsxdf04-openpmix-4.2.8/lib/libpmix.la -ldl /gnu/store/lqgg509y= b3f85ck4k6l0qp7a70bz7daa-libevent-2.1.12/lib/libevent_core.la /gnu/store/lq= gg509yb3f85ck4k6l0qp7a70bz7daa-libevent-2.1.12/lib/libevent_pthreads.la /gn= u/store/j9nkxb0kcx8i6fmjjlg9m5icapdnsvs8-hwloc-2.11.1-lib/lib/libhwloc.la -= lm /gnu/store/an3mrydqv3x9kzkv45jcay0jh301v06q-libpciaccess-0.16/lib/libpci= access.la -lz' $ cat $(guix build openmpi@4 |grep -v debug)/lib/libmpi.la |grep ^dependenc= y_libs dependency_libs=3D' -L/gnu/store/an3mrydqv3x9kzkv45jcay0jh301v06q-libpciacc= ess-0.16/lib -L/gnu/store/1prv14v6jfnzzg7szm57690b7fr6sx33-zlib-1.3/lib /gn= u/store/gaip8ig4yv0hx5s60hbka6h8lkh6747y-openmpi-4.1.6/lib/libopen-rte.la /= gnu/store/gaip8ig4yv0hx5s60hbka6h8lkh6747y-openmpi-4.1.6/lib/libopen-pal.la= /gnu/store/j9nkxb0kcx8i6fmjjlg9m5icapdnsvs8-hwloc-2.11.1-lib/lib/libhwloc.= la -lm /gnu/store/an3mrydqv3x9kzkv45jcay0jh301v06q-libpciaccess-0.16/lib/li= bpciaccess.la -lz /gnu/store/lqgg509yb3f85ck4k6l0qp7a70bz7daa-libevent-2.1.= 12/lib/libevent_core.la /gnu/store/lqgg509yb3f85ck4k6l0qp7a70bz7daa-libeven= t-2.1.12/lib/libevent_pthreads.la' --8<---------------cut here---------------end--------------->8--- We need to check the build process of openmpi to see where all these extra =E2=80=98-l=E2=80=99 in libmpi.la come from. Thanks, Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: bug#74010: openmpi@5 requires propagated libraries Resent-From: Andreas Enge <andreas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 25 Oct 2024 10:48:02 +0000 Resent-Message-ID: <handler.74010.B74010.172985326920006 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 74010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Cc: 74010 <at> debbugs.gnu.org Received: via spool by 74010-submit <at> debbugs.gnu.org id=B74010.172985326920006 (code B ref 74010); Fri, 25 Oct 2024 10:48:02 +0000 Received: (at 74010) by debbugs.gnu.org; 25 Oct 2024 10:47:49 +0000 Received: from localhost ([127.0.0.1]:37514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t4HrA-0005CZ-Qv for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 06:47:49 -0400 Received: from gaia.aquilenet.fr ([185.233.100.2]:44212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1t4Hr8-0005CJ-F8 for 74010 <at> debbugs.gnu.org; Fri, 25 Oct 2024 06:47:47 -0400 Received: from hera.aquilenet.fr (hera.aquilenet.fr [185.233.100.1]) by gaia.aquilenet.fr (Postfix) with ESMTP id 34961517C; Fri, 25 Oct 2024 12:46:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2C07E51D; Fri, 25 Oct 2024 12:46:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bEoPkAttXjI5; Fri, 25 Oct 2024 12:46:37 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9825FE0; Fri, 25 Oct 2024 12:46:37 +0200 (CEST) Date: Fri, 25 Oct 2024 12:46:36 +0200 From: Andreas Enge <andreas@HIDDEN> Message-ID: <Zxt3DF82WvbGYjOF@jurong> References: <Zxtmru46jfWwLzX6@jurong> <87a5es324e.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a5es324e.fsf@HIDDEN> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Am Fri, Oct 25, 2024 at 12:31:29PM +0200 schrieb Ludovic Courtès: > Note that ‘cm’ as currently packaged does not depend on openmpi. No, because I did not add the "--enable-mpi" configuration option. This is just an example; I think the problem would occur with any software using openmpi@5. Andreas
X-Loop: help-debbugs@HIDDEN Subject: bug#74010: openmpi@5 requires propagated libraries Resent-From: Andreas Enge <andreas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 25 Oct 2024 11:15:02 +0000 Resent-Message-ID: <handler.74010.B74010.172985488024778 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 74010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Cc: 74010 <at> debbugs.gnu.org Received: via spool by 74010-submit <at> debbugs.gnu.org id=B74010.172985488024778 (code B ref 74010); Fri, 25 Oct 2024 11:15:02 +0000 Received: (at 74010) by debbugs.gnu.org; 25 Oct 2024 11:14:40 +0000 Received: from localhost ([127.0.0.1]:37540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t4IH9-0006Ra-Tp for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 07:14:40 -0400 Received: from gaia.aquilenet.fr ([185.233.100.2]:44086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1t4IH7-0006RL-9q for 74010 <at> debbugs.gnu.org; Fri, 25 Oct 2024 07:14:38 -0400 Received: from hera.aquilenet.fr (hera.aquilenet.fr [185.233.100.1]) by gaia.aquilenet.fr (Postfix) with ESMTP id 1216A517C; Fri, 25 Oct 2024 13:13:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DB734417; Fri, 25 Oct 2024 13:13:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Itmg4HZk40AM; Fri, 25 Oct 2024 13:13:28 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4029F10A; Fri, 25 Oct 2024 13:13:28 +0200 (CEST) Date: Fri, 25 Oct 2024 13:13:26 +0200 From: Andreas Enge <andreas@HIDDEN> Message-ID: <Zxt9VoNbjGdpUNYx@jurong> References: <Zxtmru46jfWwLzX6@jurong> <87a5es324e.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a5es324e.fsf@HIDDEN> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Am Fri, Oct 25, 2024 at 12:31:29PM +0200 schrieb Ludovic Courtès: > It looks like the culprit is not pkg-config but Libtool: > --8<---------------cut here---------------start------------->8--- > $ cat $(guix build openmpi@5 |grep -v debug)/lib/libmpi.la |grep ^dependency_libs > dependency_libs=' > ... > /gnu/store/0f6bjfrf9kkdqh27y0bab9x9b4i8w5gi-libfabric-1.22.0/lib/libfabric.la -lrdmacm -lefa -libverbs -lpsm2 /gnu/store/zzpbp6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib/lib/libatomic.la -lpthread This part comes from libfabric, which has this line in /gnu/store/0f6bjfrf9kkdqh27y0bab9x9b4i8w5gi-libfabric-1.22.0/lib/libfabric.la : dependency_libs=' -lrdmacm -lefa -libverbs -lpsm2 /gnu/store/zzpbp6rr43smwxzvzd4qd317z5j7qblj-gcc-11.4.0-lib/lib/libatomic.la -lpthread -ldl' But both openmpi@4 and @5 depend on libfabric, so this does not explain the difference. Then I do not understand why one of the libraries has an absolute path, and the others just their name. Maybe something should be changed in the building of libfabric? But indeed my code using openmpi@4 does not link with libfabric, as you noticed, and it works nevertheless. Andreas
X-Loop: help-debbugs@HIDDEN Subject: bug#74010: openmpi@5 requires propagated libraries Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 25 Oct 2024 12:25:01 +0000 Resent-Message-ID: <handler.74010.B74010.17298590634791 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 74010 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andreas Enge <andreas@HIDDEN> Cc: 74010 <at> debbugs.gnu.org Received: via spool by 74010-submit <at> debbugs.gnu.org id=B74010.17298590634791 (code B ref 74010); Fri, 25 Oct 2024 12:25:01 +0000 Received: (at 74010) by debbugs.gnu.org; 25 Oct 2024 12:24:23 +0000 Received: from localhost ([127.0.0.1]:37634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t4JMd-0001FC-CR for submit <at> debbugs.gnu.org; Fri, 25 Oct 2024 08:24:23 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:21927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludovic.courtes@HIDDEN>) id 1t4JMb-0001Ex-8d for 74010 <at> debbugs.gnu.org; Fri, 25 Oct 2024 08:24:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=HBLnag8N+vk1Pp0/KC6muhgejn+GJi/Ye9BVviAUQWo=; b=JgQRf5uEjLas/3giEYSTxaEXSLa8gOrBi8uir4HxL9B+oRUAxOlzoPsU v/yMZlXA9VeZK/VAynbJdyGj7/p98GKyxKEc5prc2qhT83+cWOElr/oPk etJBVub9eNNgCvUcyDayfgUOEDE8ZhhO8z6d4ICQzaDCec7ayha9wf27C E=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.11,231,1725314400"; d="scan'208";a="100044110" Received: from unknown (HELO ribbon) ([193.50.110.122]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2024 14:23:41 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> In-Reply-To: <Zxt3DF82WvbGYjOF@jurong> (Andreas Enge's message of "Fri, 25 Oct 2024 12:46:36 +0200") References: <Zxtmru46jfWwLzX6@jurong> <87a5es324e.fsf@HIDDEN> <Zxt3DF82WvbGYjOF@jurong> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 4 Brumaire an 233 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Betterave 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, 25 Oct 2024 14:23:39 +0200 Message-ID: <87r0841id0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Andreas Enge <andreas@HIDDEN> skribis: > Am Fri, Oct 25, 2024 at 12:31:29PM +0200 schrieb Ludovic Court=C3=A8s: >> Note that =E2=80=98cm=E2=80=99 as currently packaged does not depend on = openmpi. > > No, because I did not add the "--enable-mpi" configuration option. > This is just an example; I think the problem would occur with any > software using openmpi@5. Only for software using Libtool. For example, this works: guix build intel-mpi-benchmarks --with-input=3Dopenmpi@4=3Dopenmpi@5 This particular package uses CMake, which is more common than Autotools in this domain. Maybe someday we=E2=80=99ll just remove .la files wholesale, as Debian and others have been doing for a while. Ludo=E2=80=99.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.