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

程奔 ctchengben at mail.scut.edu.cn
Wed Mar 6 00:39:02 CST 2024


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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240306/9f221fdc/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240306/9f221fdc/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240306/9f221fdc/attachment-0003.ksh>


More information about the petsc-users mailing list