<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi Jorge, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Looks like we were mistakenly declaring some variables locally instead of as extern. Thanks for catching this.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I have attached a patch here that you can apply locally, and we should have the tarball updated within an hour or so.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thanks, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Nat<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mvapich-discuss <mvapich-discuss-bounces+shineman.5=osu.edu@lists.osu.edu> on behalf of Jorge D'Elia via Mvapich-discuss <mvapich-discuss@lists.osu.edu><br>
<b>Sent:</b> Friday, March 4, 2022 08:29<br>
<b>To:</b> mvapich-discuss <mvapich-discuss@lists.osu.edu><br>
<b>Subject:</b> [Mvapich-discuss] MVAPICH2 2.3.7, Fedora Core 35 x86_64, and gcc (GCC) 11.2.1 20220127: build issues</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Dear all,<br>
<br>
I have some problems building the mvapich2 2.3.7 on a laptop <br>
with Fedora 35/x86_64. The common error message is:<br>
<br>
multiple definition of ... (several ones)<br>
...<br>
make[2]: *** [Makefile:18737: lib/libmpi.la] Error 1<br>
make[2]: Leaving directory '/home/bigpack/mvapich2-paq/mvapich2-2.3.7/BUILD'<br>
make[1]: *** [Makefile:44393: all-recursive] Error 1<br>
make[1]: Leaving directory '/home/bigpack/mvapich2-paq/mvapich2-2.3.7/BUILD'<br>
make: *** [Makefile:12029: all] Error 2<br>
<br>
<br>
Below I paste some information and I also attach some relevant files. <br>
Please, some clue to solve it. <br>
<br>
Thanks in advance.<br>
<br>
Regards <br>
Jorge.<br>
<br>
--<br>
#begin<br>
Build and Installation issues <br>
<br>
    MVAPICH2 version:<br>
       MVAPICH2 2.3.7 (03/02/2022)<br>
       <br>
    Compiler version<br>
       gcc --version<br>
       gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)<br>
<br>
    Platform details (OS, kernel version..etc)<br>
       Fedora Core 35 x86_64<br>
       kernel-core-5.16.11-200.fc35.x86_64<br>
       <br>
    Configure flags<br>
       ../configure --with-rdma=gen2 --enable-fortran=all --enable-romio --enable-fast=all --enable-mpit-pvars=all --prefix=/usr/beta/mvapich2<br>
       <br>
    Attach config.log file<br>
        attached<br>
<br>
    Attach configure, make and make install step output<br>
        ../configure {–flags} 2>&1 | tee config.out  --> attached<br>
        Make 2>&1 | tee make.out                     --> attached<br>
        Make install 2>&1 | tee install.out          --> not obtained<br>
    System information to include<br>
        OS version (/etc/issue)<br>
        Kernel version (uname -a)<br>
          Linux asgard 5.16.11-200.fc35.x86_64<br>
          #1 SMP PREEMPT Wed Feb 23 17:08:49 UTC 2022<br>
          x86_64 x86_64 x86_64 GNU/Linux<br>
        OFED info (ofed_info)<br>
        IB card info (ibv_devinfo)<br>
#end</div>
</span></font></div>
</body>
</html>