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

Satish Balay balay at mcs.anl.gov
Wed Mar 6 04:21:45 CST 2024


> 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