[petsc-users] Error in configuring PETSc with Cygwin on Windows by using MS-MPI

程奔 ctchengben at mail.scut.edu.cn
Tue Nov 11 03:43:10 CST 2025


Hello,
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:
1. PETSc: version 3.14.1
2. VS: version 2022 
3. MS MPI: download Microsoft MPI v10.1.2
4. Cygwin


And the compiler option in configuration is:
./configure --with-debugging=0 --with-cc=cl --with-fc=0 --with-cxx=cl 
--download-f2cblaslapack=/cygdrive/g/mypetsc/f2cblaslapack-3.8.0.q2.tar.gz 
--with-mpi-include=\[/cygdrive/g/MSmpi/MicrosoftSDKs/Include,/cygdrive/g/MSmpi/MicrosoftSDKs/Include/x64\] 
--with-mpi-lib=\[/cygdrive/g/MSmpi/MicrosoftSDKs/Lib/x64/msmpifec.lib,/cygdrive/g/MSmpi/MicrosoftSDKs/Lib/x64/msmpi.lib\] 
--with-mpiexec=/cygdrive/g/MSmpi/MicrosoftMPI/Bin/mpiexec 
--download-metis=/cygdrive/g/mypetsc/petsc-pkg-metis-69fb26dd0428.tar.gz 
--download-parmetis=/cygdrive/g/mypetsc/petsc-pkg-parmetis-45100eac9301.tar.gz 
--with-strict-petscerrorcode=0 --with-64-bit-indices --download-hdf5=/cygdrive/g/mypetsc/hdf5-1.14.3-p1.tar.bz2








but there return an error:
*********************************************************************************************
=============================================================================================
=============================================================================================
                Configuring PARMETIS with CMake; this may take several minutes
=============================================================================================
=============================================================================================
               Compiling and installing PARMETIS; this may take several minutes
=============================================================================================


*********************************************************************************************
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
                               Error running make on  PARMETIS




*********************************************************************************************






The configure.log is attached below.

So I write this email to report my problem and ask for your help.  


Looking forward your reply!


sinserely,
Cheng.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20251111/2f1f5181/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20251111/2f1f5181/attachment-0001.ksh>


More information about the petsc-users mailing list