[petsc-users] PETSc Windows Installation

Matthew Knepley knepley at gmail.com
Sun Nov 6 07:41:38 CST 2022


We need to see configure.log to see what is going on. Can you send it?

  Thanks,

     Matt

On Sun, Nov 6, 2022 at 4:29 AM Mohammad Ali Yaqteen <mhyaqteen at sju.ac.kr>
wrote:

> Dear Sir/Madam,
>
>
>
> I am installing PETSc on windows but it keeps giving me unexpected errors.
> I want to use it on MS Visual Studio or Codeblocks. When I use the command
> on your webpage (./configure --with-cc='win32fe cl' --with-fc='win32fe
> ifort' --with-cxx='win32fe cl' --with-mpi=0 --download-fblaslapack), I get
> the following error message:
>
>
>
> $ ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort'
> --with-cxx='win32fe cl' --with-mpi=0 --download-fblaslapack
>
>
> =============================================================================================
>
>                          Configuring PETSc to compile on your system
>
>
> =============================================================================================
>
> TESTING: checkCCompiler from
> config.setCompilers(config/BuildSystem/config/setCompilers.py:1341)*******************************************************************************
>
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
>
>
> -------------------------------------------------------------------------------
>
> C compiler you provided with -with-cc=win32fe cl cannot be found or does
> not work.
>
> Cannot compile/link C with
> /home/SEJONG/petsc-3.18.1/lib/petsc/bin/win32fe/win32fe cl.
>
>
>
> Kindly look into this problem! Your prompt response will highly be
> appreciated
>
>
>
> Thank you
>
> Ali
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221106/bee9526b/attachment.html>


More information about the petsc-users mailing list