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

hamid badi badi.hamid at gmail.com
Thu Mar 7 02:27:00 CST 2024


Hello
If I find any time, I'll write a complete guide about PETSC (and additional
modules like MUMPS) compilation with windows/visual studio/intel, is there
other person interested ?


Le mer. 6 mars 2024 à 07:40, 程奔 <ctchengben at mail.scut.edu.cn> a écrit :

> 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
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
>
> ZjQcmQRYFpfptBannerEnd
> 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/20240307/fb596e42/attachment-0001.html>


More information about the petsc-users mailing list