I tried to use this new PETSc in my application, and got this HYPRE related error when I built a solution in visual studio. [image: image.png] I have installed the latest HYPRE on my laptop and linked it to my application, but I disabled MPI option when I configured HYPRE . Is this why this error occurred?
On Tue, Dec 7, 2021 at 9:31 AM Satish Balay <[email protected]> wrote: > Your build is with msmpi - but mpiexec from openmpi got used. > > You can try compiling and running examples manually [with the correct > mpiexec] > > Satish > > On Tue, 7 Dec 2021, [email protected] wrote: > > > 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 <[email protected]> > > Sent: Monday, December 6, 2021 6:59 PM > > To: Ning Li <[email protected]> > > Cc: petsc-users <[email protected]> > > 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 <[email protected]> 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 > > > > > > > > > > > > > > > > > > > > > >
