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

Satish Balay balay at mcs.anl.gov
Tue Mar 12 10:01:14 CDT 2024


Glad you have a successful build! Thanks for the update.

Satish

On Tue, 12 Mar 2024, 程奔 wrote:

> Hi Satish Sorry for replying to your email so late, I follow your suggestion and it have been installed successfully. Thank you so much. best wishes, Ben > -----原始邮件----- > 发件人: "Satish Balay" <balay@ mcs. anl. gov> > 发送时间: 2024-03-06
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
>  
> ZjQcmQRYFpfptBannerEnd
> 
> Hi Satish
>   Sorry for replying to your email so late, I follow your suggestion and it have been installed successfully.
>   Thank you so much.
> 
> best
> wishes,
> Ben
> 
> 
> > -----原始邮件-----
> > 发件人: "Satish Balay" <balay at mcs.anl.gov>
> > 发送时间:2024-03-06 18:21:45 (星期三)
> > 收件人: 程奔 <ctchengben at mail.scut.edu.cn>
> > 抄送: petsc-users at mcs.anl.gov
> > 主题: Re: [petsc-users] Compile Error in configuring PETSc with Cygwin on Windows by using Intel MPI
> > 
> > > make[3]: *** No rule to make target 'w'.  Stop.
> > 
> > Try the following to overcome the above error:
> > 
> > make OMAKE_PRINTDIR=make all
> > 
> > However 3.13.6 is a bit old - so don't know if it will work with these versions of compilers.
> > 
> > Satish
> > 
> > On Wed, 6 Mar 2024, 程奔 wrote:
> > 
> > > Hello,
> > > 
> > > 
> > > Last time I  installed PETSc 3.19.2 with Cygwin in Windows10 successfully.
> > > 
> > > Recently I try to install PETSc 3.13.6 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.13.6
> > > 2. VS: version 2022 
> > > 3. Intel MPI: download Intel oneAPI Base Toolkit and HPC Toolkit
> > > 
> > > 
> > > 4. Cygwin
> > > 
> > > 5. External package: petsc-pkg-fblaslapack-e8a03f57d64c.tar.gz
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > And the compiler option in configuration is:
> > > 
> > > ./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 
> > > 
> > > 
> > > 
> > > 
> > > Then I build PETSc libraries with:
> > > 
> > > make PETSC_DIR=/cygdrive/g/mypetsc/petsc-3.13.6 PETSC_ARCH=arch-mswin-c-opt all
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > but there return an error:
> > > 
> > > **************************ERROR*************************************
> > >   Error during compile, check arch-mswin-c-opt/lib/petsc/conf/make.log
> > >   Send it and arch-mswin-c-opt/lib/petsc/conf/configure.log to petsc-maint at mcs.anl.gov
> > > ********************************************************************
> > > 
> > > 
> > > 
> > > 
> > > 
> > > So I wrrit this email to report my problem and ask for your help.  
> > > 
> > > 
> > > Looking forward your reply!
> > > 
> > > 
> > > sinserely,
> > > Cheng.
> > > 
> > > 
> > > 
> > > 
> 
> 


More information about the petsc-users mailing list