--download-fblaslapack=/cygdrive/g/mypetsc/petsc-pkg-fblaslapack-e8a03f57d64c.tar.gz


> On Mar 25, 2024, at 3:40 AM, 程奔 <ctcheng...@mail.scut.edu.cn> wrote:
> 
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi, Satish
> Thanks for your reply, I try your advise and I successfully configure and 
> make petsc-3.20.5 with libmetis.lib and libparmetis.lib
> Configure Options: --with-debugging=0 
> --with-cc=/cygdrive/g/mypetsc/petsc-3.20.2/lib/petsc/bin/win32fe/win_cl 
> --with-fc=/cygdrive/g/mypetsc/petsc-3.20.2/lib/petsc/bin/win32fe/win_ifort 
> --with-cxx=/cygdrive/g/mypetsc/petsc-3.20.2/lib/petsc/bin/win32fe/win_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 --download-metis --with-strict-petscerrorcode=0
> 
> 
> but when I try to use 
> --download-blaslapack=/cygdrive/g/mypetsc/petsc-pkg-fblaslapack-e8a03f57d64c.tar.gz
> It seem not work 
> 
> *********************************************************************************************
>            UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for 
> details):
> ---------------------------------------------------------------------------------------------
>               External package BlasLapack does not support 
> --download-blaslapack
> *********************************************************************************************
> configure.log is attached.
> 
> so If it mean we must use Intel MKL of blaslapack that for download metis and 
> parmetis ( In this case we don't have libblaslapack.lib ) 
> and When I try to use PETSc on windows with Visual studio I should use 
> mkl-intel-lp64-dll.lib mkl-sequential-dll.lib mkl-core-dll.lib 
> 
> 
> sinserely,
> Ben.
> 
> 
> 
> 
> > -----原始邮件-----
> > 发件人: "Satish Balay" <ba...@mcs.anl.gov <mailto:ba...@mcs.anl.gov>>
> > 发送时间:2024-03-21 22:49:28 (星期四)
> > 收件人: "Satish Balay via petsc-users" <petsc-users@mcs.anl.gov 
> > <mailto:petsc-users@mcs.anl.gov>>
> > 抄送: 程奔 <ctcheng...@mail.scut.edu.cn <mailto:ctcheng...@mail.scut.edu.cn>>
> > 主题: Re: [petsc-users] Using PetscPartitioner on WINDOWS
> > 
> >     Checking for program /usr/bin/git...not found
> >     Checking for program 
> > /cygdrive/c/Users/Akun/AppData/Local/Programs/Git/bin/git...found
> > 
> > Also you appear to not use 'cygwin git' I'm not sure if this alternative 
> > git would work or break - so either install/use cygwin git - or use 
> > tarballs.
> > 
> > Satish
> > 
> > On Thu, 21 Mar 2024, Satish Balay via petsc-users wrote:
> > 
> > > Delete your old build files - and retry. i.e
> > > 
> > > rm -rf /cygdrive/g/mypetsc/petsc-3.20.5/arch-mswin-c-opt
> > > 
> > > ./configure ....
> > > 
> > > Satish
> > > 
> > > 
> > > On Thu, 21 Mar 2024, 程奔 wrote:
> > > 
> > > > Hi, Satish Thanks for your reply, I try both way your said in petsc-3. 
> > > > 20. 5 but it encounter same question, 
> > > > *********************************************************************************************
> > > >  UNABLE to CONFIGURE with GIVEN OPTIONS
> > > > ZjQcmQRYFpfptBannerStart
> > > > This Message Is From an External Sender
> > > > This message came from outside your organization.
> > > >  
> > > > ZjQcmQRYFpfptBannerEnd
> > > > 
> > > > Hi, Satish
> > > > Thanks for your reply, I try both way your said in petsc-3.20.5 
> > > > but it encounter same question,
> > > > 
> > > > *********************************************************************************************
> > > >             UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log 
> > > > for details):
> > > >  
> > > > ---------------------------------------------------------------------------------------------
> > > >                                   Error running make on  METIS
> > > >  
> > > > *********************************************************************************************
> > > > 
> > > > I send configure.log with "--download-parmetis --download-metis" to you 
> > > > and ask for you help.
> > > > 
> > > > sinserely,
> > > > Ben.
> > > > 
> > > > > -----原始邮件-----
> > > > > 发件人: "Satish Balay" <ba...@mcs.anl.gov <mailto:ba...@mcs.anl.gov>>
> > > > > 发送时间:2024-03-20 21:29:56 (星期三)
> > > > > 收件人: 程奔 <ctcheng...@mail.scut.edu.cn 
> > > > > <mailto:ctcheng...@mail.scut.edu.cn>>
> > > > > 抄送: petsc-users <petsc-users@mcs.anl.gov 
> > > > > <mailto:petsc-users@mcs.anl.gov>>
> > > > > 主题: Re: [petsc-users] Using PetscPartitioner on WINDOWS
> > > > > 
> > > > > >>>>
> > > > > Configure Options: --configModules=PETSc.Configure 
> > > > > --optionsModule=config.compilerOptions --with-debugging=0 
> > > > > --with-cc=/cygdrive/g/mypetsc/petsc-3.20.2/lib/petsc/bin/win32fe/win_cl
> > > > >  
> > > > > --with-fc=/cygdrive/g/mypetsc/petsc-3.20.2/lib/petsc/bin/win32fe/win_ifort
> > > > >  --with-cxx=/cygdrive/g/mypetsc/p
> > > > etsc-3.20.2/lib/petsc/bin/win32fe/win_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/20
> > > > 21.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
> > > > > <<<
> > > > > 
> > > > > >>>>>>>>
> > > > > Warning: win32fe: File Not Found: /Ox
> > > > > Error: win32fe: Input File Not Found: 
> > > > > G:\mypetsc\PETSC-~2.2\ARCH-M~1\EXTERN~1\PETSC-~1\PETSC-~1\libmetis\/Ox
> > > > > >>>>>>>>>>
> > > > > 
> > > > > Looks like you are using an old snapshot of metis. Can you remove 
> > > > > your local tarballs - and let [cygwin] git download the appropriate 
> > > > > latest version?
> > > > > 
> > > > > Or download and use: 
> > > > > https://urldefense.us/v3/__https://bitbucket.org/petsc/pkg-metis/get/8b194fdf09661ac41b36fa16db0474d38f46f1ac.tar.gz__;!!G_uCfscf7eWS!cI7AqtwOwG0MWFBbcOA813z8p7Q2IZcdv53HvzHMxK37qmlicGatMh0ya5WWcEVfiYZ5JDmS7vfgveYi05xU_O8moU6wWwAikw$
> > <https://urldefense.us/v3/__https://bitbucket.org/petsc/pkg-metis/get/8b194fdf09661ac41b36fa16db0474d38f46f1ac.tar.gz__;!!G_uCfscf7eWS!cI7AqtwOwG0MWFBbcOA813z8p7Q2IZcdv53HvzHMxK37qmlicGatMh0ya5WWcEVfiYZ5JDmS7vfgveYi05xU_O8moU6wWwAikw$%3E>>
> >  > > Similarly for parmetis 
> > https://urldefense.us/v3/__https://bitbucket.org/petsc/pkg-parmetis/get/f5e3aab04fd5fe6e09fa02f885c1c29d349f9f8b.tar.gz__;!!G_uCfscf7eWS!cI7AqtwOwG0MWFBbcOA813z8p7Q2IZcdv53HvzHMxK37qmlicGatMh0ya5WWcEVfiYZ5JDmS7vfgveYi05xU_O8moU4L6tLXtg$
> > <https://urldefense.us/v3/__https://bitbucket.org/petsc/pkg-parmetis/get/f5e3aab04fd5fe6e09fa02f885c1c29d349f9f8b.tar.gz__;!!G_uCfscf7eWS!cI7AqtwOwG0MWFBbcOA813z8p7Q2IZcdv53HvzHMxK37qmlicGatMh0ya5WWcEVfiYZ5JDmS7vfgveYi05xU_O8moU4L6tLXtg$%3E>>
> >  > > 
> > > > > Satish
> > > > > 
> > > > > On Wed, 20 Mar 2024, 程奔 wrote:
> > > > > 
> > > > > > 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
> > > > > > ZjQcmQRYFpfptBannerStart
> > > > > > This Message Is From an External Sender
> > > > > > This message came from outside your organization.
> > > > > >  
> > > > > > ZjQcmQRYFpfptBannerEnd
> > > > > > 
> > > > > > 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 
> > > > > > https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/jobs/6412623047__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t281f2ha4Aw$fora
> > > > > >  successful build of lates
> > > > > > t 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" <ba...@mcs.anl.gov <mailto:ba...@mcs.anl.gov>>
> > > > > > > 发送时间:2024-03-20 00:48:57 (星期三)
> > > > > > > 收件人: "Barry Smith" <bsm...@petsc.dev <mailto:bsm...@petsc.dev>>
> > > > > > > 抄送: 程奔 <ctcheng...@mail.scut.edu.cn 
> > > > > > > <mailto:ctcheng...@mail.scut.edu.cn>>, PETSc 
> > > > > > > <petsc-users@mcs.anl.gov <mailto:petsc-users@mcs.anl.gov>>
> > > > > > > 主题: Re: [petsc-users] Using PetscPartitioner on WINDOWS
> > > > > > > 
> > > > > > > Check 
> > > > > > > https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/jobs/6412623047__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t281f2ha4Aw$fora
> > > > > > >  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, 程奔 
> > > > > > > > <ctcheng...@mail.scut.edu.cn 
> > > > > > > > <mailto:ctcheng...@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" <bsm...@petsc.dev 
> > > > > > > > <mailto:bsm...@petsc.dev>>
> > > > > > > >       发送时间: 2024-03-18 21:11:14 (星期一)
> > > > > > > >       收件人: 程奔 <202321009...@mail.scut.edu.cn 
> > > > > > > > <mailto:202321009...@mail.scut.edu.cn>>
> > > > > > > >       抄送: petsc-users@mcs.anl.gov 
> > > > > > > > <mailto: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, 程奔 
> > > > > > > > <202321009...@mail.scut.edu.cn 
> > > > > > > > <mailto:202321009...@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 , 
> > > > > > > > https://urldefense.us/v3/__https://boogie.inm.ras.ru/terekhov/INMOST/-/wikis/0204-Compilation-ParMETIS-Windows__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT
> > <https://urldefense.us/v3/__https://boogie.inm.ras.ru/terekhov/INMOST/-/wikis/0204-Compilation-ParMETIS-Windows__;!!G_uCfscf7eWS!YOO7nEnwU4BJQXD3WkP3QCvaT%3E>>
> >  > >> 
> > 1gfLxBxnrNdXp9SJbjETmw7uaRKaUkPRPEgWgxibROg8o_rr8SxbnaVWtJbAT-t2815v60Yvg$) 
> > > > > > > > 
> > > > > > > > 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>
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > 
> > > > > > 
> > > > 
> > > > 
> > > 

Reply via email to