<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Segoe UI",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#475A8D;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Segoe UI",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1095396785;
        mso-list-template-ids:-239936086;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:Aufz\00E4hlung;
        mso-level-text:\25CF;
        mso-level-tab-stop:17.05pt;
        mso-level-number-position:left;
        margin-left:17.05pt;
        text-indent:-17.05pt;
        font-family:"Times New Roman",serif;
        color:windowtext;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:\25CB;
        mso-level-tab-stop:34.05pt;
        mso-level-number-position:left;
        margin-left:34.05pt;
        text-indent:-17.0pt;
        font-family:"Times New Roman",serif;
        color:windowtext;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\25AA;
        mso-level-tab-stop:51.05pt;
        mso-level-number-position:left;
        margin-left:51.05pt;
        text-indent:-17.0pt;
        font-family:"Times New Roman",serif;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\25AB;
        mso-level-tab-stop:68.05pt;
        mso-level-number-position:left;
        margin-left:68.05pt;
        text-indent:-17.0pt;
        font-family:"Times New Roman",serif;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A8;
        mso-level-tab-stop:64.5pt;
        mso-level-number-position:left;
        margin-left:64.5pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0D8;
        mso-level-tab-stop:82.5pt;
        mso-level-number-position:left;
        margin-left:82.5pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:100.5pt;
        mso-level-number-position:left;
        margin-left:100.5pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:118.5pt;
        mso-level-number-position:left;
        margin-left:118.5pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A8;
        mso-level-tab-stop:136.5pt;
        mso-level-number-position:left;
        margin-left:136.5pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:1565944447;
        mso-list-type:hybrid;
        mso-list-template-ids:-1747693752 1020820960 134676483 134676485 134676481 134676483 134676485 134676481 134676483 134676485;}
@list l1:level1
        {mso-level-style-link:Listenabsatz;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:54.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:90.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:126.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:198.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:234.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:270.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:306.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NO-BOK link="#475A8D" vlink="#C32D2E" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=DE style='font-size:11.0pt'>Hei,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>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 <a href="https://stackoverflow.com/a/76362396">https://stackoverflow.com/a/76362396</a>. Therefore, I adapted the configure-line as follow:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt'>./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></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>The configuration, however, fails with <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt'>The CMAKE_C_COMPILER:<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt'>    mpiicc -cc=icx<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt'>  is not a full path and was not found in the PATH<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></i></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>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></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Thank you!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Roland Richter<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'> <o:p></o:p></span></p></div></body></html>