<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>   If you try to access it from the Windows side the file is a link that is not easily dealt with. You need to find some way to access and send the file from Cygwin or copy it to another machine with a sane operating system.<div><br></div><div>  Barry</div><div><br><div><br><blockquote type="cite"><div>On Jun 1, 2023, at 9:12 PM, Hawk Shaw <arsennnic@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div>
When I try to open 
configure.log with Notepad, it says "the file cannot be accessed by the system".</div><div>Besides, the file size is 0 bytes.</div><img alt="image.png" src="cid:ii_lidveylf0"><br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Barry Smith <<a href="mailto:bsmith@petsc.dev">bsmith@petsc.dev</a>> 于2023年6月2日周五 01:20写道:<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 send configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a> <br><div><br><blockquote type="cite"><div>On Jun 1, 2023, at 10:01 AM, Hawk Shaw <<a href="mailto:arsennnic@gmail.com" target="_blank">arsennnic@gmail.com</a>> wrote:</div><br><div><div dir="ltr">

















<pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">Hi,<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span> </span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">I failed to configue PETSc on Windows with latest Intel OneAPI toolkit:<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New""><span> </span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">./configure --with-cc="win32fe cl" --with-cxx="win32fe cl" --with-fc=0 \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --with-debugging=0 --with-shared-libraries=0 --with-x=0 --with-quad-precision=0 \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --with-threadcomm=1 --with-openmp=1 \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --with-blaslapack-include="$MKLROOT/include" \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --with-blaslapack-lib="-L$MKLROOT/lib/intel64 mkl_core.lib mkl_intel_thread.lib mkl_intel_lp64.lib libiomp5md.lib" \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --with-mpi-include="$I_MPI_ROOT/include" \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --with-mpi-lib="-L$I_MPI_ROOT/lib/release impi.lib" \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --with-mpiexec="$I_MPI_ROOT/bin/mpiexec" \<span></span></pre><pre style="margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:"Courier New"">        --ignore-cygwin-link<span></span></pre><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span><span> </span></span></p><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>However, the configuration was successful
with Intel OneAPI 2022.1.0.93 or previous version.<span></span></span></div><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span><span> </span></span></p><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>Error message:<span></span></span></div><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span><span> </span></span></p><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>=============================================================================================<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>                        
Configuring PETSc to compile on your system<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>=============================================================================================<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>=============================================================================================<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>                                    
***** WARNING *****<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  Using default optimization C flags
"-O". You might consider manually setting optimal<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  optimization flags for your system
with COPTFLAGS="optimization flags" see<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  config/examples/arch-*-opt.py for
examples<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>=============================================================================================<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>=============================================================================================<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>                      
              *****
WARNING *****<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  Using default Cxx optimization
flags "-O". You might consider manually setting optimal<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  optimization flags for your system
with CXXOPTFLAGS="optimization flags" see<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  config/examples/arch-*-opt.py for
examples<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>=============================================================================================<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>TESTING: checkCxxLibraries from
config.compilers(config/BuildSystem/config/compilers.py:450)<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>*********************************************************************************************<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>          
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>---------------------------------------------------------------------------------------------<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  Cxx libraries cannot directly be
used with C as linker.<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  If you don't need the C++ compiler
to build external packages or for you application you<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  can run<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  ./configure with --with-cxx=0.
Otherwise you need a different combination of C and C++<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>  compilers<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>*********************************************************************************************<span></span></span></div><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:"Calibri",sans-serif"><span><span> </span></span></p><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>makefile:24:
/cygdrive/e/petsc-v3.19.2/arch-mswin-c-opt/lib/petsc/conf/petscrules: No such
file or directory<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>make[1]: *** No rule to make target
'/cygdrive/e/petsc-v3.19.2/arch-mswin-c-opt/lib/petsc/conf/petscrules'. 
Stop.<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>gmakefile:67: arch-mswin-c-opt/lib/petsc/conf/files:
No such file or directory<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>make: *** [GNUmakefile:17:
/cygdrive/e/petsc-v3.19.2/arch-mswin-c-opt/include/petscconf.h] Error 2<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>makefile:24:
/cygdrive/e/petsc-v3.19.2/arch-mswin-c-opt/lib/petsc/conf/petscrules: No such
file or directory<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>make[1]: *** No rule to make target
'/cygdrive/e/petsc-v3.19.2/arch-mswin-c-opt/lib/petsc/conf/petscrules'. 
Stop.<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>/cygdrive/e/petsc-v3.19.2/lib/petsc/conf/variables:140:
/cygdrive/e/petsc-v3.19.2/arch-mswin-c-opt/lib/petsc/conf/petscvariables: No
such file or directory<span></span></span></div><div style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><span>make: *** [GNUmakefile:17:
/cygdrive/e/petsc-v3.19.2/arch-mswin-c-opt/lib/petsc/conf/petscvariables] Error
2<span></span></span></div>





</div>
</div></blockquote></div><br></div></blockquote></div>
</div></blockquote></div><br></div></body></html>