<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>i was trying to repair my <span>parallel_studio_xe_2017. then i configure it once again and then i tried to make with and without intel-mpi ENV . in both cases the error had been changed. i have attached the configure.log</span></p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Satish Balay <balay@mcs.anl.gov><br>
<b>Sent:</b> Monday, February 6, 2017 10:10:43 PM<br>
<b>To:</b> Mohammad S Dodaran<br>
<b>Cc:</b> petsc-dev<br>
<b>Subject:</b> Re: [petsc-dev] install petsc on windows 10 with mpi</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Them Intel-MPI was not removed. You can resend configure.log to confirm..<br>
<br>
Satish<br>
<br>
On Mon, 6 Feb 2017, Mohammad S Dodaran wrote:<br>
<br>
> I removed the INTEL-MPI from the environmental variables and I still have the same problem. When I configure it looks like it accepts the mpi_include and mpi_lib but when I want to build , it says the configure was with mpi but in build it appears to compile
is using a non-mpich.<br>
> <br>
> Mohammad<br>
> <br>
> ________________________________<br>
> From: Satish Balay <balay@mcs.anl.gov><br>
> Sent: Monday, February 6, 2017 6:13:04 PM<br>
> To: Mohammad S Dodaran<br>
> Cc: petsc-dev<br>
> Subject: Re: [petsc-dev] install petsc on windows 10 with mpi<br>
> <br>
> 1. configure.log is a cygwin simlink - so native mail app is unable to<br>
> attach correctly. The actual file is in<br>
> PETSC_DIR/PETSC_ARCH/lib/petsc/conf<br>
> <br>
> 2. Suggest doing the build without fftw and hdf5 packages [once the<br>
> basic build succeeds - you can look at adding these pacakges.]<br>
> <br>
> 3. remove INTEL-MPI from your env - before running configure. [you<br>
> might be able to use intel-mpi instead of ms-mpi - but we don't have<br>
> any experience with it]<br>
> <br>
> Satish<br>
> <br>
> On Mon, 6 Feb 2017, Mohammad S Dodaran wrote:<br>
> <br>
> > now I'm trying to configure petsc 3.7<br>
> > i used the format you showd in your previous email for the directories of fftw and hdf5 as below<br>
> ><br>
> > --with-fftw-dir=/cygdrive/c/cygwin64/home/fftw --with-hdf5-dir=/cygdrive/c/cygwin64/home/hdf5<br>
> ><br>
> > the result is the following<br>
> ><br>
> > TESTING: alternateConfigureLibrary from config.packages.glut(config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.giflib(config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary
from config.packages.scientificpython(config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.fiat(config/BuildSystem/config/package.py:742) TESTING: configureLibrary from config.packages.fftw(config/BuildSystem/config/package.py:679)
*******************************************************************************<br>
> > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>
> > -------------------------------------------------------------------------------<br>
> > --with-fftw-dir=/cygdrive/c/cygwin64/home/fftw did not work<br>
> > *******************************************************************************<br>
> ><br>
> > i also attached the configure.log<br>
> ><br>
> ><br>
> > ________________________________<br>
> > From: Satish Balay <balay@mcs.anl.gov><br>
> > Sent: Monday, February 6, 2017 4:28:09 PM<br>
> > To: Mohammad S Dodaran<br>
> > Cc: Matthew Knepley; petsc-dev<br>
> > Subject: Re: [petsc-dev] install petsc on windows 10 with mpi<br>
> ><br>
> > >>>><br>
> ><br>
> > Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --with-cc="win32fe cl" --with-fc="win32fe ifort" --with-cxx="win32fe cl" --with-mpi-include="[/cygdrive/c/PROGRA~2/MICROS~4/MPI/Include,/cygdrive/c/PROGRA~2/MICROS~4/MPI/Include/x64]"
--with-mpi-lib="[/cygdrive/c/PROGRA~2/MICROS~4/MPI/Lib/x64/msmpi.lib,/cygdrive/c/PROGRA~2/MICROS~4/MPI/Lib/x64/msmpifec.lib]" --with-fftw-dir="[/cygdrive/c/cygwin64/home/fftw]" --with-hdf5-dir="[/cygdrive/c/cygwin64/home/hdf5]" --download-fblaslapack=1 --with-c2html=0
--with-debugging=0 --with-ssl=0 --with-x=0 PETSC_ARCH= PETSC_DIR=/home/petsc-3.6.4<br>
> > <<<<<br>
> ><br>
> > > 'PETSC_ARCH='<br>
> ><br>
> > Can you rerun with a non-empty PETSC_ARCH string - or let configure choost default..<br>
> ><br>
> > > --with-fftw-dir="[/cygdrive/c/cygwin64/home/fftw]" --with-hdf5-dir="[/cygdrive/c/cygwin64/home/hdf5]"<br>
> ><br>
> > I don't think I've built these packages with MS compilers<br>
> > before. Somehow they are not picked up anyway. For one - the format<br>
> > here should be the following [but I don't know if that will make<br>
> > configure check for them]:<br>
> ><br>
> > --with-fftw-dir=/cygdrive/c/cygwin64/home/fftw --with-hdf5-dir=/cygdrive/c/cygwin64/home/hdf5<br>
> ><br>
> > > PETSC_DIR=/home/petsc-3.6.4<br>
> ><br>
> > Also - please use latest petsc-3.7 release.<br>
> ><br>
> > > C:\cygwin64\home\PETSC-~1.4\include\petscsys.h(122) : fatal error C1189: #error : "PETSc was configured with MPICH but<br>
> > > now appears to be compiling using a non-MPICH mpi.h"<br>
> ><br>
> > Hm - configure is picking up Intel-MPI from your 'INCLUDE' env<br>
> > variable - but not 'make' - not sure whats hapenning - but I think its<br>
> > best to start a clean build with petsc-3.7 [unless you need 3.6 for a<br>
> > specific need]<br>
> ><br>
> > Satish<br>
> ><br>
> > On Mon, 6 Feb 2017, Mohammad S Dodaran wrote:<br>
> ><br>
> > > hello<br>
> > ><br>
> > ><br>
> > > i configured petsc and i was trying to make then this error appeared<br>
> > ><br>
> > ><br>
> > > Using mpiexec: mpiexec<br>
> > > ==========================================<br>
> > > Building PETSc using GNU Make with 4 build threads<br>
> > > ==========================================<br>
> > > make[2]: Entering directory '/home/petsc-3.6.4'<br>
> > > /usr/bin/python ./config/gmakegen.py --petsc-arch=../petsc-3.6.4<br>
> > > Use "/usr/bin/make V=1" to see the verbose compile lines.<br>
> > > CC ../petsc-3.6.4/obj/src/sys/info/verboseinfo.o<br>
> > > CC ../petsc-3.6.4/obj/src/sys/info/ftn-auto/verboseinfof.o<br>
> > > CC ../petsc-3.6.4/obj/src/sys/info/ftn-custom/zverboseinfof.o<br>
> > > CC ../petsc-3.6.4/obj/src/sys/ftn-custom/zsys.o<br>
> > > verboseinfo.c<br>
> > > C:\cygwin64\home\PETSC-~1.4\include\petscsys.h(122) : fatal error C1189: #error : "PETSc was configured with MPICH but<br>
> > > now appears to be compiling using a non-MPICH mpi.h"<br>
> > > make[2]: *** [gmakefile:161: ../petsc-3.6.4/obj/src/sys/info/verboseinfo.o] Error 2<br>
> > > make[2]: *** Waiting for unfinished jobs....<br>
> > > verboseinfof.c<br>
> > > C:\cygwin64\home\PETSC-~1.4\include\petscsys.h(122) : fatal error C1189: #error : "PETSc was configured with MPICH but<br>
> > > now appears to be compiling using a non-MPICH mpi.h"<br>
> > > make[2]: *** [gmakefile:161: ../petsc-3.6.4/obj/src/sys/info/ftn-auto/verboseinfof.o] Error 2<br>
> > > zverboseinfof.c<br>
> > > C:\cygwin64\home\PETSC-~1.4\include\petscsys.h(122) : fatal error C1189: #error : "PETSc was configured with MPICH but<br>
> > > now appears to be compiling using a non-MPICH mpi.h"<br>
> > > make[2]: *** [gmakefile:161: ../petsc-3.6.4/obj/src/sys/info/ftn-custom/zverboseinfof.o] Error 2<br>
> > > zsys.c<br>
> > > C:\cygwin64\home\PETSC-~1.4\include\petscsys.h(122) : fatal error C1189: #error : "PETSc was configured with MPICH but<br>
> > > now appears to be compiling using a non-MPICH mpi.h"<br>
> > > make[2]: *** [gmakefile:161: ../petsc-3.6.4/obj/src/sys/ftn-custom/zsys.o] Error 2<br>
> > > make[2]: Leaving directory '/home/petsc-3.6.4'<br>
> > > make[1]: *** [/home/petsc-3.6.4/lib/petsc/conf/rules:107: gnumake] Error 2<br>
> > > make[1]: Leaving directory '/home/petsc-3.6.4'<br>
> > > **************************ERROR*************************************<br>
> > > Error during compile, check ../petsc-3.6.4/lib/petsc/conf/make.log<br>
> > > Send it and ../petsc-3.6.4/lib/petsc/conf/configure.log to petsc-maint@mcs.anl.gov<br>
> > > ********************************************************************<br>
> > > make: *** [makefile:30: all] Error 1<br>
> > ><br>
> > > i have also attached the configure.log and make.log<br>
> > ><br>
> > > regards<br>
> > > Mohammad<br>
> > ><br>
> > ><br>
> > ><br>
> > > ________________________________<br>
> > > From: Matthew Knepley <knepley@gmail.com><br>
> > > Sent: Monday, February 6, 2017 8:07:41 AM<br>
> > > To: Mohammad S Dodaran<br>
> > > Cc: petsc-dev<br>
> > > Subject: Re: [petsc-dev] install petsc on windows 10 with mpi<br>
> > ><br>
> > > On Sun, Feb 5, 2017 at 11:26 PM, Mohammad S Dodaran <mdodar1@lsu.edu<mailto:mdodar1@lsu.edu>> wrote:<br>
> > ><br>
> > > Satish,<br>
> > ><br>
> > > Thanks for your quick response. as you see I can ls to the directory:<br>
> > ><br>
> > > ls /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Include/<br>
> > ><br>
> > > Yes, but as Satish said, there are spaces in the path above. We do not allow spaces in the path.<br>
> > > You cannot give a path to configure with spaces.<br>
> > ><br>
> > > You can remove the spaces using the cygpath command that Satish showed. Please use that command.<br>
> > > Remove the spaces from this path and give the spaceless path to configure.<br>
> > ><br>
> > > Thanks,<br>
> > ><br>
> > > Matt<br>
> > ><br>
> > > mpi.f90 mpi.h mpif.h mpio.h mspms.h pmidbg.h x64/ x86/<br>
> > ><br>
> > ><br>
> > ><br>
> > > but I do not know why still it has the same problem. and my configure file looks strange.<br>
> > ><br>
> > > Best,<br>
> > ><br>
> > > Mohammad<br>
> > ><br>
> > > ________________________________<br>
> > > From: Satish Balay <balay@mcs.anl.gov<mailto:balay@mcs.anl.gov>><br>
> > > Sent: Sunday, February 5, 2017 10:58:35 PM<br>
> > > To: Mohammad S Dodaran<br>
> > > Cc: petsc-dev@mcs.anl.gov<mailto:petsc-dev@mcs.anl.gov><br>
> > > Subject: Re: [petsc-dev] install petsc on windows 10 with mpi<br>
> > ><br>
> > > Try to figureout path without spaces.<br>
> > ><br>
> > > cygpath -u `cygpath -s -m PATH`<br>
> > ><br>
> > > Make sure you can do "ls" on this path.<br>
> > ><br>
> > > And use it with petsc configure.<br>
> > ><br>
> > > balay@ps4 ~<br>
> > > $ cygpath -u `cygpath -s -m /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Include`<br>
> > > /cygdrive/c/PROGRA~2/MICROS~2/MPI/Include<br>
> > ><br>
> > > balay@ps4 ~<br>
> > > $ ls /cygdrive/c/PROGRA~2/MICROS~2/MPI/Include<br>
> > > mpi.f90 mpi.h mpif.h mpio.h mspms.h pmidbg.h x64 x86<br>
> > ><br>
> > > balay@ps4 ~<br>
> > > $<br>
> > ><br>
> > > For ex: - I use:<br>
> > ><br>
> > > >>>>>>>><br>
> > > $ cat config/examples/arch-mswin-intel.py<br>
> > > #!/usr/bin/python<br>
> > > if __name__ == '__main__':<br>
> > > import sys<br>
> > > import os<br>
> > > sys.path.insert(0, os.path.abspath('config'))<br>
> > > import configure<br>
> > > configure_options = [<br>
> > > '--download-fblaslapack=1',<br>
> > > '--with-cc=win32fe icl',<br>
> > > '--with-cxx=win32fe icl',<br>
> > > '--with-fc=win32fe ifort',<br>
> > > '--with-mpi-include=[/cygdrive/c/PROGRA~2/MICROS~2/MPI/Include/,/cygdrive/c/PROGRA~2/MICROS~2/MPI/Include/x64]',<br>
> > > '--with-mpi-lib=[/cygdrive/c/PROGRA~2/MICROS~2/MPI/lib/x64/msmpifec.lib,/cygdrive/c/PROGRA~2/MICROS~2/MPI/lib/x64/msmpi.lib]',<br>
> > > '--with-mpiexec=/cygdrive/c/PROGRA~1/MICROS~2/Bin/mpiexec',<br>
> > > '--with-shared-libraries=0',<br>
> > > 'DATAFILESPATH=c:/cygwin64/home/petsc/datafiles',<br>
> > > ]<br>
> > > configure.petsc_configure(configure_options)<br>
> > ><br>
> > > <<<<<<<<<<<<br>
> > ><br>
> > > if you still have issues - send us configure.log for the failure.<br>
> > ><br>
> > > Satish<br>
> > ><br>
> > > On Sun, 5 Feb 2017, Mohammad S Dodaran wrote:<br>
> > ><br>
> > > > Dear Petsc developers,<br>
> > > ><br>
> > > > I am trying to install Petsc on windows 10 but I have a problem. I installed MS-MPI v8<<a href="http://go.microsoft.com/FWLink/p/?LinkID=389556">http://go.microsoft.com/FWLink/p/?LinkID=389556</a>> separately and in the configure options I use<br>
> > > ><br>
> > > > --with-mpi-include="/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Include" --with-mpi-lib="/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Lib/x64/msmpi.lib"<br>
> > > ><br>
> > > ><br>
> > > > But it gives error which says:<br>
> > > ><br>
> > > > ***************************************************************<br>
> > > > ERROR in COMMAND LINE ARGUMENT to ./configure<br>
> > > > -------------------------------------------------------------------------------<br>
> > > > Invalid directory: [/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Include for key with-mpi-include<br>
> > > ><br>
> > > ><br>
> > > > How should I solve it?<br>
> > > ><br>
> > > > Mohammad<br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
> > > -- Norbert Wiener<br>
> > ><br>
> ><br>
> ><br>
> <br>
> <br>
<br>
</div>
</span></font>
</body>
</html>