[petsc-users] install PETSc on windows
liyuansen89 at gmail.com
liyuansen89 at gmail.com
Tue Dec 7 09:25:25 CST 2021
Hi Satish,
I have another question. After I run the check command, I got the following
output (the attached file), have I successfully installed the library? Is
there any error?
Thanks
-----Original Message-----
From: Satish Balay <balay at mcs.anl.gov>
Sent: Monday, December 6, 2021 6:59 PM
To: Ning Li <liyuansen89 at gmail.com>
Cc: petsc-users <petsc-users at mcs.anl.gov>
Subject: Re: [petsc-users] install PETSc on windows
Glad it worked. Thanks for the update.
Satish
On Mon, 6 Dec 2021, Ning Li wrote:
> Thanks for your reply.
>
> After I added '--with-shared-libraries=0', the configuration stage
> passed and now it is executing the 'make' command!
>
> Thanks very much
>
> On Mon, Dec 6, 2021 at 5:21 PM Satish Balay <balay at mcs.anl.gov> wrote:
>
> > >>>
> > Executing: /home/LiNin/petsc-3.16.1/lib/petsc/bin/win32fe/win32fe
> > ifort -o
> >
/cygdrive/c/Users/LiNin/AppData/Local/Temp/petsc-5ly209eh/config.libraries/c
onftest.exe
> > -MD -O3 -fpp
> > /cygdrive/c/Users/LiNin/AppData/Local/Temp/petsc-5ly209eh/config.lib
> > raries/conftest.o /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\
> > SDKs/MPI/Lib/x64/msmpi.lib /cygdrive/c/Program\ Files\
> > \(x86\)/Microsoft\ SDKs/MPI/Lib/x64/msmpifec.lib Ws2_32.lib
> > stdout: LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with
> > use of other libs; use /NODEFAULTLIB:library <<<
> >
> > I'm not sure why this link command is giving this error. Can you
> > retry with '--with-shared-libraries=0'?
> >
> > Satish
> >
> >
> > On Mon, 6 Dec 2021, Ning Li wrote:
> >
> > > Howdy,
> > >
> > > I am trying to install PETSc on windows with cygwin but got an mpi
error.
> > > Could you have a look at my issue and give me some instructions?
> > >
> > > Here is the information about my environment:
> > > 1. operation system: windows 11
> > > 2. visual studio version: 2019
> > > 3. intel one API toolkit is installed 4. Microsoft MS MPI is
> > > installed.
> > > 5. Intel MPI is uninstalled.
> > > 6. PETSc version: 3.16.1
> > >
> > > this is my configuration:
> > > ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort'
> > > --prefix=~/petsc-opt/ --PETSC_ARCH=windows-intel-opt
> > > --with-mpi-include=['/cygdrive/c/Program Files (x86)/Microsoft
> > > SDKs/MPI/Include','/cygdrive/c/Program Files (x86)/Microsoft
> > > SDKs/MPI/Include/x64'] --with-mpi-lib=['/cygdrive/c/Program Files
> > > (x86)/Microsoft SDKs/MPI/Lib/x64/msmpi.lib','/cygdrive/c/Program
> > > Files (x86)/Microsoft SDKs/MPI/Lib/x64/msmpifec.lib']
> > > --with-blas-lapack-lib=['/cygdrive/c/Program Files
> > >
> > (x86)/Intel/oneAPI/mkl/2021.3.0/lib/intel64/mkl_intel_lp64.lib','/cy
> > gdrive/c/Program
> > > Files
> > >
> > (x86)/Intel/oneAPI/mkl/2021.3.0/lib/intel64/mkl_core.lib','/cygdrive
> > /c/Program
> > > Files
> > > (x86)/Intel/oneAPI/mkl/2021.3.0/lib/intel64/mkl_sequential.lib']
> > > --with-scalapack-include='/cygdrive/c/Program Files
> > > (x86)/Intel/oneAPI/mkl/2021.3.0/include'
> > > --with-scalapack-lib=['/cygdrive/c/Program Files
> > >
> > (x86)/Intel/oneAPI/mkl/2021.3.0/lib/intel64/mkl_scalapack_lp64.lib',
> > '/cygdrive/c/Program
> > > Files
> > > (x86)/Intel/oneAPI/mkl/2021.3.0/lib/intel64/mkl_blacs_msmpi_lp64.l
> > > ib']
> > > --with-fortran-interfaces=1 --with-debugging=0
> > >
> > > attached is the configure.log file.
> > >
> > > Thanks
> > >
> > > Ning Li
> > >
> >
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ss.png
Type: image/png
Size: 250022 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211207/757be90f/attachment-0001.png>
More information about the petsc-users
mailing list