<style>p {margin:0 0 14px 0}.default-font-1699399250301 {font-size: 14px;font-family: 宋体, arial, Verdana, sans-serif}</style><div class="default-font-1699399250301">Sorry, the configure is <br>
./configure --prefix=/cygdrive/g/mypetsc/petsc2023 --with-cc='win32fe cl' --with-fc='win32fe ifort' --with-cxx='win32fe cl' --with-shared-libraries=0 <br style="text-wrap:wrap;">
--with-mpi-include=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/include <br style="text-wrap:wrap;">
--with-mpi-lib=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/lib/release/impi.lib <br style="text-wrap:wrap;">
--with-mpiexec=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/bin/mpiexec -localonly<br>
<br>
<blockquote name="replyContent" class="ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0;">
-----原始邮件-----<br>
<b>发件人:</b> <span id="rc_from">程奔 <ctchengben@mail.scut.edu.cn></span><br>
<b>发送时间:</b> <span id="rc_senttime">2023-11-08 13:20:21 (星期三)</span><br>
<b>收件人:</b> petsc-users@mcs.anl.gov<br>
<b>主题:</b> Error in configuring PETSc with Cygwin on Windows by using Intel MPI<br>
<br>
<style>p {margin:0 0 14px 0}.default-font-1699420820908 {font-size: 14px;font-family: 宋体, arial, Verdana, sans-serif}</style>
<div class="default-font-1699420820908">
<span style="font-size:14px;text-wrap:nowrap;">Hello,</span><br>
<span style="font-size:14px;text-wrap:nowrap;">Recently I try to install PETSc with Cygwin since I'd like to use PETSc with Visual Studio on Windows10 plateform.For the sake of clarity, I firstly list the softwares/packages used below:</span><br>
<span style="font-size:14px;text-wrap:nowrap;">1. PETSc: version 3.19.2</span><br>
<span style="font-size:14px;text-wrap:nowrap;">2. VS: version 2022 </span><br>
<span style="font-size:14px;text-wrap:nowrap;">3. Intel MPI: download Intel oneAPI Base Toolkit and HPC Toolkit</span><br>
<span style="font-size:14px;text-wrap:nowrap;">4. Cygwin: see the picture attatched (see picture cygwin)</span><br>
<span style="font-size:14px;text-wrap:nowrap;"><br>
</span><br>
<span style="font-size:14px;text-wrap:nowrap;">And the compiler option in configuration is:</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> ./configure --prefix=/cygdrive/g/mypetsc/petsc2023 --with-cc='win32fe cl' --with-fc='win32fe ifort' --with-cxx='win32fe cl' </span><span style="font-size:14px;text-wrap:nowrap;">--with-shared-libraries=0 </span><br>
<span style="font-size:14px;text-wrap:nowrap;">--with-mpi-include=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/include </span><br>
<span style="font-size:14px;text-wrap:nowrap;">--with-mpi-lib=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/lib</span><span style="font-size:14px;text-wrap:nowrap;">Therefore, I write this e-mail to look for your help.</span><br>
<span style="font-size:14px;text-wrap:nowrap;">/release/impi.lib </span><br>
<span style="font-size:14px;text-wrap:nowrap;">--with-mpiexec=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/bin/mpiexec -localonly</span><br>
<span style="font-size:14px;text-wrap:nowrap;"><br>
</span><br>
<span style="font-size:14px;text-wrap:nowrap;"><br>
</span><br>
<span style="font-size:14px;text-wrap:nowrap;">but there return an error:</span><br>
<span style="font-size:14px;text-wrap:nowrap;">*********************************************************************************************</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> OSError while running ./configure</span><br>
<span style="font-size:14px;text-wrap:nowrap;">---------------------------------------------------------------------------------------------</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> Cannot run executables created with FC. If this machine uses a batch system</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> to submit jobs you will need to configure using ./configure with the additional option</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> --with-batch.</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> Otherwise there is problem with the compilers. Can you compile and run code with your</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> compiler '/cygdrive/g/mypetsc/petsc-3.19.2/lib/petsc/bin/win32fe/win32fe ifort'?</span><br>
<span style="font-size:14px;text-wrap:nowrap;"> See https://petsc.org/release/faq/#error-libimf</span><br>
<span style="font-size:14px;text-wrap:nowrap;">*********************************************************************************************</span><br>
<span style="font-size:14px;text-wrap:nowrap;"><br>
</span>
<p style="font-size:14px;">
<br>
</p>
<p style="font-size:14px;">
Then I try to open configure.log in petsc, but there turnout an error that I can't open it.(see picture 1)
</p>
<p style="font-size:14px;">
And then I right click on properties and click safety,it just turnout "The permissions on test directory are incorrectly ordered.which may cause some entries to be ineffective." (see picture 2)
</p>
<p style="font-size:14px;">
And it also <span style="text-wrap:nowrap;">likely seen “NULL SID” as the top entry in permission lists.</span>(see picture 3)
</p>
<p style="font-size:14px;">
Then i follow this blog(<span style="text-wrap:nowrap;">https://blog.dhampir.no/content/forcing-cygwin-to-create-sane-permissions-on-windows</span>) to <span style="text-wrap:nowrap;">edit /etc/fstab in Cygwin, and add “noacl” to the mount options for /cygdrive.</span>
</p>
<p style="font-size:14px;">
But it's not working.
</p>
<p style="font-size:14px;">
So I can't sent configure.log to you guys, it seems cygwin that installed in my computer happened to some problem.<br>
</p>
<p style="font-size:14px;">
Mayebe the error happened in the configure on petsc just because of this reason.
</p>
<p style="font-size:14px;">
<br>
</p>
<p style="font-size:14px;">
So I wrrit this email to report my problem and ask for your help.
</p>
<br>
<span style="font-size:14px;text-wrap:nowrap;">Looking forward your reply!</span><br>
<span style="font-size:14px;text-wrap:nowrap;"><br>
</span><br>
<span style="font-size:14px;text-wrap:nowrap;">sinserely,</span><br>
<span style="font-size:14px;text-wrap:nowrap;">Cheng.</span><br>
<span style="font-size:16px;"></span>
</div>
</blockquote></div>