<!DOCTYPE html>
<!-- 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;">
Hi I try petsc-3. 20. 2 and petsc-3. 20. 5 with configure ./configure --with-debugging=0 --with-cc=cl --with-fc=ifort --with-cxx=cl --with-blaslapack-lib=-L/cygdrive/g/Intel/oneAPI/mkl/2023. 2. 0/lib/intel64 mkl-intel-lp64-dll. lib mkl-sequential-dll. lib
</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="pfptBanner5711ae8" 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="pfptBanner5711ae8" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBanner5711ae8" 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="pfptBanner5711ae8" 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 -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBanner5711ae8 { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButton5711ae8:hover, .pfptPrimaryButton5711ae8:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButton5711ae8:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta charset="UTF-8"></head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">Hi
I try petsc-3.20.2 and petsc-3.20.5 with configure
./configure --with-debugging=0 --with-cc=cl --with-fc=ifort --with-cxx=cl
--with-blaslapack-lib=-L/cygdrive/g/Intel/oneAPI/mkl/2023.2.0/lib/intel64 mkl-intel-lp64-dll.lib mkl-sequential-dll.lib mkl-core-dll.lib
--with-mpi-include=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/include --with-mpi-lib=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/lib/release/impi.lib
--with-mpiexec=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/bin/mpiexec -localonly
--download-parmetis=/cygdrive/g/mypetsc/petsc-pkg-parmetis-475d8facbb32.tar.gz
--download-metis=/cygdrive/g/mypetsc/petsc-pkg-metis-ca7a59e6283f.tar.gz
--with-strict-petscerrorcode=0
but it encounter same question,
*********************************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
Error running make on METIS
*********************************************************************************************
and I see <a href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/jobs/6412623047__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t281f2ha4Aw$">https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/jobs/6412623047__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t281f2ha4Aw$</a> for a successful build of latest petsc-3.20 , it seem have something called "sowing" and "bison" , but I don't have.
So I ask for your help, and configure.log is attached.
sinserely,
Ben.
> -----原始邮件-----
> 发件人: "Satish Balay" <balay@mcs.anl.gov>
> 发送时间:2024-03-20 00:48:57 (星期三)
> 收件人: "Barry Smith" <bsmith@petsc.dev>
> 抄送: 程奔 <ctchengben@mail.scut.edu.cn>, PETSc <petsc-users@mcs.anl.gov>
> 主题: Re: [petsc-users] Using PetscPartitioner on WINDOWS
>
> Check <a href="https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/jobs/6412623047__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t281f2ha4Aw$">https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/jobs/6412623047__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t281f2ha4Aw$</a> for a successful build of latest petsc-3.20 [i.e release branch in git] with metis and parmetis
>
> Note the usage:
>
> >>>>>
> '--with-cc=cl',
> '--with-cxx=cl',
> '--with-fc=ifort',
> <<<<
>
> Satish
>
> On Tue, 19 Mar 2024, Barry Smith wrote:
>
> > Are you not able to use PETSc 3. 20. 2 ? On Mar 19, 2024, at 5: 27 AM, 程奔 <ctchengben@ mail. scut. edu. cn> wrote: Hi,Barry I try to use PETSc version 3. 19. 5 on windows, but it encounter a problem.
> > *********************************************************************************************
> > ZjQcmQRYFpfptBannerStart
> > This Message Is From an External Sender
> > This message came from outside your organization.
> >
> > ZjQcmQRYFpfptBannerEnd
> >
> > Are you not able to use PETSc 3.20.2 ?
> >
> > On Mar 19, 2024, at 5:27 AM, 程奔 <ctchengben@mail.scut.edu.cn> wrote:
> >
> > Hi,Barry
> >
> > I try to use PETSc version 3.19.5 on windows, but it encounter a problem.
> >
> >
> > *********************************************************************************************
> > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
> > ---------------------------------------------------------------------------------------------
> > Error configuring METIS with CMake
> > *********************************************************************************************
> >
> > configure.log is attached.
> >
> >
> > Looking forward to your reply!
> >
> > sinserely,
> >
> > Ben.
> >
> >
> >
> > -----原始邮件-----
> > 发件人: "Barry Smith" <bsmith@petsc.dev>
> > 发送时间: 2024-03-18 21:11:14 (星期一)
> > 收件人: 程奔 <202321009113@mail.scut.edu.cn>
> > 抄送: petsc-users@mcs.anl.gov
> > 主题: Re: [petsc-users] Using PetscPartitioner on WINDOWS
> >
> >
> > Please switch to the latest PETSc version, it supports Metis and Parmetis on Windows.
> > Barry
> >
> >
> > On Mar 17, 2024, at 11:57 PM, 程奔 <202321009113@mail.scut.edu.cn> wrote:
> >
> > This Message Is From an External Sender
> > This message came from outside your organization.
> >
> > 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
> > 3. Intel MPI: download Intel oneAPI Base Toolkit and HPC Toolkit
> > 4. Cygwin
> >
> >
> > On windows,
> > Then I try to calculate a simple cantilever beam that use Tetrahedral mesh. So it's unstructured grid
> > I use DMPlexCreateFromFile() to creat dmplex.
> >
> > And then I want to distributing the mesh for using PETSCPARTITIONERPARMETIS type(in my opinion this PetscPartitioner type maybe the best for dmplex,
> >
> > see fig 1 for my work to see different PetscPartitioner type about a cantilever beam in Linux system.)
> >
> > But unfortunatly, when i try to use parmetis on windows that configure PETSc as follows
> >
> >
> > ./configure --with-debugging=0 --with-cc='win32fe cl' --with-fc='win32fe ifort' --with-cxx='win32fe cl'
> >
> > --download-fblaslapack=/cygdrive/g/mypetsc/petsc-pkg-fblaslapack-e8a03f57d64c.tar.gz --with-shared-libraries=0
> >
> > --with-mpi-include=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/include
> > --with-mpi-lib=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/lib/release/impi.lib
> > --with-mpiexec=/cygdrive/g/Intel/oneAPI/mpi/2021.10.0/bin/mpiexec
> > --download-parmetis=/cygdrive/g/mypetsc/petsc-pkg-parmetis-475d8facbb32.tar.gz
> > --download-metis=/cygdrive/g/mypetsc/petsc-pkg-metis-ca7a59e6283f.tar.gz
> >
> >
> >
> >
> > it shows that
> > *******************************************************************************
> > External package metis does not support --download-metis with Microsoft compilers
> > *******************************************************************************
> > configure.log and make.log is attached
> >
> >
> >
> > If I use PetscPartitioner Simple type the calculate time is much more than PETSCPARTITIONERPARMETIS type.
> >
> > 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,
> >
> > 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!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t2815v60Yvg$">https://urldefense.us/v3/__https://boogie.inm.ras.ru/terekhov/INMOST/-/wikis/0204-Compilation-ParMETIS-Windows__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t2815v60Yvg$</a>)
> >
> > and then use Visual Studio to use it's library I don't know in this way PETSc could use it successfully or not.
> >
> >
> > So I wrrit this email to report my problem and ask for your help.
> >
> > Looking forward your reply!
> >
> >
> > sinserely,
> > Ben.
> > <figure1-Type of PetscPartitioner.png><configure.log><make.log>
> >
> >
> >
> >
> >
</pre></body></html>