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

2024-03-12 Thread Satish Balay via petsc-users
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"  > 发送时间: 
> 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" 
> > 发送时间:2024-03-06 18:21:45 (星期三)
> > 收件人: 程奔 
> > 抄送: petsc-users@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-ma...@mcs.anl.gov
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > So I wrrit this email to report my problem and ask for your help.  
> > > 
> > > 
> > > Looking forward your reply!
> > > 
> > > 
> > > sinserely,
> > > Cheng.
> > > 
> > > 
> > > 
> > > 
> 
> 


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

2024-03-12 Thread 程奔




 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"  > 发送时间: 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" 
> 发送时间:2024-03-06 18:21:45 (星期三)
> 收件人: 程奔 
> 抄送: petsc-users@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-ma...@mcs.anl.gov
> > 
> > 
> > 
> > 
> > 
> > 
> > So I wrrit this email to report my problem and ask for your help.  
> > 
> > 
> > Looking forward your reply!
> > 
> > 
> > sinserely,
> > Cheng.
> > 
> > 
> > 
> > 



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

2024-03-07 Thread hamid badi
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, 程奔  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-ma...@mcs.anl.gov
> 
>
>
> So I wrrit this email to report my problem and ask for your help.
>
> Looking forward your reply!
>
>
> sinserely,
> Cheng.
>
>
>


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

2024-03-06 Thread Satish Balay via petsc-users
> 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-ma...@mcs.anl.gov
> 
> 
> 
> 
> 
> 
> So I wrrit this email to report my problem and ask for your help.  
> 
> 
> Looking forward your reply!
> 
> 
> sinserely,
> Cheng.
> 
> 
> 
>