<div>Fortunately, I was able to compile it by restricting PATH and LD_LIBRARY_PATH variables.<br></div><div><br></div><div>Arham<br></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Wednesday, July 8, 2020 9:25 PM, Arham Amouei via discuss <discuss@mpich.org> wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><blockquote type="cite" class="protonmail_quote"><div>That's right. There already exist some MPI installations on this system.<br></div><div><div><br></div></div><div>I receive this error when making MPICH 3.3.2 itself, not when compiling some code with mpicc. So It's not clear what you mean about using the correct mpicc.<br></div><div><div><br></div></div><div>Thanks.<br></div><div>Arham<br></div></blockquote><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Wednesday, July 8, 2020 8:30 PM, Zhou, Hui <zhouh@anl.gov> wrote:<br></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div><p>Hi Arham,<br></p><p> <br></p><p>I think you have multiple MPI installations mixing up. Please double check that you are using the correct `mpicc` and check the results with `ldd`.<br></p><p> <br></p><div><div><div><p><br></p><div>-- <br></div><div>Hui Zhou<br></div><p><br></p></div></div></div><p> <br></p><p> <br></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p><b><span style="color:black"><span style="font-size:12pt">From: </span></span></b><span style="color:black"><span style="font-size:12pt">Arham Amouei via discuss <discuss@mpich.org><br> <b>Reply-To: </b>Arham Amouei <arham.amouei@protonmail.com>, "discuss@mpich.org" <discuss@mpich.org><br> <b>Date: </b>Wednesday, July 8, 2020 at 10:48 AM<br> <b>To: </b>"discuss@mpich.org" <discuss@mpich.org><br> <b>Cc: </b>Arham Amouei <arham.amouei@protonmail.com><br> <b>Subject: </b>[mpich-discuss] Receiving fortran-related errors when compiling MPICH 3.3.2</span></span></p></div><div><p> <br></p></div><div><p>Hello.<br></p></div><div><p> <br></p></div><div><p>Despite I have disabled fortran by --disable-fortran, I receive errors related to fortran when compiling MPICH 3.3.2.<br></p></div><div><p> <br></p></div><div><p>Example:<br></p></div><div><p> <br></p></div><div><p>.../linux/mpi/intel64/lib/libmpifort.so.12: undefined reference to `PMPI_Type_create_f90_complex'<br></p></div><div><p> <br></p></div><div><p>How can I get rid of those errors without changing other installed softwares?<br></p></div><div><p> <br></p></div><div><p>Please find attached m.txt and c.txt files.<br></p></div><div><p> <br></p></div><div><p>Kind regards,<br></p></div><div><p>Arham<br></p></div></div></blockquote><div><br></div></blockquote><div><br></div>