<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> Instead of using the <i style="font-family: "Segoe UI", sans-serif;"><span lang="EN-US">mpiicc -cc=icx style use --</span></i> <i style="font-family: "Segoe UI", sans-serif;"><span lang="EN-US">with-cc=mpiicc (etc) and</span><span lang="EN-US" style="font-size: 11pt;"> </span></i><div><font face="Segoe UI, sans-serif"><span style="font-size: 14.666667px;"><i><br></i></span></font></div><div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 19px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">export I_MPI_CC=icx</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 19px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">export I_MPI_CXX=icpx</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 19px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">export I_MPI_F90=ifx</span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 19px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><div><br><blockquote type="cite"><div>On Oct 9, 2023, at 8:32 AM, Richter, Roland <Roland.Richter@empa.ch> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><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: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="DE" style="font-size: 11pt;">Hei,<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;">I'm currently trying to install PETSc on a server (Ubuntu 22.04) with Intel MPI and Intel OneAPI. To combine both, I have to use f. ex. "mpiicc -cc=icx" as C-compiler, as described by<span class="Apple-converted-space"> </span><a href="https://stackoverflow.com/a/76362396" style="color: rgb(71, 90, 141); text-decoration: underline;">https://stackoverflow.com/a/76362396</a>. Therefore, I adapted the configure-line as follow:<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><i><span lang="EN-US" style="font-size: 11pt;">./configure --prefix=/media/storage/local_opt/petsc --with-scalar-type=complex --with-cc="mpiicc -cc=icx" --with-cxx="mpiicpc -cxx=icpx" --CPPFLAGS="-fPIC -march=native -mavx2" --CXXFLAGS="-fPIC -march=native -mavx2" --with-fc="mpiifort -fc=ifx" --with-pic=true --with-mpi=true --with-blaslapack-dir=/opt/intel/oneapi/mkl/latest/lib/intel64/ --with-openmp=true --download-hdf5=yes --download-netcdf=yes --download-chaco=no --download-metis=yes --download-slepc=yes --download-suitesparse=yes --download-eigen=yes --download-parmetis=yes --download-ptscotch=yes --download-mumps=yes --download-scalapack=yes --download-superlu=yes --download-superlu_dist=yes --with-mkl_pardiso=1 --with-boost=1 --with-boost-dir=/media/storage/local_opt/boost --download-opencascade=yes --with-fftw=1 --with-fftw-dir=/media/storage/local_opt/fftw3 --download-kokkos=yes --with-mkl_sparse=1 --with-mkl_cpardiso=1 --with-mkl_sparse_optimize=1 --download-muparser=no --download-p4est=yes --download-sowing=yes --download-viennalcl=yes --with-zlib --force=1 --with-clean=1 --with-cuda=1<o:p></o:p></span></i></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;">The configuration, however, fails with<span class="Apple-converted-space"> </span><o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><i><span lang="EN-US" style="font-size: 11pt;">The CMAKE_C_COMPILER:<o:p></o:p></span></i></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><i><span lang="EN-US" style="font-size: 11pt;"><o:p> </o:p></span></i></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><i><span lang="EN-US" style="font-size: 11pt;"> mpiicc -cc=icx<o:p></o:p></span></i></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><i><span lang="EN-US" style="font-size: 11pt;"><o:p> </o:p></span></i></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><i><span lang="EN-US" style="font-size: 11pt;"> is not a full path and was not found in the PATH<o:p></o:p></span></i></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><i><span lang="EN-US" style="font-size: 11pt;"><o:p> </o:p></span></i></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;">for all additional modules which use a cmake-based configuration approach (such as OPENCASCADE). How could I solve that problem?<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;"><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;">Thank you!<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;">Regards,<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;">Roland Richter<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: "Segoe UI", sans-serif;"><span lang="EN-US" style="font-size: 11pt;"><o:p></o:p></span></div></div><span id="cid:2C64F2AD-0137-483C-9670-2DFA07D704A3"><configure.log></span></div></blockquote></div><br></div></body></html>