It appears MUMPS uses an unprotected stdint.h file that the compilers cannot 
resolve. There is a big discussion of it as 
https://software.intel.com/en-us/forums/intel-c-compiler/topic/733929   PETSc 
also cannot locate this file and so works around not having it.

  The strange thing is that it seems to exist at C:\Program Files 
(x86)\IntelSWTools\compilers_and_libraries_2019.1.144\windows\compiler\include\stdint.h

  I would try a test where I copied this file to petsc/include and rerun the 
./configure. With any luck it will make more progress.

  Please send the resulting configure.log

   Barry





> On Jul 2, 2019, at 1:08 AM, [email protected] wrote:
> 
> Dear Barry,
> Thank you very much for all your help. I have copied the metis.h file to the 
> directory "/cygdrive/c/metis-5.1.0/include".
> and then run ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' 
> --with-cxx='win32fe cl' --download-fblaslapack --with-debugging=0 
> --download-mumps --with-mpi-dir="/cygdrive/c/Program Files/MPICH2" 
> --with-shared-libraries=0 --with-mpiexec='mpiexec --localonly' --useThreads=0 
> --download-scalapack 
> --with-parmetis-include="/cygdrive/c/parmetis-4.0.3/include" 
> --with-parmetis-lib="/cygdrive/c/parmetis-4.0.3/libparmetis/Release/parmetis.lib
>  /cygdrive/c/parmetis-4.0.3/libmetis/Release/metis.lib" 
> --with-metis-include="/cygdrive/c/metis-5.1.0/include" 
> --with-metis-lib="/cygdrive/c/metis-5.1.0/libmetis/Release/metis.lib" 
> The problem changes as follows
> 
> ===============================================================================
>              Configuring PETSc to compile on your system
> ===============================================================================
> ===============================================================================
>                                                                               
>                      ***** WARNING: Using default optimization C flags -O2 
> -QxW                                                                          
>                                         You might consider manually setting 
> optimal optimization flags for your system with                               
>                                                            
> COPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples 
>                                                                               
>          
> ===============================================================================
>                                                                               
>                
> ===============================================================================
>                                                                               
>                      ***** WARNING: Using default C++ optimization flags -O2 
> -QxW -Zm200                                                                   
>                                       You might consider manually setting 
> optimal optimization flags for your system with                               
>                                                            
> CXXOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for 
> examples                                                                      
>                 
> ===============================================================================
>                                                                               
>                
> ===============================================================================
>                                                                               
>                      ***** WARNING: Using default FORTRAN optimization flags 
> -O3 -QxW                                                                      
>                                       You might consider manually setting 
> optimal optimization flags for your system with                               
>                                                            
> FOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples 
>                                                                               
>          
> ===============================================================================
>                                                                               
>                
> ===============================================================================
>                                                                               
>                      Compiling Mumps; this may take several minutes           
>                                                                               
>                                
> ===============================================================================
>                                                                               
>                                                                               
>                                                                               
>                                
> *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for 
> details):
> -------------------------------------------------------------------------------
> Error running make on MUMPS: Could not execute "['make alllib']":
> make ARITH=c mumps_lib
> make[1]: Entering directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps'
> if [ "./PORD/lib/" != "" ] ; then \
>   cd ./PORD/lib/; \
>   make CC="/cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl" CFLAGS="-MT 
> -wd4996 -O2 -QxW" AR="/cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe lib -a 
> " RANLIB="/usr/bin/true" OUTC="-o " LIBEXT=.lib; \
> fi;
> make[2]: Entering directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps/PORD/lib'
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c graph.c -o  graph.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> graph.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c gbipart.c -o  gbipart.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> gbipart.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c gbisect.c -o  gbisect.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> gbisect.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c ddcreate.c -o  ddcreate.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> ddcreate.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c ddbisect.c -o  ddbisect.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> ddbisect.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c nestdiss.c -o  nestdiss.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> nestdiss.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c multisector.c -o  multisector.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> multisector.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c gelim.c -o  gelim.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> gelim.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c bucket.c -o  bucket.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> bucket.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c tree.c -o  tree.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> tree.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c symbfac.c -o  symbfac.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> symbfac.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c interface.c -o  interface.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> interface.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c sort.c -o  sort.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> sort.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -I../include -MT -wd4996 
> -O2 -QxW  -c minpriority.c -o  minpriority.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> minpriority.c
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe lib -a  libpord.lib graph.o 
> gbipart.o gbisect.o ddcreate.o ddbisect.o nestdiss.o multisector.o gelim.o 
> bucket.o tree.o symbfac.o interface.o sort.o minpriority.o
> /usr/bin/true libpord.lib
> make[2]: Leaving directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps/PORD/lib'
> if [ "./PORD/lib/" != "" ] ; then \
>   cp ./PORD/lib//libpord.lib lib/libpord.lib; \
> fi;
> (cd src ; make c)
> make[2]: Entering directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps/src'
> make ARITH=c mumps_lib
> make[3]: Entering directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps/src'
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c lr_common.F -o  lr_common.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c double_linked_list.F -o  double_linked_list.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c ana_omp_m.F -o  ana_omp_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c ana_orderings_wrappers_m.F -o  ana_orderings_wrappers_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_memory_mod.F -o  mumps_memory_mod.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_static_mapping.F -o  mumps_static_mapping.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_sol_es.F -o  mumps_sol_es.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c fac_future_niv2_mod.F -o  fac_future_niv2_mod.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_comm_ibcast.F -o  mumps_comm_ibcast.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_ooc_common.F -o  mumps_ooc_common.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c omp_tps_common_m.F -o  omp_tps_common_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c fac_asm_build_sort_index_m.F -o  fac_asm_build_sort_index_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c fac_asm_build_sort_index_ELT_m.F -o  
> fac_asm_build_sort_index_ELT_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_l0_omp_m.F -o  mumps_l0_omp_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c front_data_mgt_m.F -o  front_data_mgt_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c fac_maprow_data_m.F -o  fac_maprow_data_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c fac_descband_data_m.F -o  fac_descband_data_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c fac_ibct_data_m.F -o  fac_ibct_data_m.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c ana_orderings.F -o  ana_orderings.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c ana_AMDMF.F -o  ana_AMDMF.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c bcast_errors.F -o  bcast_errors.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c estim_flops.F -o  estim_flops.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_type_size.F -o  mumps_type_size.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_type2_blocking.F -o  mumps_type2_blocking.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_version.F -o  mumps_version.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c tools_common.F -o  tools_common.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe ifort -MT -O3 -fpp  
> -I/cygdrive/c/Program\ Files/MPICH2/include  -Dpord -Dmetis -Dparmetis -I. 
> -I../include -c mumps_print_defined.F -o  mumps_print_defined.o
> /cygdrive/c/petsc/lib/petsc/bin/win32fe/win32fe cl -MT -wd4996 -O2 -QxW 
> -I/cygdrive/c/Program\ Files/MPICH2/include -I../include -DUPPPER 
> -I/cygdrive/c/parmetis-4.0.3/include -I/cygdrive/c/metis-5.1.0/include 
> -I../PORD/include/  -Dpord -Dmetis -Dparmetis -c mumps_common.c -o  
> mumps_common.o
> cl: 命令行 warning D9002 :忽略未知选项“-QxW”
> mumps_common.c
> C:\Program Files 
> (x86)\IntelSWTools\compilers_and_libraries_2019.1.144\windows\compiler\include\stdint.h(39):
>  fatal error C1083: 无法打开包括文件: “../../vc/include/stdint.h”: No such file or 
> directory
> make[3]: Leaving directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps/src'
> make[2]: Leaving directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps/src'
> make[1]: Leaving directory 
> '/cygdrive/c/petsc/arch-mswin-c-opt/externalpackages/git.mumps'make[3]: *** 
> [Makefile:295: mumps_common.o] Error 2
> make[2]: *** [Makefile:20: c] Error 2
> make[1]: *** [Makefile:40: mumps_lib] Error 2
> make: *** [Makefile:18: c] Error 2
> 
> 
> Thank you very much for all you help.
> Best regards,
> Bao Rong
> 
> [email protected]
>  
> From: Smith, Barry F.
> Date: 2019-07-02 12:47
> To: [email protected]
> CC: petsc-maint
> Subject: Re: [petsc-maint] Problems about PETSc installation on MS/Windows 
> with the additional packages: MUMPS, METIS, ParMETIS, ScaLAPACK, BLAS-LAPACK
>  
>   Please send
>  
> ls /cygdrive/c/metis-5.1.0/include
>  
> it is unable to find the metis.h file in that directory.
>  
>   Barry
>  
>  
> > On Jul 1, 2019, at 11:39 PM, rongbao--- via petsc-maint 
> > <[email protected]> wrote:
> >
> > Dear Satish,
> > Thank you very much for all your help. I installed metis/parmetis with 
> > '/MT'.
> > May be this petsc configure.log?
> > Thank you very much for all you help.
> > Best regards,
> > Bao Rong
> >
> > 发件人: Balay, Satish
> > 发送时间: 2019-07-02 12:00
> > 收件人: Smith, Barry F.
> > 抄送: [email protected]; petsc-maint
> > 主题: Re: [petsc-maint] Problems about PETSc installation on MS/Windows with 
> > the additional packages: MUMPS, METIS, ParMETIS, ScaLAPACK, BLAS-LAPACK
> > Make sure you've installed metis/parmetis with '/MT' or equivalent compiler 
> > option
> > 
> > Also its best if you can copy/paste the text from the terminal
> > [instead of screenshots of the terminal] - and also send configure.log
> > [or relevant log] as Barry indicated.
> > 
> > Satish
> > 
> > On Tue, 2 Jul 2019, Smith, Barry F. via petsc-maint wrote:
> > 
> > >
> > >   Send configure.log
> > >
> > >
> > > > On Jul 1, 2019, at 8:59 PM, [email protected] wrote:
> > > >
> > > > Dear PETSc Team, Barry and Satish,
> > > > Thank you very much for all your help. I have tried your valuable 
> > > > advices. According to your valuable advices, I open” Intel 64 Visual 
> > > > Studio 2017 environment”, and run cygwin terminal/bash-shell mintty.exe 
> > > > as: c:\cygwin\bin\mintty.exe. Then I run “cd /cygdrive/c/petsc”, and 
> > > > then run “./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' 
> > > > --with-cxx='win32fe cl' --download-fblaslapack”. It shows no problem as 
> > > > following picture, and thank you very much for all your help.
> > > > <InsertPic_.jpg>
> > > >
> > > > I also have another question. In fact, I want to complete PETSc 
> > > > installation with the following additional packages: MUMPS, METIS, 
> > > > ParMETIS, ScaLAPACK, BLAS-LAPACK. The recommended configuration command 
> > > > I obtained for PETSc is as following
> > > > ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' 
> > > > --with-cxx='win32fe cl' --download-fblaslapack --with-debugging=0 
> > > > --download-mumps --with-mpi-dir="/cygdrive/c/Program Files/MPICH2" 
> > > > --with-shared-libraries=0 --with-mpiexec='mpiexec --localonly' 
> > > > --useThreads=0 --download-scalapack 
> > > > --with-parmetis-include=/home/user/parmetis-4.0.3/include 
> > > > --with-parmetis-lib="/home/user/libs/parmetis.lib 
> > > > /home/user/libs/metis.lib" 
> > > > --with-metis-include="/home/user/metis-5.1.0/include" 
> > > > --with-metis-lib=/home/user/libs/metis.lib
> > > > In order to complete this PETSc installation, firstly I installed METIS 
> > > > and ParMETIS with VS2017 and CMake using a standard procedure. The 
> > > > building directories are “C:\metis-5.1.0” and “C:\parmetis-4.0.3”.
> > > > <InsertPic_6118.jpg>
> > > > <InsertPic_C6CE.jpg>
> > > > Then according to the above recommended configuration command, I made 
> > > > the following modification.
> > > > ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' 
> > > > --with-cxx='win32fe cl' --download-fblaslapack --with-debugging=0 
> > > > --download-mumps --with-mpi-dir="/cygdrive/c/Program Files/MPICH2" 
> > > > --with-shared-libraries=0 --with-mpiexec='mpiexec --localonly' 
> > > > --useThreads=0 --download-scalapack 
> > > > --with-parmetis-include="/cygdrive/c/parmetis-4.0.3/include" 
> > > > --with-parmetis-lib="/cygdrive/c/parmetis-4.0.3/libparmetis/Release/parmetis.lib
> > > >  /cygdrive/c/parmetis-4.0.3/libmetis/Release/metis.lib" 
> > > > --with-metis-include="/cygdrive/c/metis-5.1.0/include" 
> > > > --with-metis-lib="/cygdrive/c/metis-5.1.0/libmetis/Release/metis.lib"
> > > > Finally, I run this modified configuration command, and there are some 
> > > > problems as
> > > > <InsertPic_277A.jpg>
> > > >
> > > > I don’t not my installation steps and understanding is right or not? 
> > > > Would you kindly please tell me the correct installation steps or 
> > > > suggestions?
> > > > Thank you very much for all you help.
> > > > Best regards,
> > > > Bao Rong
> > > > ****************************************************
> > > > Bao Rong, Ph.D.
> > > > Hefei Institutes of Physical Science, Chinese Academy of Sciences
> > > > ADD: Institute of Plasma Physics, 350 Shushanhu Road,Hefei,Anhui,230031
> > > > Email: [email protected]; [email protected]
> > > > *****************************************************
> > > >
> > > >
> > > > 发件人: Balay, Satish
> > > > 发送时间: 2019-07-01 01:19
> > > > 收件人: [email protected]
> > > > 抄送: petsc-maint; Smith, Barry F.
> > > > 主题: Re: Re: [petsc-maint] Problems about PETSc installation on 
> > > > MS/Windows
> > > > Try:
> > > > 1. reboot the machine
> > > > [do not start any cygwin stuff - like mintty or bash or anything]
> > > > 2. re-run cygwin setup.exe to completion.
> > > > 3. redo the petsc build [via  the procedure below]
> > > >
> > > > Satish
> > > >
> > > > On Mon, 1 Jul 2019, [email protected] wrote:
> > > >
> > > > > Dear Barry and Satish,
> > > > > Thank you very much for all your help. I have tried all advices. Only 
> > > > > the following steps seem to be hopeful, although there are still 
> > > > > problems.
> > > > > (1) Start -> Programs -> Intel Parallel Studio XE 2019 -> Command 
> > > > > Prompt with Intel Compiler 19.0 Update 1 -> Intel 64 Visual Studio 
> > > > > 2017 environment. run cygwin terminal/bash-shell mintty.exe by using 
> > > > > “c:\cygwin\bin\mintty.exe”.
> > > > > I can obtain the following cygwin terminal/bash-shell
> > > > > (2) run “/usr/bin/bash --login” in the cygwin terminal/bash-shell as
> > > > > Then run “cd /cygdrive/c/petsc” and “./configure --with-cc='win32fe 
> > > > > cl' --with-fc='win32fe ifort' --with-cxx='win32fe cl' 
> > > > > --download-fblaslapack”. There are some problems as
> > > > >
> > > > > UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for 
> > > > > details):
> > > > > -------------------------------------------------------------------------------
> > > > > Error running make on 
> > > > > /cygdrive/c/petsc/arch-mswin-c-debug/externalpackages/fblaslapack-3.4.2:
> > > > >  Could not execute "['cd 
> > > > > /cygdrive/c/petsc/arch-mswin-c-debug/externalpackages/fblaslapack-3.4.2
> > > > >  && make -f tmpmakefile cleanblaslapck cleanlib && make -f 
> > > > > tmpmakefile']":
> > > > > /usr/bin/rm -f */*.o
> > > > > /usr/bin/rm -f ./*.a ./*.lib      0 [main] make 9498 
> > > > > child_info_fork::abort: \??\C:\cygwin\bin\cygiconv-2.dll: Loaded to 
> > > > > different address: parent(0x600000) != child(0x440000)
> > > > > make: fork: Resource temporarily unavailable
> > > > >       0 [main] make 9499 child_info_fork::abort: 
> > > > > \??\C:\cygwin\bin\cygiconv-2.dll: Loaded to different address: 
> > > > > parent(0x600000) != child(0x7A0000)
> > > > > make: fork: Resource temporarily unavailable
> > > > > (3) I also run “/usr/bin/ls /usr/bin”, and obtain some informations, 
> > > > > shown as in the appendix.
> > > > >
> > > > > I don't know how to solve these problems. Would you kindly please 
> > > > > tell me the mistakes?
> > > > > Thank you very much for all you help.
> > > > > Best regards,
> > > > > Bao Rong
> > > > > ****************************************************
> > > > > Bao Rong, Ph.D.
> > > > > Hefei Institutes of Physical Science, Chinese Academy of Sciences
> > > > > ADD: Institute of Plasma Physics, 350 Shushanhu 
> > > > > Road,Hefei,Anhui,230031
> > > > > Email: [email protected]; [email protected]
> > > > > *****************************************************
> > > > >
> > > > > From: Balay, Satish
> > > > > Date: 2019-06-30 14:02
> > > > > To: Smith, Barry F.
> > > > > CC: [email protected]; petsc-maint
> > > > > Subject: Re: [petsc-maint] Problems about PETSc installation on 
> > > > > MS/Windows
> > > > > After starting mintty.exe  - try:
> > > > >
> > > > > /usr/bin/bash --login
> > > > > [and then ./configure ...]
> > > > >
> > > > > Also - what do you have for:
> > > > >
> > > > > /usr/bin/ls /usr/bin
> > > > >
> > > > > Satish
> > > > >
> > > > > On Sun, 30 Jun 2019, Smith, Barry F. via petsc-maint wrote:
> > > > >
> > > > > >
> > > > > >   A quick inspection seems to indicate you are doing things 
> > > > > > correctly.
> > > > > >
> > > > > >   The message form ifort is fine. It just indicates no files were 
> > > > > > passed to it to compile.
> > > > > >
> > > > > >   Regarding the issue with not finding python. In your original 
> > > > > > shell you confirmed that python ran. But once you did
> > > > > >
> > > > > >  Start -> Programs -> Intel Parallel Studio XE 2019 -> Command 
> > > > > > Prompt with Intel Compiler 19.0 Update 1 -> Intel 64 Visual Studio 
> > > > > > 2017 environment.
> > > > > > run cygwin terminal/bash-shell mintty.exe
> > > > > >
> > > > > >   you did not check again that python worked. Please run python 
> > > > > > from this shell and confirm if it works. My guess is that it does 
> > > > > > not work. Which would explain why it was unable to run the 
> > > > > > ./configure  If python is not found you can try to run with the 
> > > > > > full path of python.
> > > > > >
> > > > > > c:\cygwin\bin\python
> > > > > >
> > > > > > or maybe
> > > > > >
> > > > > > c:\cygwin\bin\python.exe
> > > > > >
> > > > > > or maybe
> > > > > >
> > > > > > /cydrive/c/Python27/python.exe
> > > > > >
> > > > > >  or maybe something else, does either of those work? If you can run 
> > > > > > ./configure using the full python path, for example,
> > > > > >
> > > > > > c:\cygwin\bin\python ./configure --with-cc='win32fe cl' 
> > > > > > --with-fc='win32fe ifort' --with-cxx='win32fe cl' 
> > > > > > --download-fblaslapack
> > > > > >
> > > > > > does that work?
> > > > > >
> > > > > >
> > > > > >
> > > > > > Barry
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > > On Jun 29, 2019, at 8:43 PM, [email protected] wrote:
> > > > > > >
> > > > > > > Dear Barry,
> > > > > > > Thank you very much for all you help. I have changed the 
> > > > > > > PETSC_DIR as “c/petsc”.
> > > > > > > I have done the following two methods, but all of them have 
> > > > > > > problems.
> > > > > > > (1)     The first method
> > > > > > > I open Cygwin Terminal directly, and run “python”. It shows 
> > > > > > > “Python 2.7.16 (default, Mar 20 2019, 12:29:04) [GCC 7.4.0] on 
> > > > > > > Cygwin Type "help", "copyright", "credits" or "license" for more 
> > > > > > > information.”
> > > > > > > Then I run “python ./configure --with-cc='win32fe cl' 
> > > > > > > --with-fc='win32fe ifort' --with-cxx='win32fe cl' 
> > > > > > > --download-fblaslapack” or “python cygdrive/c/petsc/configure 
> > > > > > > --with-cc='win32fe cl' --with-fc='win32fe ifort' 
> > > > > > > --with-cxx='win32fe cl' --download-fblaslapack”. There are all 
> > > > > > > “SyntaxError: invalid syntax”.
> > > > > > > <InsertPic_.jpg>
> > > > > > > (2)     The second method
> > > > > > > I open” Intel 64 Visual Studio 2017 environment”, and run cygwin 
> > > > > > > terminal/bash-shell mintty.exe as: c:\cygwin\bin\mintty.exe. Then 
> > > > > > > run “python”, it shows “bash: python: command not found”.
> > > > > > > <InsertPic_.png>
> > > > > > > I also run “cl” and “ifort”. There is an error “ifort: command 
> > > > > > > line error: no files specified; for help type "ifort /help”.
> > > > > > > <InsertPic_3D20.png>
> > > > > > > I run “cd /cygdrive/c/petsc”, and then run “python ./configure 
> > > > > > > --with-cc='win32fe cl' --with-fc='win32fe ifort' 
> > > > > > > --with-cxx='win32fe cl' --download-fblaslapack
> > > > > > > ”. It shows “bash: python: command not found”.
> > > > > > > <InsertPic_881C.jpg>
> > > > > > > I don't know how to solve these problems. Would you kindly please 
> > > > > > > tell me the mistakes?
> > > > > > > Thank you very much for all you help.
> > > > > > > Best regards,
> > > > > > > Bao Rong
> > > > > > > ****************************************************
> > > > > > > Bao Rong, Ph.D.
> > > > > > > Hefei Institutes of Physical Science, Chinese Academy of Sciences
> > > > > > > ADD: Institute of Plasma Physics, 350 Shushanhu 
> > > > > > > Road,Hefei,Anhui,230031
> > > > > > > Email: [email protected]; [email protected]
> > > > > > > *****************************************************
> > > > > > >
> > > > > > > From: Smith, Barry F.
> > > > > > > Date: 2019-06-29 23:07
> > > > > > > To: [email protected]
> > > > > > > CC: petsc-maint
> > > > > > > Subject: Re: [petsc-maint] Problems about PETSc installation on 
> > > > > > > MS/Windows
> > > > > > >
> > > > > > >   Two things to do
> > > > > > >
> > > > > > > 1) don't have a space and "" in your PETSC_DIR so change the 
> > > > > > > directory name to have no spaces.
> > > > > > >
> > > > > > > 2) Run
> > > > > > >
> > > > > > > python ./configure --with-cc='win32fe cl' --with-fc='win32fe 
> > > > > > > ifort' --with-cxx='win32fe cl' --download-fblaslapack
> > > > > > >
> > > > > > >   Good luck,
> > > > > > >
> > > > > > >     Barry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > On Jun 29, 2019, at 9:06 AM, rongbao--- via petsc-maint 
> > > > > > > > <[email protected]> wrote:
> > > > > > > >
> > > > > > > > Dear PETSc Team,
> > > > > > > > I am a beginner of PETSc, and want to use PETSc on MS/Windows. 
> > > > > > > > I use win7, Visual Studio 2017, Intel Parallel Studio XE 2019, 
> > > > > > > > and petsc-3.11.2. According to Installation Guide 
> > > > > > > > (https://www.mcs.anl.gov/petsc/documentation/installation.html#windows),
> > > > > > > >  my Installation steps are as following.
> > > > > > > > (1) I download and install Cygwin (x86) from 
> > > > > > > > http://www.cygwin.com
> > > > > > > > (2) Remove Cygwin link.exe: [from cygwin terminal/bash-shell]:
> > > > > > > > mv /usr/bin/link.exe /usr/bin/link-cygwin.exe
> > > > > > > > <InsertPic_.jpg>
> > > > > > > > (3) Setup cygwin terminal/bash-shell with Working Compilers:
> > > > > > > > (3.1) Start -> Programs -> Intel Parallel Studio XE 2019 -> 
> > > > > > > > Command Prompt with Intel Compiler 19.0 Update 1 -> Intel 64 
> > > > > > > > Visual Studio 2017 environment.
> > > > > > > > run cygwin terminal/bash-shell mintty.exe as: 
> > > > > > > > c:\cygwin\bin\mintty.exe
> > > > > > > > <InsertPic_98D6.jpg>
> > > > > > > > (3.2) verify if the compilers are useable [by running cl, ifort 
> > > > > > > > in this cygwin terminal/bash-shell]
> > > > > > > > <InsertPic_7165.jpg>
> > > > > > > > There is an error as “ifort: command line error: no files 
> > > > > > > > specified”.
> > > > > > > > (4) run configure with win32fe and then build the libraries 
> > > > > > > > with make [as per the usual instructions]
> > > > > > > > cd /cygdrive/g/"CAE soft"/source/petsc-3.11.2
> > > > > > > > ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' 
> > > > > > > > --with-cxx='win32fe cl' --download-fblaslapack
> > > > > > > > <InsertPic_890E.jpg>
> > > > > > > > There is an error as “/usr/bin/env: 'python': No such file or 
> > > > > > > > directory”. But When I installed cygwin, I chose to install 
> > > > > > > > Python as
> > > > > > > > <InsertPic_.png>
> > > > > > > > Did I make any mistakes? I don't know how to solve these 
> > > > > > > > problems. Would you kindly please tell me where the mistake is, 
> > > > > > > > and help me complete the installation?
> > > > > > > > Thank you very much for all you help.
> > > > > > > > Best regards,
> > > > > > > > Bao Rong
> > > > > > > > ****************************************************
> > > > > > > > Bao Rong, Ph.D.
> > > > > > > > Hefei Institutes of Physical Science, Chinese Academy of 
> > > > > > > > Sciences
> > > > > > > > ADD: Institute of Plasma Physics, 350 Shushanhu 
> > > > > > > > Road,Hefei,Anhui,230031
> > > > > > > > Email: [email protected]; [email protected]
> > > > > > > > *****************************************************
> > > > > > > > <Thank you very nuch for your help.pdf>
> > > > > > >
> > > > > > > <Thank you very much for all your help.doc>
> > > > > >
> > > > > >
> > > > >
> > > > <PETSc installation with the additional packages.doc>
> > >
> > >
> > <configure.log>
>  
> <configure.log>

Reply via email to