<html><head><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;"><div><br></div>  OneAPI has two sets of compilers, old icc and new icx.<div><br></div><div>  Does it fail in this way for both? Can you try with the old?</div><div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Nov 17, 2023, at 12:59 PM, Maruthi NH <maruthinh@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div>Hi Barry, <br></div><div><br></div><div>It doesn't even start to run, I still get the same error. This is all the output I get.<br></div><div><br></div><div>===================================================================================<br>=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>=   RANK 0 PID 28192 RUNNING AT BLRLAP1521<br>=   EXIT STATUS: -1073741819 (c0000005)<br>===================================================================================</div><div><br></div><div>With Windows C compiler and Intel OneAPI Fortran, it works fine. But when I use the OneAPI C/C++ compiler it fails. <br></div><div><br></div><div>Regards,</div><div>Maruthi <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 17, 2023 at 11:25 PM Barry Smith <<a href="mailto:bsmith@petsc.dev">bsmith@petsc.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><br></div>  Please run<div><br></div><div><font face=".AppleSystemUIFont" style="background-color:rgb(0,0,0)"><span style="color:rgb(169,177,214);white-space:pre-wrap">mpiexec -n </span><span style="white-space:pre-wrap;color:rgb(255,158,100)">1</span><span style="color:rgb(169,177,214);white-space:pre-wrap"> ./ex19 -da_refine </span><span style="white-space:pre-wrap;color:rgb(255,158,100)">3</span><span style="color:rgb(169,177,214);white-space:pre-wrap"> -pc_type mg -ksp_type fgmres -info</span></font></div><div><span style="color:rgb(169,177,214);white-space:pre-wrap;background-color:rgb(0,0,0)"><font face=".AppleSystemUIFont"><br></font></span></div><div><span style="color:rgb(169,177,214);white-space:pre-wrap;background-color:rgb(0,0,0)"><font face=".AppleSystemUIFont">and send all the output</font></span></div><div><font color="#a9b1d6" face="IntelOne Mono, Consolas, Courier New, monospace"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#a9b1d6" face="IntelOne Mono, Consolas, Courier New, monospace"><span style="font-size:14px;white-space:pre-wrap"><br id="m_5006989138780732417lineBreakAtBeginningOfMessage"></span></font><div><br><blockquote type="cite"><div>On Nov 17, 2023, at 12:14 PM, Maruthi NH <<a href="mailto:maruthinh@gmail.com" target="_blank">maruthinh@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr"><div>Hi Barry, <br></div><div><br></div><div>I get the following error.</div><div><br></div><div>

<div style="color:rgb(169,177,214);background-color:rgb(26,27,38);font-family:"IntelOne Mono",Consolas,"Courier New",monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre-wrap"><div><span style="color:rgb(169,177,214)">ngh</span><span style="color:rgb(137,221,255)">@</span><span style="color:rgb(169,177,214)">ngh1 ~/petsc/src/snes/tutorials</span></div><div><span style="color:rgb(169,177,214)">$ make ex19</span></div><div><span style="color:rgb(169,177,214)">/home/ngh/petsc/lib/petsc/bin/win32fe/win32fe icl -Qwd10161  -Qstd=c99 -MT -O3  -I/home/ngh/petsc/include -I/home/ngh/petsc/intel-petsc-tag-v3.20.1/include -I/cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/2021.6.0/include      ex19.c  -L/home/ngh/petsc/intel-petsc-tag-v3.20.1/lib -L/cygdrive/c/PROGRA~2/Intel/oneAPI/mkl/2022.1.0/lib/intel64 -lpetsc mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib /cygdrive/c/PROGRA~2/Intel/oneAPI/mpi/2021.6.0/lib/release/impi.lib Gdi32.lib User32.lib Advapi32.lib Kernel32.lib Ws2_32.lib -o ex19</span></div><div><span style="color:rgb(169,177,214)">ex19.c</span></div><br><div><span style="color:rgb(169,177,214)">ngh</span><span style="color:rgb(137,221,255)">@</span><span style="color:rgb(169,177,214)">ngh1 ~/petsc/src/snes/tutorials</span></div><div><span style="color:rgb(169,177,214)">$   mpiexec -n </span><span style="color:rgb(255,158,100)">1</span><span style="color:rgb(169,177,214)"> ./ex19 -da_refine </span><span style="color:rgb(255,158,100)">3</span><span style="color:rgb(169,177,214)"> -pc_type mg -ksp_type fgmres</span></div><br><div><span style="color:rgb(187,154,247)">==================================================================================</span><span style="color:rgb(169,177,214)">=</span></div><div><span style="color:rgb(169,177,214)">=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES</span></div><div><span style="color:rgb(169,177,214)">=   RANK </span><span style="color:rgb(255,158,100)">0</span><span style="color:rgb(169,177,214)"> PID </span><span style="color:rgb(255,158,100)">1768</span><span style="color:rgb(169,177,214)"> RUNNING </span><span style="color:rgb(187,154,247)">AT</span><span style="color:rgb(169,177,214)"> ngh1</span></div><div><span style="color:rgb(169,177,214)">=   </span><span style="color:rgb(187,154,247)">EXIT</span><span style="color:rgb(169,177,214)"> STATUS: </span><span style="color:rgb(255,158,100)">-1073741819</span><span style="color:rgb(169,177,214)"> </span><span style="color:rgb(154,189,245)">(</span><span style="color:rgb(169,177,214)">c0000005</span><span style="color:rgb(154,189,245)">)</span></div><div><span style="color:rgb(187,154,247)">==================================================================================</span><span style="color:rgb(169,177,214)">=</span></div><br><div><span style="color:rgb(169,177,214)">ngh</span><span style="color:rgb(137,221,255)">@</span><span style="color:rgb(169,177,214)">ngh1 ~/petsc/src/snes/tutorials</span></div><div><span style="color:rgb(169,177,214)">$   mpiexec -n </span><span style="color:rgb(255,158,100)">2</span><span style="color:rgb(169,177,214)"> ./ex19 -da_refine </span><span style="color:rgb(255,158,100)">3</span><span style="color:rgb(169,177,214)"> -pc_type mg -ksp_type fgmres</span></div><br><div><span style="color:rgb(187,154,247)">==================================================================================</span><span style="color:rgb(169,177,214)">=</span></div><div><span style="color:rgb(169,177,214)">=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES</span></div><div><span style="color:rgb(169,177,214)">=   RANK </span><span style="color:rgb(255,158,100)">0</span><span style="color:rgb(169,177,214)"> PID </span><span style="color:rgb(255,158,100)">25936</span><span style="color:rgb(169,177,214)"> RUNNING </span><span style="color:rgb(187,154,247)">AT</span><span style="color:rgb(169,177,214)"> ngh1</span></div><div><span style="color:rgb(169,177,214)">=   </span><span style="color:rgb(187,154,247)">EXIT</span><span style="color:rgb(169,177,214)"> STATUS: </span><span style="color:rgb(255,158,100)">-1073741819</span><span style="color:rgb(169,177,214)"> </span><span style="color:rgb(154,189,245)">(</span><span style="color:rgb(169,177,214)">c0000005</span><span style="color:rgb(154,189,245)">)</span></div><div><span style="color:rgb(187,154,247)">==================================================================================</span><span style="color:rgb(169,177,214)">=</span></div><br><div><span style="color:rgb(187,154,247)">==================================================================================</span><span style="color:rgb(169,177,214)">=</span></div><div><span style="color:rgb(169,177,214)">=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES</span></div><div><span style="color:rgb(169,177,214)">=   RANK </span><span style="color:rgb(255,158,100)">1</span><span style="color:rgb(169,177,214)"> PID </span><span style="color:rgb(255,158,100)">5216</span><span style="color:rgb(169,177,214)"> RUNNING </span><span style="color:rgb(187,154,247)">AT</span><span style="color:rgb(169,177,214)"> ngh1</span></div><div><span style="color:rgb(169,177,214)">=   </span><span style="color:rgb(187,154,247)">EXIT</span><span style="color:rgb(169,177,214)"> STATUS: </span><span style="color:rgb(255,158,100)">-1073741819</span><span style="color:rgb(169,177,214)"> </span><span style="color:rgb(154,189,245)">(</span><span style="color:rgb(169,177,214)">c0000005</span><span style="color:rgb(154,189,245)">)</span></div><div><span style="color:rgb(187,154,247)">==================================================================================</span><span style="color:rgb(169,177,214)">=</span></div><br></div>

</div></div><div><br></div><div>Regards,</div><div>Maruthi <br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 17, 2023 at 9:26 PM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><br></div>  Please do<div><br></div><div>  cd src/snes/tutorials</div><div>  make ex19</div><div>  mpiexec -n 1 ./ex19 -da_refine 3 -pc_type mg -ksp_type fgmres</div><div><br></div><div>  then with -n 2 </div><div><br></div><div>  Cut and paste all the output and include it in your email response</div><div><br></div><div>   Barry</div><div><br></div><div><br id="m_5006989138780732417m_-5247122198374467341lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Nov 17, 2023, at 12:57 AM, Maruthi NH <<a href="mailto:maruthinh@gmail.com" target="_blank">maruthinh@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Hi all,</div><div><br></div><div>I could successfully compile PETSc on Windows with Intel OneAPI C/C++ and Fortran compilers, however, when I tried to make a check after the successful installation, I got the following error message. I have also attached the configuration file. <br></div><div><br></div><div> make PETSC_DIR=/home/ngh/petsc PETSC_ARCH=intel-petsc-tag-v3.20.1 check<br>Running PETSc check examples to verify correct installation<br>Using PETSC_DIR=/home/ngh/petsc and PETSC_ARCH=intel-petsc-tag-v3.20.1<br>Possible error running C/C++ src/snes/tutorials/ex19 with 1 MPI process<br>See <a href="https://petsc.org/release/faq/" target="_blank">https://petsc.org/release/faq/</a><br><br>===================================================================================<br>=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>=   RANK 0 PID 13384 RUNNING AT BLRLAP1521<br>=   EXIT STATUS: -1073741819 (c0000005)<br>===================================================================================<br>Possible error running C/C++ src/snes/tutorials/ex19 with 2 MPI processes<br>See <a href="https://petsc.org/release/faq/" target="_blank">https://petsc.org/release/faq/</a><br><br>===================================================================================<br>=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>=   RANK 0 PID 20616 RUNNING AT BLRLAP1521<br>=   EXIT STATUS: -1073741819 (c0000005)<br>===================================================================================<br><br>===================================================================================<br>=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>=   RANK 1 PID 16900 RUNNING AT BLRLAP1521<br>=   EXIT STATUS: -1073741819 (c0000005)<br>===================================================================================<br>Possible error running Fortran example src/snes/tutorials/ex5f with 1 MPI process<br>See <a href="https://petsc.org/release/faq/" target="_blank">https://petsc.org/release/faq/</a><br>forrtl: severe (157): Program Exception - access violation<br>Image              PC                Routine            Line        Source<br>ex5f.exe           00007FF661DB569B  Unknown               Unknown  Unknown<br>ex5f.exe           00007FF661A760AF  Unknown               Unknown  Unknown<br>ex5f.exe           00007FF6619E6EBD  Unknown               Unknown  Unknown<br>ex5f.exe           00007FF6619C6294  Unknown               Unknown  Unknown<br>ex5f.exe           00007FF6619C3152  Unknown               Unknown  Unknown<br>ex5f.exe           00007FF6619C1051  Unknown               Unknown  Unknown<br>ex5f.exe           00007FF662C3C16E  Unknown               Unknown  Unknown<br>ex5f.exe           00007FF662C3CA50  Unknown               Unknown  Unknown<br>KERNEL32.DLL       00007FFB12187344  Unknown               Unknown  Unknown<br>ntdll.dll          00007FFB140C26B1  Unknown               Unknown  Unknown<br>Completed PETSc check examples<br>Error while running make check<br>make[1]: *** [makefile:132: check] Error 1<br>make: *** [GNUmakefile:17: check] Error 2</div><div><br></div><div>Regards,<br></div><div>mnh<br></div><div><br></div><div><br></div></div>
<span id="m_5006989138780732417m_-5247122198374467341cid:f_lp27jj750"><<a href="http://intel-petsc-tag-v3.20.1.py/" target="_blank">intel-petsc-tag-v3.20.1.py</a>></span></div></blockquote></div><br></div></div></blockquote></div></div>
</div></blockquote></div><br></div></div></blockquote></div>
</div></blockquote></div><br></div></body></html>