Sorry the PETSc version is 3.24.1.

-----原始邮件-----
发件人:程奔 <[email protected]>
发送时间:2025-11-11 17:43:10 (星期二)
收件人: [email protected]
主题: Error in configuring PETSc with Cygwin on Windows by using MS-MPI


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.

Reply via email to