<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
Dear PETSc developers, Recently, when I configured the PETSc with blas/lapack provided by Intel MKL, I got the following error message, [ 1%] Performing configure step for 'external_petsc' =============================================================================================
</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>
<!--[if ((ie)|(mso))]>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
<table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
<table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
<tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
This Message Is From an External Sender
</td></tr>
<tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
This message came from outside your organization.
</td></tr>
</table>
</td></tr></table>
</td></tr></table>
<![endif]-->
<![if !((ie)|(mso))]>
<div dir="ltr" id="pfptBannerk9cg2x5" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
<div id="pfptBannerk9cg2x5" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannerk9cg2x5" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
This Message Is From an External Sender
</div>
<div id="pfptBannerk9cg2x5" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
</div>
</div>
<div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
</div>
<![endif]>
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<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><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannerk9cg2x5 { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonk9cg2x5:hover, .pfptPrimaryButtonk9cg2x5:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonk9cg2x5:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<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:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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="en-CN" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Dear PETSc developers,<br>
<br>
Recently, when I configured the PETSc with blas/lapack provided by Intel MKL, I got the following error message,<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">[ 1%] Performing configure step for 'external_petsc'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">=============================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> Configuring PETSc to compile on your system<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">=============================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">=============================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> ***** WARNING *****<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> Found environment variable: MAKEFLAGS=s. Ignoring it! Use "./configure<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> MAKEFLAGS=$MAKEFLAGS" if you really want to use this value<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">=============================================================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:114)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">*********************************************************************************************<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">---------------------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> You set a value for --with-blaslapack-dir=<dir>, but<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> /tool/pandora64/.package/oneMKL-2021.3/mkl cannot be used<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">*********************************************************************************************<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">make[2]: *** [CMakeFiles/external_petsc.dir/build.make:92: external/builds/petsc-3.21.0/src/external_petsc-stamp/external_petsc-configure] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">make[1]: *** [CMakeFiles/Makefile2:114: CMakeFiles/external_petsc.dir/all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121;mso-ligatures:none">make: *** [Makefile:91: all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><br>
However, I think I was using the correct MKL root address to configure PETSc. I have attached the configure.log file, could you help me look at where might be wrong?<br>
<br>
Thanks!<br>
Yongzhong<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none">-----------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none">Yongzhong Li</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none">PhD student | Electromagnetics Group<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none">Department of Electrical & Computer Engineering<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none">University of Toronto<o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://urldefense.us/v3/__http://www.modelics.org__;!!G_uCfscf7eWS!aa4LdUX0JV3i0ce3Jp20GLg521rd7L25vZSpFhCmlvTUN8EZFjfbk-IsfiTOD3IpCfXCB_zHA8nh1WMIkiHosbwZgv8PzmzPEec$"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0563C1;mso-ligatures:none">http://www.modelics.org</span></a><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>