<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannerebveza7 { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonebveza7:hover, .pfptPrimaryButtonebveza7:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonebveza7:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
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. 16. 5 2. VS: version 2022
</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>
<!--[if ((ie)|(mso))]>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
<table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
<table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
<tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
This Message Is From an External Sender
</td></tr>
<tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
This message came from outside your organization.
</td></tr>
</table>
</td></tr></table>
</td></tr></table>
<![endif]-->
<![if !((ie)|(mso))]>
<div dir="ltr" id="pfptBannerebveza7" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
<div id="pfptBannerebveza7" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannerebveza7" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
This Message Is From an External Sender
</div>
<div id="pfptBannerebveza7" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
</div>
</div>
<div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
</div>
<![endif]>
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<style>p {margin:0 0 14px 0}.default-font-1710734276450 {font-size: 14px;font-family: 宋体, arial, Verdana, sans-serif}</style><div class="default-font-1710734276450"><p>
<span style="text-wrap:nowrap;">Hello,</span>
</p>
<span style="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="text-wrap:nowrap;">1. PETSc: version 3.16.5</span><br>
<span style="text-wrap:nowrap;">2. VS: version 2022 </span><br>
<span style="text-wrap:nowrap;">3. Intel MPI: download Intel oneAPI Base Toolkit and HPC Toolkit</span><br>
<span style="text-wrap:nowrap;">4. Cygwin</span><br>
<span style="text-wrap:nowrap;"><br>
</span><br>
<span style="text-wrap:nowrap;">On windows,</span><br>
<span style="text-wrap:nowrap;">Then I try to calculate a simple cantilever beam that use Tetrahedral mesh. So it's unstructured grid</span><br>
<span style="text-wrap:nowrap;">I use DMPlexCreateFromFile() to creat dmplex.</span><br>
<p>
<span style="text-wrap:nowrap;">And then I want to distributing the mesh for using PETSCPARTITIONERPARMETIS type(in my opinion this PetscPartitioner type maybe the best for dmplex,</span>
</p>
<p>
<span style="text-wrap:nowrap;">see fig 1 for my work to see different PetscPartitioner type about a cantilever beam in Linux system.)</span>
</p>
<span style="text-wrap:nowrap;">But unfortunatly, when i try to use parmetis on windows that configure PETSc as follows</span><br>
<span style="text-wrap:nowrap;"><br>
</span><br>
<p>
<span style="text-wrap:nowrap;"> ./configure --with-debugging=0 --with-cc='win32fe cl' --with-fc='win32fe ifort' --with-cxx='win32fe cl' </span>
</p>
<p>
<span style="text-wrap:nowrap;">--download-fblaslapack=/cygdrive/g/mypetsc/petsc-pkg-fblaslapack-e8a03f57d64c.tar.gz --with-shared-libraries=0 </span>
</p>
<span style="text-wrap:nowrap;">--with-mpi-include=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/include</span><br>
<span style="text-wrap:nowrap;"> --with-mpi-lib=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/lib/release/impi.lib </span><br>
<span style="text-wrap:nowrap;">--with-mpiexec=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/bin/mpiexec </span><br>
<span style="text-wrap:nowrap;">--download-parmetis=/cygdrive/g/mypetsc/petsc-pkg-parmetis-475d8facbb32.tar.gz </span><br>
<span style="text-wrap:nowrap;">--download-metis=/cygdrive/g/mypetsc/petsc-pkg-metis-ca7a59e6283f.tar.gz </span><br>
<span style="text-wrap:nowrap;"><br>
</span><br>
<span style="text-wrap:nowrap;"><br>
</span><br>
<span style="text-wrap:nowrap;">it shows that </span><br>
<span style="text-wrap:nowrap;">*******************************************************************************</span><br>
<span style="text-wrap:nowrap;">External package metis does not support --download-metis with Microsoft compilers</span><br>
<span style="text-wrap:nowrap;">*******************************************************************************</span><br>
<span style="text-wrap:nowrap;">configure.log and make.log is attached<br>
</span><br>
<span style="text-wrap:nowrap;"><br>
</span><br>
<span style="text-wrap:nowrap;">If I use PetscPartitioner Simple type the calculate time is much more than PETSCPARTITIONERPARMETIS type.</span><br>
<p>
<span style="text-wrap:nowrap;">So On windows system I want to use PetscPartitioner like parmetis , if there have any other PetscPartitioner type that can do the same work as parmetis, </span>
</p>
<p>
<span style="text-wrap:nowrap;">or I just try to download parmetis separatly on windows(like this website , <a href="https://urldefense.us/v3/__https://boogie.inm.ras.ru/terekhov/INMOST/-/wikis/0204-Compilation-ParMETIS-Windows)__;!!G_uCfscf7eWS!bpnh34xNHVqfdKTl-ggRXSax29UDMeTVK_E0bHs5J3_g1-RuvJhSbmxD6SKjngZpPiIKpgrv3h4WWOt9lEF-Fb8A4UZELKti_VAO$">https://boogie.inm.ras.ru/terekhov/INMOST/-/wikis/0204-Compilation-ParMETIS-Windows) </a></span>
</p>
<p>
<span style="text-wrap:nowrap;">and then use Visual Studio to use it's library I don't know in this way PETSc could use it successfully or not.</span>
</p>
<p>
<span style="text-wrap:nowrap;"><br>
</span>
</p>
<span style="text-wrap:nowrap;"><span style="text-wrap:nowrap;">So I wrrit this email to report my problem and ask for your help.</span><span style="text-wrap:nowrap;"><br>
</span><br>
<span style="text-wrap:nowrap;">Looking forward your reply!</span><br>
<br>
</span><br>
<span style="text-wrap:nowrap;">sinserely,</span><br>
<span style="text-wrap:nowrap;">Ben.</span><br></div>