<!-- 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;">
Thank you Satish! I think I find the issue, the MKLROOT should be one of the subdirectory for the previous address. Another question, do you know if PETSc can be configured with AMD AOCL https: //www. amd. com/en/developer/aocl. html as the BLAS
</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="pfptBanner9hz0hhd" 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="pfptBanner9hz0hhd" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBanner9hz0hhd" 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="pfptBanner9hz0hhd" 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><head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBanner9hz0hhd { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButton9hz0hhd:hover, .pfptPrimaryButton9hz0hhd:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButton9hz0hhd:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><span style="font-family: Aptos, sans-serif; font-size: 11pt;">Thank you Satish!</span><br><blockquote type="cite"><div><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: Aptos, sans-serif;"><span lang="EN-US" style="font-size: 11pt;"><br>I think I find the issue, the MKLROOT should be one of the subdirectory for the previous address.<br><br>Another question, do you know if PETSc can be configured with AMD AOCL<span class="Apple-converted-space"> </span><a href="https://urldefense.us/v3/__https://www.amd.com/en/developer/aocl.html__;!!G_uCfscf7eWS!bLykqpElcA3Fh7lwJb3zD6mSMQ3zMUcI_ktTXnK41krRlRU6bWUv5h4HEDG8Pa7SjaqgjaAmNGStHpZVQhV6n9ZF5uclZA6v5gI$" style="color: blue; text-decoration: underline;">https://www.amd.com/en/developer/aocl.html</a><span class="Apple-converted-space"> </span>as the BLAS and LAPACK.<br></span></div></div></div></blockquote><div><br></div><div>You should be able to use the configure option</div><div><br></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; 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;"><b><span style="font-variant-ligatures: no-common-ligatures;">--</span><span style="font-variant-ligatures: no-common-ligatures;">with-blaslapack-dir=directory_of_aocl </span></b></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; 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"><b><br></b></span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; 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;"><b>Please let us know of any difficulties.</b></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; 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; color: rgb(180, 36, 25);"><b><br></b></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; 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;"><b>Barry</b></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 14px; 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-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(180, 36, 25);"><b><br></b></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 14px; 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-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"><b><br></b></span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 14px; 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-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"><b><br></b></span></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 14px; 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-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; color: rgb(180, 36, 25);"><span style="font-variant-ligatures: no-common-ligatures"><b><br></b></span></p><blockquote type="cite"><div><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: Aptos, sans-serif;"><span lang="EN-US" style="font-size: 11pt;"><br>Thanks,<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: Aptos, sans-serif;"><span lang="EN-US" style="font-size: 11pt;">Yongzhong<o:p></o:p></span></div><div style="margin: 0cm; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;"><o:p> </o:p></span></div><div id="mail-editor-reference-message-container"><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; border-image: none; padding: 3pt 0cm 0cm;"><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 10pt; font-family: Aptos, sans-serif;"><b><span style="font-size: 12pt;">From:<span class="Apple-converted-space"> </span></span></b><span style="font-size: 12pt;">Satish Balay <<a href="mailto:balay.anl@fastmail.org" style="color: blue; text-decoration: underline;">balay.anl@fastmail.org</a>><br><b>Date:<span class="Apple-converted-space"> </span></b>Tuesday, July 23, 2024 at 10:43</span><span style="font-size: 12pt; font-family: Arial, sans-serif;"> </span><span style="font-size: 12pt;">PM<br><b>To:<span class="Apple-converted-space"> </span></b>Yongzhong Li <<a href="mailto:yongzhong.li@mail.utoronto.ca" style="color: blue; text-decoration: underline;">yongzhong.li@mail.utoronto.ca</a>><br><b>Cc:<span class="Apple-converted-space"> </span></b><a href="mailto:petsc-users@mcs.anl.gov" style="color: blue; text-decoration: underline;">petsc-users@mcs.anl.gov</a><span class="Apple-converted-space"> </span><<a href="mailto:petsc-users@mcs.anl.gov" style="color: blue; text-decoration: underline;">petsc-users@mcs.anl.gov</a>>,<span class="Apple-converted-space"> </span><a href="mailto:petsc-maint@mcs.anl.gov" style="color: blue; text-decoration: underline;">petsc-maint@mcs.anl.gov</a><span class="Apple-converted-space"> </span><<a href="mailto:petsc-maint@mcs.anl.gov" style="color: blue; text-decoration: underline;">petsc-maint@mcs.anl.gov</a>><br><b>Subject:<span class="Apple-converted-space"> </span></b>Re: [petsc-users] MKL installation can't be used to configure PETSc<o:p></o:p></span></p></div><div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 10pt; font-family: Aptos, sans-serif;"><span style="font-size: 11pt;">[?????????<span class="Apple-converted-space"> </span><a href="mailto:balay.anl@fastmail.org" style="color: blue; text-decoration: underline;">balay.anl@fastmail.org</a><span class="Apple-converted-space"> </span>?????????<span class="Apple-converted-space"> </span><a href="https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification?**L5d__;Pz8_Pz8_Pz8_Pz8_JQ!!G_uCfscf7eWS!bLykqpElcA3Fh7lwJb3zD6mSMQ3zMUcI_ktTXnK41krRlRU6bWUv5h4HEDG8Pa7SjaqgjaAmNGStHpZVQhV6n9ZF5uclmq4yA0Q$" style="color: blue; text-decoration: underline;">https://aka.ms/LearnAboutSenderIdentification?????????????]</a><br><br>Are you sure you are providing the correct path?<br><br>>>>><br>--with-blaslapack-dir=/tool/pandora64/.package/oneMKL-2021.3/mkl<br><br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/64<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/ia64<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/em64t<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/intel64<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/64<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/ia64<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/em64t<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/intel64<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/32<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/lib/ia32<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/32<br> MKL Path not found.. skipping: /tool/pandora64/.package/oneMKL-2021.3/mkl/ia32<br><br><<<<br><br>Normally you should see something like the following [wrt the dir you specify to --with-blaslapack-dir]<br><br>>>><br>balay@cg:~$ env |grep MKL<br>MKLROOT=/nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2<br>balay@cg:~$ find /nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2 -name<span class="Apple-converted-space"> </span><a href="https://urldefense.us/v3/__http://libmkl_core.so/__;!!G_uCfscf7eWS!brsW3VFdIkOx2YYJn_E9B4AxRRg1Ccxzi3m0X4IhDVuWBH2Q7qwq6gDOaiNM8DClyEWiy_Me3_vHAIUp9wt2bk0$" style="color: blue; text-decoration: underline;">libmkl_core.so</a><br>/nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2/lib/ia32/<a href="https://urldefense.us/v3/__http://libmkl_core.so/__;!!G_uCfscf7eWS!brsW3VFdIkOx2YYJn_E9B4AxRRg1Ccxzi3m0X4IhDVuWBH2Q7qwq6gDOaiNM8DClyEWiy_Me3_vHAIUp9wt2bk0$" style="color: blue; text-decoration: underline;">libmkl_core.so</a><br>/nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.2.0/intel-oneapi-mkl-2022.0.2-lzrncoj/mkl/2022.0.2/lib/intel64/<a href="https://urldefense.us/v3/__http://libmkl_core.so/__;!!G_uCfscf7eWS!brsW3VFdIkOx2YYJn_E9B4AxRRg1Ccxzi3m0X4IhDVuWBH2Q7qwq6gDOaiNM8DClyEWiy_Me3_vHAIUp9wt2bk0$" style="color: blue; text-decoration: underline;">libmkl_core.so</a><br><br>Satish<br><br>On Wed, 24 Jul 2024, Yongzhong Li wrote:<br><br>> 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>> [ 1%] Performing configure step for 'external_petsc'<br>> =============================================================================================<br>> Configuring PETSc to compile on your system<br>> =============================================================================================<br>> =============================================================================================<br>> ***** WARNING *****<br>> Found environment variable: MAKEFLAGS=s. Ignoring it! Use "./configure<br>> MAKEFLAGS=$MAKEFLAGS" if you really want to use this value<br>> =============================================================================================<br>> TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:114)<br>> *********************************************************************************************<br>> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>> ---------------------------------------------------------------------------------------------<br>> You set a value for --with-blaslapack-dir=<dir>, but<br>> /tool/pandora64/.package/oneMKL-2021.3/mkl cannot be used<br>> *********************************************************************************************<br>><br>> make[2]: *** [CMakeFiles/external_petsc.dir/build.make:92: external/builds/petsc-3.21.0/src/external_petsc-stamp/external_petsc-configure] Error 1<br>> make[1]: *** [CMakeFiles/Makefile2:114: CMakeFiles/external_petsc.dir/all] Error 2<br>> make: *** [Makefile:91: all] Error 2<br>><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<br>> -----------------------------------------------------------<br>> Yongzhong Li<br>> PhD student | Electromagnetics Group<br>> Department of Electrical & Computer Engineering<br>> University of Toronto<br>><span class="Apple-converted-space"> </span><a href="https://urldefense.us/v3/__http://www.modelics.org__;!!G_uCfscf7eWS!aa4LdUX0JV3i0ce3Jp20GLg521rd7L25vZSpFhCmlvTUN8EZFjfbk-IsfiTOD3IpCfXCB_zHA8nh1WMIkiHosbwZgv8PzmzPEec$" style="color: blue; text-decoration: underline;">https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.us%2Fv3%2F__http%3A%2F%2Fwww.modelics.org__%3B!!G_uCfscf7eWS!aa4LdUX0JV3i0ce3Jp20GLg521rd7L25vZSpFhCmlvTUN8EZFjfbk-IsfiTOD3IpCfXCB_zHA8nh1WMIkiHosbwZgv8PzmzPEec%24&data=05%7C02%7Cyongzhong.li%40mail.utoronto.ca%7Cac6df78a38534d3cced208dcab8a6ce0%7C78aac2262f034b4d9037b46d56c55210%7C0%7C0%7C638573858217585114%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=c237HxX0WzOtO2poHtci4lSZaaG37UH81irVGlu%2FsUg%3D&reserved=0</a><br>><br>></span></p></div></div></div></div></div></blockquote></div><br></body></html>