<!-- 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;">
thanks for your answer, i am using gcc-9 in my ubuntu20. 04£¬if gcc9 compatible with intel parallel studio 2019? »ñÈ¡Outlook for Android From: Satish Balay <balay. anl@ fastmail. org> Sent: Friday, July 5, 2024 12: 18: 30 PM To: dr hwang <dr_hwang2022@ outlook. com>
</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="pfptBanneraw3zg9w" 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="pfptBanneraw3zg9w" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBanneraw3zg9w" 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="pfptBanneraw3zg9w" 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>
#pfptBanneraw3zg9w { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonaw3zg9w:hover, .pfptPrimaryButtonaw3zg9w:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonaw3zg9w:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div dir="auto">thanks for your answer, i am using gcc-9 in my ubuntu20.04£¬if gcc9 compatible with intel parallel studio 2019?</div>
<div><br>
</div>
<div id="ms-outlook-mobile-signature" dir="auto">»ñÈ¡<a href="https://urldefense.us/v3/__https://aka.ms/AAb9ysg__;!!G_uCfscf7eWS!YD3pSCtmel4vZOSRRp4xe90d2P67Alot3sDBXE54GF3Gaj55MxEmoJjwCHNWWlcyOwTlsK7kpRs_r3lsFjO3hfiZPHbd0g$">Outlook for Android</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Satish Balay <balay.anl@fastmail.org><br>
<b>Sent:</b> Friday, July 5, 2024 12:18:30 PM<br>
<b>To:</b> dr hwang <dr_hwang2022@outlook.com><br>
<b>Cc:</b> petsc-users@mcs.anl.gov <petsc-users@mcs.anl.gov><br>
<b>Subject:</b> Re: [petsc-users] make check error using Intel MKL</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Intel compilers require a compatible gcc/g++ compiler.<br>
<br>
gcc-11 on ubuntu20.04 might be too new for "Intel parallel studio 2019"<br>
<br>
So you'll need an older gcc - perhaps gcc-7 or gcc-8 for this version of Intel compiler.<br>
<br>
Alternative: if you do not need to use petsc from c++ - you can try the following and see if it works:<br>
<br>
--with-cxx=0<br>
<br>
Satish<br>
<br>
On Fri, 5 Jul 2024, dr hwang wrote:<br>
<br>
> Dear support team,<br>
> <br>
> I want to install the petsc-3.18.5 in my ubuntu20.04 with compiler "Intel parallel studio 2019", but I met some error when I execute the "make check". Below is my steps and relevant errors.<br>
> Firstly, in my ~/.bashrc, I have exported the PETSC_DIR=/home/hwang/archive/petsc-3.18.5 PETSC_ARCH=linux-gnu-intel and make it source.<br>
> <br>
> (1) tar zxvf petsc-3.18.5.tar.gz<br>
> <br>
> <br>
> (2) ./configure PETSC_ARCH=linux-gnu-intel --prefix=/home/hwang/software/petsc-3.18.5 \<br>
> <br>
> --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort --with-blaslapack-dir=${MKLROOT}/lib/intel64 --with-clean<br>
> <br>
> <br>
> (3) make PETSC_DIR=/home/hwang/archive/petsc-3.18.5 PETSC_ARCH=linux-gnu-intel all<br>
> <br>
> <br>
> (4) make PETSC_DIR=/home/hwang/archive/petsc-3.18.5 PETSC_ARCH=linux-gnu-intel install<br>
> <br>
> <br>
> <br>
> (5) make PETSC_DIR=/home/hwang/software/petsc-3.18.5 PETSC_ARCH="" check<br>
> <br>
> <br>
> the step (5) finally threw the error like below:<br>
> "ld: /home/hwang/software/petsc-3.19.6/lib/libpetsc.so: undefined reference to `__builtin_is_constant_evaluated'<br>
> make[4]: *** [/home/hwang/software/petsc-3.19.6/lib/petsc/conf/rules:216: ex5f] Error 1<br>
> Possible error running Fortran example src/snes/tutorials/ex5f with 1 MPI process<br>
> See <a href="https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!eqXOT36R1yIYfqMp-oF8yWf52fuq7J3L7CbkswjYcLeO7fQEIVvCYwGmvixTX1I4JJlq_XDHZ46Smrc0UZff2-GXD8YTHw$">
https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!eqXOT36R1yIYfqMp-oF8yWf52fuq7J3L7CbkswjYcLeO7fQEIVvCYwGmvixTX1I4JJlq_XDHZ46Smrc0UZff2-GXD8YTHw$</a>
<br>
> [proxy:0:0@DESKTOP-AM9CLNS] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:117): execvp error on file ./ex5f (No such file or directory)<br>
> <br>
> <br>
> ld: /home/hwang/software/petsc-3.19.6/lib/libpetsc.so: undefined reference to `__builtin_is_constant_evaluated'<br>
> make[4]: *** [<builtin>: ex19] Error 1<br>
> Possible error running C/C++ src/snes/tutorials/ex19 with 1 MPI process<br>
> See <a href="https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!eqXOT36R1yIYfqMp-oF8yWf52fuq7J3L7CbkswjYcLeO7fQEIVvCYwGmvixTX1I4JJlq_XDHZ46Smrc0UZff2-GXD8YTHw$">
https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!eqXOT36R1yIYfqMp-oF8yWf52fuq7J3L7CbkswjYcLeO7fQEIVvCYwGmvixTX1I4JJlq_XDHZ46Smrc0UZff2-GXD8YTHw$</a> "<br>
> <br>
> <br>
> How can I solved it? Could you please help me.<br>
> <br>
> Best regards,<br>
> <br>
<br>
</div>
</span></font></div>
</body>
</html>