<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=""><div class=""><br class=""></div> Depending on the network you can remove the ./configure options --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 and use instead --with-cc=icc --with-cxx=icpc and--with-fc=ifort --download-openmpi <div class=""><br class=""></div><div class=""> Barry</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 10, 2021, at 12:18 PM, Danyang Su <<a href="mailto:danyang.su@gmail.com" class="">danyang.su@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><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: normal; 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: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt;" class="">Dear PETSc developers and users,<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt;" class="">I am trying to install the latest PETSc version on an ancient cluster. The OpenMPI version is 1.6.5 and Compiler is Intel 14.0, which are the newest on that cluster. I have no problem to install PETSc up to version 3.12.5. However, if I try to use PETSc 3.13+, there are three undefined reference errors in MPI_Win_allocate, MPI_Win_attach and MPI_Win_create_dynamic. I know these three functions are available from OpenMPI 2.0+. Because the cluster is not in technical support anymore, there is no way I can install new OpenMPI version or do some update. Is it possible to disable these three functions in PETSc 3.13+ version?<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt;" class="">The errors occur in ‘make check’ step:<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s1">/home/dsu/soft/petsc/petsc-3.13.0/linux-intel-openmpi/lib/libpetsc.so: undefined reference to `MPI_Win_allocate'</span><o:p class=""></o:p></div><div style="margin: 0cm; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s1">/home/dsu/soft/petsc/petsc-3.13.0/linux-intel-openmpi/lib/libpetsc.so: undefined reference to `MPI_Win_attach'</span><o:p class=""></o:p></div><div style="margin: 0cm; font-size: 8.5pt; font-family: Menlo;" class=""><span class="s1">/home/dsu/soft/petsc/petsc-3.13.0/linux-intel-openmpi/lib/libpetsc.so: undefined reference to `MPI_Win_create_dynamic'</span><o:p class=""></o:p></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt;" class="">The configuration used is shown below:<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 8.5pt; font-family: Menlo;" class=""><span lang="EN-US" style="font-size: 11pt;" class=""></span><span class="s1">./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 --download-mumps --download-scalapack --download-parmetis --download-metis --download-fblaslapack --download-hypre --download-superlu --download-hdf5=yes --with-debugging=0 COPTFLAGS="-O3 -march=native -mtune=native" CXXOPTFLAGS="-O3 -march=native -mtune=native" FOPTFLAGS="-O3 -march=native -mtune=nativels"</span><o:p class=""></o:p></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">Thanks,<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11pt;" class="">Danyang</span></div></div></div></blockquote></div><br class=""></div></body></html>