<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 8, 2022, at 8:38 PM, Park, Heeho via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" class="">petsc-users@mcs.anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi PETSc Developers,<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">I am having trouble compiling with the --download-hdf5-fortran-bindings=yes option on Sandia’s HPC system.<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">It compiles with make version 3.82, but fails to compile with make version 4.2.1 in the environment.</div></div></div></blockquote><blockquote type="cite" class=""><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">The issues I’m having redirecting to make version 3.82 while having the more recent versions of gnu compilers like gnu/10.2.1</div></div></div></blockquote><div><br class=""></div></div><div><br class=""></div><div><div>ptest.f90:20:7: Fatal Error: Cannot read module file ‘/opt/openmpi/4.1/gnu/lib/mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran</div><div>compilation terminated.</div><div><br class=""></div><div>The MPI (Fortran side) cannot be used with the GFortran version you are trying to use. You need to have an MPI install compatible with the GNU Fortran version you want to use. </div><div><br class=""></div><div>I suggest showing this error to your sys-admins and asking for help in determining what MPI and Fortran compilers to use to get what you need.</div></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Is there a way around this? By the way, adding --download-make=1 did not help<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Attached is the configure log. Thank you for your help.<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo; color: rgb(159, 160, 28);" class=""><span class="s1" style="color: rgb(46, 174, 187);">heepark</span><span class="s2" style="">@</span><span class="s3" style="color: rgb(47, 180, 29);">boca1:</span><span class="s4"><b class="">/projects/ADSM/software/petsc-v3.17.2</b></span><span class="s2" style="">$ make -v</span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s4">GNU Make 4.2.1</span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s4">Built for x86_64-redhat-linux-gnu</span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s4">Copyright (C) 1988-2016 Free Software Foundation, Inc.</span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s4">License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" class="">http://gnu.org/licenses/gpl.html</a>></span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s4">This is free software: you are free to change and redistribute it.</span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s4">There is NO WARRANTY, to the extent permitted by law.</span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in; font-size: 8.5pt; font-family: Menlo; color: rgb(159, 160, 28);" class=""><span class="s1" style="color: rgb(46, 174, 187);">heepark</span><span class="s2" style="">@</span><span class="s3" style="color: rgb(47, 180, 29);">boca1:</span><span class="s4"><b class="">/projects/ADSM/software/petsc-v3.17.2</b></span><span class="s2" style="">$ ./run_configure_gnu_O.sh</span><o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">=============================================================================================<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">                         Configuring PETSc to compile on your system                         <o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">=============================================================================================<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">=============================================================================================<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">            Running configure on HDF5; this may take several minutes                                     <o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">=============================================================================================      <o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">=============================================================================================            <o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">Running make on HDF5; this may take several minutes                                          <o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">=============================================================================================                            <o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">*******************************************************************************<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">-------------------------------------------------------------------------------<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 8.5pt; font-family: Menlo;" class="">Error running make; make install on HDF5<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="" class="">Best,<o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 14pt; font-family: "Open Sans", sans-serif;" class="">Heeho D. Park, Ph.D.</span><span style="" class=""><o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: "Open Sans", sans-serif; color: rgb(46, 116, 181);" class="">  <span class="Apple-converted-space"> </span></span><span style="font-family: "Open Sans", sans-serif; color: rgb(47, 85, 151);" class="">Computational Scientist & Engineer</span><span style="color: rgb(47, 85, 151);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: "Open Sans", sans-serif; color: rgb(47, 85, 151);" class="">    Center for Energy & Earth Systems</span><span style="color: rgb(47, 85, 151);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: "Open Sans", sans-serif; color: rgb(47, 85, 151);" class="">    Applied Systems Analysis and Research Dept.</span><span style="color: rgb(47, 85, 151);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: "Open Sans", sans-serif; color: rgb(47, 85, 151);" class="">   Sandia National Laboratories </span><span style="color: rgb(47, 85, 151);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: "Open Sans", sans-serif; color: rgb(47, 85, 151);" class="">   Email:<span class="Apple-converted-space"> </span><a href="mailto:heepark@sandia.gov" class=""><span style="color: rgb(5, 99, 193);" class="">heepark@sandia.gov</span></a></span><span style="font-family: "Open Sans", sans-serif;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: "Open Sans", sans-serif; color: rgb(47, 85, 151);" class="">   Web:<span class="Apple-converted-space"> </span><a href="https://www.linkedin.com/in/heeho-daniel-park-1a628517/" class=""><span style="color: rgb(5, 99, 193);" class="">Homepage</span></a></span><o:p class=""></o:p></div></div></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><span id="cid:555E56A52C296C459D000B81A5DD226B@namprd09.prod.outlook.com"><configure.log></span></div></blockquote></div><br class=""></body></html>