Satish, This is the output:
$ ls /cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf/bfort-base.txt /cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf/bfort-base.txt Here is what the file contains: # Basic types in C and their Fortran equivalents native int integer native char character native double double precision native float real native short integer*2 native long native size_t native complex complex native dcomplex double precision complex # The default bfort definitions includes petsc. # For this version, to exclude the petsc definitions, # comment out this include include bfort-petsc.txt Hector On Thu, Jun 18, 2015 at 5:18 PM, Satish Balay <[email protected]> wrote: > What do you have for: > > ls /cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf/bfort-base.txt > > Satish > > On Thu, 18 Jun 2015, Hector E Barrios Molano wrote: > >> Hi Satish, >> >> attached is configure.log compressed >> >> On Thu, Jun 18, 2015 at 2:46 PM, Satish Balay <[email protected]> wrote: >> > Can you send configure.log? >> > >> > >> > Satish >> > >> > On Thu, 18 Jun 2015, Hector E Barrios Molano wrote: >> > >> >> Hi Satish and Matt, >> >> >> >> I just cloned it again and I'm still having the same problem: >> >> >> >> $ ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' >> >> --prefix=/cygdrive/c/Installed/petsc/ --PETSC_ARCH=windows-intel >> >> --with-parmetis-include=/cygdrive/c/Installed/parmetis/include >> >> --with-parmetis-lib=/cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> --with-metis-include=/cygdrive/c/Installed/parmetis/include >> >> --with-metis-lib=/cygdrive/c/Installed/parmetis/lib/metis.lib >> >> --with-mpi-include=[/cygdrive/c/Installed/msmpi/Include,/cygdrive/c/Installed/msmpi/Include/x64] >> >> --with-mpi-lib=[/cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib,/cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib] >> >> --with-blas-lapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_lp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib] >> >> --with-scalapack-include=/cygdrive/c/Installed/mkl/include >> >> --with-scalapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_lp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_lp64.lib] >> >> =============================================================================== >> >> Configuring PETSc to compile on your system >> >> =============================================================================== >> >> =============================================================================== >> >> >> >> >> >> *****WARNING: >> >> PETSC_DIR appears to be a Git clone - but git is not found in >> >> PATH******** >> >> >> >> >> >> =============================================================================== >> >> >> >> =============================================================================== >> >> Trying to >> >> download >> >> http://ftp.mcs.anl.gov/pub/petsc/externalpackages/sowing-1.1.17-p1.tar.gz >> >> for SOWING >> >> =============================================================================== >> >> >> >> =============================================================================== >> >> Running >> >> configure on SOWING; this may take several minutes >> >> >> >> =============================================================================== >> >> >> >> =============================================================================== >> >> Running >> >> make on SOWING; this may take several minutes >> >> >> >> =============================================================================== >> >> >> >> =============================================================================== >> >> Running >> >> make install on SOWING; this may take several minutes >> >> >> >> =============================================================================== >> >> TESTING: >> >> checkSharedLibrary from >> >> config.packages.sowing(config/BuildSystem/config/package.py:625) >> >> >> >> ******************************************************************************* >> >> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log >> >> for details): >> >> ------------------------------------------------------------------------------- >> >> *******Error generating Fortran stubs: Error running bfort >> >> cd /cygdrive/c/Installed/petsc-dev/petsc/include; >> >> BFORT_CONFIG_PATH=/cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf >> >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/bin/bfort -dir >> >> /cygdrive/c/Installed/petsc-dev/petsc/include/ftn-auto -mnative -ansi >> >> -nomsgs -noprofile -anyname -mapptr -mpi -mpi2 -ferr -ptrprefix Petsc >> >> -ptr64 PETSC_USE_POINTER_CONVERSION -fcaps PETSC_HAVE_FORTRAN_CAPS >> >> -fuscore PETSC_HAVE_FORTRAN_UNDERSCORE -f90mod_skip_header -f90modfile >> >> f90module.f90 petsc.h petscao.h petscbag.h petscblaslapack.h >> >> petscblaslapack_c.h petscblaslapack_caps.h petscblaslapack_stdcall.h >> >> petscblaslapack_uscore.h petscbt.h petsccharacteristic.h petscctable.h >> >> petsccusp.h petscdm.h petscdmcomposite.h petscdmda.h petscdmdatypes.h >> >> petscdmmoab.h petscdmnetwork.h petscdmpatch.h petscdmplex.h >> >> petscdmredundant.h petscdmshell.h petscdmsliced.h petscdmtypes.h >> >> petscdraw.h petscdrawtypes.h petscds.h petscdstypes.h petscdt.h >> >> petscerror.h petscfe.h petscfetypes.h petscfv.h petscfvtypes.h >> >> petscis.h petscistypes.h petscksp.h petsclog.h petscmat.h >> >> petscmatelemental.h petscmath.h petscmatlab.h petscoptions.h petscpc.h >> >> petscpctypes.h petscpf.h petscsf.h petscsftypes.h petscsnes.h >> >> petscsys.h petsctao.h petsctaolinesearch.h petsctime.h petscts.h >> >> petscvalgrind.h petscvec.h petscversion.h petscviennacl.h >> >> petscviewer.h petscviewerhdf5.h petscviewersaws.h petscviewertypes.h >> >> petscwebclient.h >> >> Testing path as file /cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf >> >> Testing file >> >> /cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf/bfort-base.txt >> >> Testing file /cygdrive/c/Installed/petsc-dev/petsc/include/bfort-base.txt >> >> Testing path as file >> >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/share >> >> Testing file >> >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/share/bfort-base.txt >> >> Testing file /cygdrive/c/Installed/petsc-dev/petsc/include/bfort-base.txt >> >> Unable to find bfort-base.txt config file in >> >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/share******* >> >> ******************************************************************************* >> >> >> >> >> >> Hector >> >> >> >> On Thu, Jun 18, 2015 at 1:46 PM, Satish Balay <[email protected]> wrote: >> >> > On Thu, 18 Jun 2015, Matthew Knepley wrote: >> >> > >> >> >> On Thu, Jun 18, 2015 at 12:09 PM, Hector E Barrios Molano < >> >> >> [email protected]> wrote: >> >> >> >> >> >> > yes I cloned it from git. >> >> >> > >> >> >> >> >> >> There appears to be a problem with your clone. Can you clone it again? >> >> > >> >> > The following is equivalent to a fresh clone [without needing the extra >> >> > network traffic] >> >> > >> >> > rm -rf arch* >> >> > git clean -f -d -x >> >> > >> >> > Satish >> >> > >> >> > >> >> >> >> >> >> Thanks, >> >> >> >> >> >> Matt >> >> >> >> >> >> >> >> >> > On Thu, Jun 18, 2015 at 12:06 PM, Matthew Knepley <[email protected]> >> >> >> > wrote: >> >> >> > > On Thu, Jun 18, 2015 at 11:57 AM, Hector E Barrios Molano >> >> >> > > <[email protected]> wrote: >> >> >> > >> >> >> >> > >> Hi Satish, >> >> >> > >> >> >> >> > >> Now I'm getting this error. Why its trying to use "bfort"? >> >> >> > > >> >> >> > > >> >> >> > > When using a clone, it tries to run 'bfort'. Are you trying to use >> >> >> > > a >> >> >> > clone? >> >> >> > > >> >> >> > > Thanks, >> >> >> > > >> >> >> > > Matt >> >> >> > > >> >> >> > >> >> >> >> > >> Thank you, >> >> >> > >> >> >> >> > >> >> >> >> > >> $ ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' >> >> >> > >> --prefix=/cygdrive/c/Installed/petsc/ --PETSC_ARCH=windows-intel >> >> >> > >> --with-parmetis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> --with-parmetis-lib=/cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> --with-metis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> --with-metis-lib=/cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> >> > >> >> >> >> > --with-mpi-include=[/cygdrive/c/Installed/msmpi/Include,/cygdrive/c/Installed/msmpi/Include/x64] >> >> >> > >> >> >> >> > >> >> >> >> > --with-mpi-lib=[/cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib,/cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib] >> >> >> > >> >> >> >> > >> >> >> >> > --with-blas-lapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_lp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib] >> >> >> > >> --with-scalapack-include=/cygdrive/c/Installed/mkl/include >> >> >> > >> >> >> >> > >> >> >> >> > --with-scalapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_lp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_lp64.lib] >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> Configuring PETSc to compile on your system >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> > >> >> >> >> > >> *****WARNING: >> >> >> > >> PETSC_DIR appears to be a Git clone - but git is not found in >> >> >> > >> PATH******** >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> Running >> >> >> > >> configure on SOWING; this may take several minutes >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> Running >> >> >> > >> make on SOWING; this may take several minutes >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> Running >> >> >> > >> make install on SOWING; this may take several minutes >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > =============================================================================== >> >> >> > >> TESTING: >> >> >> > >> checkSharedLibrary from >> >> >> > >> config.packages.sowing(config/BuildSystem/config/package.py:625) >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > ******************************************************************************* >> >> >> > >> UNABLE to CONFIGURE with GIVEN OPTIONS (see >> >> >> > >> configure.log >> >> >> > >> for details): >> >> >> > >> >> >> >> > >> >> >> >> > ------------------------------------------------------------------------------- >> >> >> > >> *******Error generating Fortran stubs: Error running bfort >> >> >> > >> cd /cygdrive/c/Installed/petsc-dev/petsc/include; >> >> >> > >> BFORT_CONFIG_PATH=/cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf >> >> >> > >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/bin/bfort -dir >> >> >> > >> /cygdrive/c/Installed/petsc-dev/petsc/include/ftn-auto -mnative >> >> >> > >> -ansi >> >> >> > >> -nomsgs -noprofile -anyname -mapptr -mpi -mpi2 -ferr -ptrprefix >> >> >> > >> Petsc >> >> >> > >> -ptr64 PETSC_USE_POINTER_CONVERSION -fcaps PETSC_HAVE_FORTRAN_CAPS >> >> >> > >> -fuscore PETSC_HAVE_FORTRAN_UNDERSCORE -f90mod_skip_header >> >> >> > >> -f90modfile >> >> >> > >> f90module.f90 petsc.h petscao.h petscbag.h petscblaslapack.h >> >> >> > >> petscblaslapack_c.h petscblaslapack_caps.h >> >> >> > >> petscblaslapack_stdcall.h >> >> >> > >> petscblaslapack_uscore.h petscbt.h petsccharacteristic.h >> >> >> > >> petscctable.h >> >> >> > >> petsccusp.h petscdm.h petscdmcomposite.h petscdmda.h >> >> >> > >> petscdmdatypes.h >> >> >> > >> petscdmmoab.h petscdmnetwork.h petscdmpatch.h petscdmplex.h >> >> >> > >> petscdmredundant.h petscdmshell.h petscdmsliced.h petscdmtypes.h >> >> >> > >> petscdraw.h petscdrawtypes.h petscds.h petscdstypes.h petscdt.h >> >> >> > >> petscerror.h petscfe.h petscfetypes.h petscfv.h petscfvtypes.h >> >> >> > >> petscis.h petscistypes.h petscksp.h petsclog.h petscmat.h >> >> >> > >> petscmatelemental.h petscmath.h petscmatlab.h petscoptions.h >> >> >> > >> petscpc.h >> >> >> > >> petscpctypes.h petscpf.h petscsf.h petscsftypes.h petscsnes.h >> >> >> > >> petscsys.h petsctao.h petsctaolinesearch.h petsctime.h petscts.h >> >> >> > >> petscvalgrind.h petscvec.h petscversion.h petscviennacl.h >> >> >> > >> petscviewer.h petscviewerhdf5.h petscviewersaws.h >> >> >> > >> petscviewertypes.h >> >> >> > >> petscwebclient.h >> >> >> > >> Testing path as file >> >> >> > /cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf >> >> >> > >> Testing file >> >> >> > >> /cygdrive/c/Installed/petsc-dev/petsc/lib/petsc/conf/bfort-base.txt >> >> >> > >> Testing file >> >> >> > /cygdrive/c/Installed/petsc-dev/petsc/include/bfort-base.txt >> >> >> > >> Testing path as file >> >> >> > >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/share >> >> >> > >> Testing file >> >> >> > >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/share/bfort-base.txt >> >> >> > >> Testing file >> >> >> > /cygdrive/c/Installed/petsc-dev/petsc/include/bfort-base.txt >> >> >> > >> Unable to find bfort-base.txt config file in >> >> >> > >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/share******* >> >> >> > >> >> >> >> > >> >> >> >> > ******************************************************************************* >> >> >> > >> >> >> >> > >> Hector >> >> >> > >> >> >> >> > >> On Wed, Jun 17, 2015 at 5:16 PM, Satish Balay <[email protected]> >> >> >> > wrote: >> >> >> > >> > Hm - perhaps you have a different 'find' command in your path. >> >> >> > >> > What do >> >> >> > >> > you have for: >> >> >> > >> > >> >> >> > >> > which find >> >> >> > >> > >> >> >> > >> > Try: >> >> >> > >> > >> >> >> > >> > export PATH=/usr/bin:${PATH} >> >> >> > >> > >> >> >> > >> > and rerun configure >> >> >> > >> > >> >> >> > >> > We should look at replacing all shell code with python >> >> >> > >> > equivalent.. >> >> >> > >> > >> >> >> > >> > Satish >> >> >> > >> > >> >> >> > >> > On Wed, 17 Jun 2015, Hector E Barrios Molano wrote: >> >> >> > >> > >> >> >> > >> >> Hi Satish, >> >> >> > >> >> >> >> >> > >> >> Taking out --with-sowing=0 gives me: >> >> >> > >> >> >> >> >> > >> >> $ ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' >> >> >> > >> >> --prefix=/cygdrive/c/Installed/petsc/ >> >> >> > >> >> --PETSC_ARCH=windows-intel >> >> >> > >> >> --with-parmetis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> --with-parmetis-lib=/cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> >> --with-metis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> --with-metis-lib=/cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> >> >> > >> >> >> >> >> > --with-mpi-include=[/cygdrive/c/Installed/msmpi/Include,/cygdrive/c/Installed/msmpi/Include/x64] >> >> >> > >> >> >> >> >> > >> >> >> >> >> > --with-mpi-lib=[/cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib,/cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib] >> >> >> > >> >> >> >> >> > >> >> >> >> >> > --with-blas-lapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_lp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib] >> >> >> > >> >> --with-scalapack-include=/cygdrive/c/Installed/mkl/include >> >> >> > >> >> >> >> >> > >> >> >> >> >> > --with-scalapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_lp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_lp64.lib] >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> Configuring PETSc to compile on your system >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> *****WARNING: >> >> >> > >> >> PETSC_DIR appears to be a Git clone - but git is not found in >> >> >> > >> >> PATH******** >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> >> > >> >> Trying to >> >> >> > >> >> download >> >> >> > >> >> >> >> >> > http://ftp.mcs.anl.gov/pub/petsc/externalpackages/sowing-1.1.17-p1.tar.gz >> >> >> > >> >> for SOWING >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> >> > >> >> Trying to >> >> >> > >> >> download >> >> >> > >> >> >> >> >> > ftp://ftp.mcs.anl.gov/pub/petsc/externalpackages/sowing-1.1.17-p1.tar.gz >> >> >> > >> >> for SOWING >> >> >> > >> >> >> >> >> > >> >> >> >> >> > =============================================================================== >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > ******************************************************************************* >> >> >> > >> >> UNABLE to CONFIGURE with GIVEN OPTIONS (see >> >> >> > >> >> configure.log >> >> >> > >> >> for details): >> >> >> > >> >> >> >> >> > >> >> >> >> >> > ------------------------------------------------------------------------------- >> >> >> > >> >> Error changing permissions for sowing-1.1.17-p1 obtained from >> >> >> > >> >> >> >> >> > >> >> >> >> >> > /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/externalpackages/_d_sowing-1.1.17-p1.tar.gz >> >> >> > >> >> : Could not execute "cd >> >> >> > >> >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/externalpackages; >> >> >> > >> >> chmod -R a+r sowing-1.1.17-p1;find sowing-1.1.17-p1 -type d >> >> >> > >> >> -name >> >> >> > "*" >> >> >> > >> >> -exec chmod a+rx {} \;": >> >> >> > >> >> FIND: Parameter format not correct >> >> >> > >> >> Error changing permissions for sowing-1.1.17-p1 obtained from >> >> >> > >> >> >> >> >> > >> >> >> >> >> > /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/externalpackages/_d_sowing-1.1.17-p1.tar.gz >> >> >> > >> >> : Could not execute "cd >> >> >> > >> >> /cygdrive/c/Installed/petsc-dev/petsc/windows-intel/externalpackages; >> >> >> > >> >> chmod -R a+r sowing-1.1.17-p1;find sowing-1.1.17-p1 -type d >> >> >> > >> >> -name >> >> >> > "*" >> >> >> > >> >> -exec chmod a+rx {} \;": >> >> >> > >> >> FIND: Parameter format not correct >> >> >> > >> >> >> >> >> > >> >> >> >> >> > ******************************************************************************* >> >> >> > >> >> >> >> >> > >> >> On Wed, Jun 17, 2015 at 3:36 PM, Satish Balay >> >> >> > >> >> <[email protected]> >> >> >> > >> >> wrote: >> >> >> > >> >> >> --with-sowing=0 >> >> >> > >> >> > >> >> >> > >> >> > 1. make sure you have cygwin gcc/g++ installed. >> >> >> > >> >> > 2. configure PETSc without the above option [and rebuild the >> >> >> > >> >> > libraries] >> >> >> > >> >> > >> >> >> > >> >> > Satish >> >> >> > >> >> > >> >> >> > >> >> > On Wed, 17 Jun 2015, Hector E Barrios Molano wrote: >> >> >> > >> >> > >> >> >> > >> >> >> Hi Satish, >> >> >> > >> >> >> >> >> >> > >> >> >> Thank you! It solved some errors. However, I'm still having >> >> >> > problems >> >> >> > >> >> >> with the Fortran test. >> >> >> > >> >> >> >> >> >> > >> >> >> $ make PETSC_DIR=/cygdrive/c/Installed/petsc-dev/petsc >> >> >> > >> >> >> PETSC_ARCH=windows-intel test >> >> >> > >> >> >> Running test examples to verify correct installation >> >> >> > >> >> >> Using PETSC_DIR=/cygdrive/c/Installed/petsc-dev/petsc and >> >> >> > >> >> >> PETSC_ARCH=windows-intel >> >> >> > >> >> >> C/C++ example src/snes/examples/tutorials/ex19 run >> >> >> > >> >> >> successfully >> >> >> > with >> >> >> > >> >> >> 1 >> >> >> > >> >> >> MPI process >> >> >> > >> >> >> C/C++ example src/snes/examples/tutorials/ex19 run >> >> >> > >> >> >> successfully >> >> >> > with >> >> >> > >> >> >> 2 >> >> >> > >> >> >> MPI processes >> >> >> > >> >> >> *******************Error detected during compile or >> >> >> > >> >> >> link!******************* >> >> >> > >> >> >> See http://www.mcs.anl.gov/petsc/documentation/faq.html >> >> >> > >> >> >> /cygdrive/c/Installed/petsc-dev/petsc/src/snes/examples/tutorials >> >> >> > >> >> >> ex5f >> >> >> > >> >> >> ********************************************************* >> >> >> > >> >> >> /cygdrive/c/Installed/petsc-dev/petsc/bin/win32fe/win32fe >> >> >> > >> >> >> ifort -c >> >> >> > >> >> >> -MT -Z7 -fpp >> >> >> > >> >> >> -I/cygdrive/c/Installed/petsc-dev/petsc/include >> >> >> > >> >> >> -I/cygdrive/c/Installed/petsc-dev/petsc/windows-intel/include >> >> >> > >> >> >> -I/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> -I/cygdrive/c/Installed/msmpi/Include >> >> >> > >> >> >> -I/cygdrive/c/Installed/msmpi/Include/x64 -o ex5f.o >> >> >> > >> >> >> ex5f.F >> >> >> > >> >> >> /cygdrive/c/Installed/petsc-dev/petsc/bin/win32fe/win32fe >> >> >> > >> >> >> ifort >> >> >> > -MT >> >> >> > >> >> >> -Z7 -fpp -o ex5f ex5f.o >> >> >> > >> >> >> -L/cygdrive/c/Installed/petsc-dev/petsc/windows-intel/lib >> >> >> > >> >> >> -lpetsc >> >> >> > >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_lp64.lib >> >> >> > >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_lp64.lib >> >> >> > >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_lp64.lib >> >> >> > >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib >> >> >> > >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib >> >> >> > >> >> >> /cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> >> >> /cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> /cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib >> >> >> > >> >> >> /cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib Gdi32.lib >> >> >> > >> >> >> User32.lib >> >> >> > >> >> >> Advapi32.lib Kernel32.lib Ws2_32.lib >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> SNESCREATE >> >> >> > >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> DMCREATEGLOBALVECTOR referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> VECDUPLICATE >> >> >> > >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > DMDAGETCORNERS >> >> >> > >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> DMDAGETGHOSTCORNERS referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> SNESSETDM >> >> >> > >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> SNESSETFROMOPTIONS referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> SNESGETITERATIONNUMBER referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> VECDESTROY >> >> >> > >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> SNESDESTROY >> >> >> > >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> DMDESTROY >> >> >> > >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> MATSETVALUESLOCAL >> >> >> > >> >> >> referenced in function FORMJACOBIANLOCAL >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> MATASSEMBLYBEGIN >> >> >> > >> >> >> referenced in function FORMJACOBIANLOCAL >> >> >> > >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > MATASSEMBLYEND >> >> >> > >> >> >> referenced in function FORMJACOBIANLOCAL >> >> >> > >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\examples\TUTORI~1\ex5f.exe >> >> >> > >> >> >> : >> >> >> > >> >> >> fatal >> >> >> > >> >> >> error LNK1120: 14 unresolved externals >> >> >> > >> >> >> makefile:50: recipe for target 'ex5f' failed >> >> >> > >> >> >> make[3]: [ex5f] Error 96 (ignored) >> >> >> > >> >> >> /usr/bin/rm -f ex5f.o >> >> >> > >> >> >> Completed test examples >> >> >> > >> >> >> ========================================= >> >> >> > >> >> >> Now to evaluate the computer systems you plan use - do: >> >> >> > >> >> >> make PETSC_DIR=/cygdrive/c/Installed/petsc-dev/petsc >> >> >> > >> >> >> PETSC_ARCH=windows-intel streams NPMAX=<number of MPI >> >> >> > >> >> >> processes >> >> >> > you >> >> >> > >> >> >> intend to use> >> >> >> > >> >> >> >> >> >> > >> >> >> On Wed, Jun 17, 2015 at 3:01 PM, Satish Balay >> >> >> > >> >> >> <[email protected]> >> >> >> > >> >> >> wrote: >> >> >> > >> >> >> > /cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_ilp64.lib >> >> >> > >> >> >> > >> >> >> > >> >> >> > This is the wrong version of MKL. You should look for lp64 >> >> >> > variant >> >> >> > >> >> >> > [not ilp64] >> >> >> > >> >> >> > >> >> >> > >> >> >> > [you can just edit >> >> >> > >> >> >> > PETSC_DIR/PETSC_ARCH/lib/petsc/conf/petscvariables and >> >> >> > >> >> >> > make this >> >> >> > >> >> >> > change manually - and retry compiling the example] >> >> >> > >> >> >> > >> >> >> > >> >> >> > Satish >> >> >> > >> >> >> > >> >> >> > >> >> >> > On Wed, 17 Jun 2015, Hector E Barrios Molano wrote: >> >> >> > >> >> >> > >> >> >> > >> >> >> >> Hi PETSc Experts! >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> I'm trying to build PETSc on a Windows machine, I got >> >> >> > >> >> >> >> errors >> >> >> > >> >> >> >> during >> >> >> > >> >> >> >> the test part. I downloaded petsc-dev from git. >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> This are my configuration command: >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> $ ./configure --with-cc='win32fe cl' --with-fc='win32fe >> >> >> > >> >> >> >> ifort' >> >> >> > >> >> >> >> --prefix=/cygdrive/c/Installed/petsc/ >> >> >> > --PETSC_ARCH=windows-intel >> >> >> > >> >> >> >> --with-parmetis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-parmetis-lib=/cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> >> >> >> --with-metis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> --with-metis-lib=/cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-include=[/cygdrive/c/Installed/msmpi/Include,/cygdrive/c/Installed/msmpi/Include/x64] >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-lib=[/cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib,/cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib] >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-blas-lapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib] >> >> >> > >> >> >> >> --with-scalapack-include=/cygdrive/c/Installed/mkl/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-scalapack-lib=[/cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_ilp64.lib] >> >> >> > >> >> >> >> --with-sowing=0 >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> I was able con configure and compile: >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> make PETSC_DIR=/cygdrive/c/Installed/petsc-dev/petsc >> >> >> > >> >> >> >> PETSC_ARCH=windows-intel all >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> However, when testing I got these errors: >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> $ make PETSC_DIR=/cygdrive/c/Installed/petsc-dev/petsc >> >> >> > >> >> >> >> PETSC_ARCH=windows-intel test >> >> >> > >> >> >> >> Running test examples to verify correct installation >> >> >> > >> >> >> >> Using PETSC_DIR=/cygdrive/c/Installed/petsc-dev/petsc and >> >> >> > >> >> >> >> PETSC_ARCH=windows-intel >> >> >> > >> >> >> >> Possible error running C/C++ >> >> >> > >> >> >> >> src/snes/examples/tutorials/ex19 >> >> >> > >> >> >> >> with 1 MPI process >> >> >> > >> >> >> >> See http://www.mcs.anl.gov/petsc/documentation/faq.html >> >> >> > >> >> >> >> lid velocity = 0.0016, prandtl # = 1, grashof # = 1 >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > ------------------------------------------------------------------------ >> >> >> > >> >> >> >> [0]PETSC ERROR: Caught signal number 11 SEGV: >> >> >> > >> >> >> >> Segmentation >> >> >> > >> >> >> >> Violation, >> >> >> > >> >> >> >> probably memory access out of range >> >> >> > >> >> >> >> [0]PETSC ERROR: Try option -start_in_debugger or >> >> >> > >> >> >> >> -on_error_attach_debugger >> >> >> > >> >> >> >> [0]PETSC ERROR: or see >> >> >> > >> >> >> >> http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind >> >> >> > >> >> >> >> [0]PETSC ERROR: or try http://valgrind.org on GNU/linux >> >> >> > >> >> >> >> and >> >> >> > Apple >> >> >> > >> >> >> >> Mac >> >> >> > >> >> >> >> OS X to find memory corruption errors >> >> >> > >> >> >> >> [0]PETSC ERROR: likely location of problem given in >> >> >> > >> >> >> >> stack below >> >> >> > >> >> >> >> [0]PETSC ERROR: --------------------- Stack Frames >> >> >> > >> >> >> >> ------------------------------------ >> >> >> > >> >> >> >> [0]PETSC ERROR: Note: The EXACT line numbers in the >> >> >> > >> >> >> >> stack are >> >> >> > not >> >> >> > >> >> >> >> available, >> >> >> > >> >> >> >> [0]PETSC ERROR: INSTEAD the line number of the >> >> >> > >> >> >> >> start of >> >> >> > the >> >> >> > >> >> >> >> function >> >> >> > >> >> >> >> [0]PETSC ERROR: is given. >> >> >> > >> >> >> >> [0]PETSC ERROR: [0] VecNorm_Seq line 240 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\vec\vec\impls\seq\bvec2.c >> >> >> > >> >> >> >> [0]PETSC ERROR: [0] VecNorm line 228 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\vec\vec\INTERF~1\rvector.c >> >> >> > >> >> >> >> [0]PETSC ERROR: [0] SNESSolve_NEWTONLS line 150 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\impls\ls\ls.c >> >> >> > >> >> >> >> [0]PETSC ERROR: [0] SNESSolve line 3847 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\INTERF~1\snes.c >> >> >> > >> >> >> >> [0]PETSC ERROR: [0] main line 108 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\examples\TUTORI~1\ex19.c >> >> >> > >> >> >> >> [0]PETSC ERROR: --------------------- Error Message >> >> >> > >> >> >> >> -------------------------------------------------------------- >> >> >> > >> >> >> >> [0]PETSC ERROR: Signal received >> >> >> > >> >> >> >> [0]PETSC ERROR: See >> >> >> > >> >> >> >> http://www.mcs.anl.gov/petsc/documentation/faq.html for >> >> >> > trouble >> >> >> > >> >> >> >> shooting. >> >> >> > >> >> >> >> [0]PETSC ERROR: Petsc Development GIT revision: unknown >> >> >> > >> >> >> >> GIT >> >> >> > >> >> >> >> Date: unknown >> >> >> > >> >> >> >> [0]PETSC ERROR: ./ex19 on a windows-intel named >> >> >> > >> >> >> >> HECTOR-PC by >> >> >> > >> >> >> >> hector >> >> >> > >> >> >> >> Wed Jun 17 14:21:38 2015 >> >> >> > >> >> >> >> [0]PETSC ERROR: Configure options --with-cc="win32fe cl" >> >> >> > >> >> >> >> --with-fc="win32fe ifort" >> >> >> > >> >> >> >> --prefix=/cygdrive/c/Installed/petsc/ >> >> >> > >> >> >> >> --PETSC_ARCH=windows-intel >> >> >> > >> >> >> >> --with-parmetis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-parmetis-lib=/cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> >> >> >> --with-metis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> --with-metis-lib=/cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-include="[/cygdrive/c/Installed/msmpi/Include,/cygdrive/c/Installed/msmpi/Include/x64]" >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-lib="[/cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib,/cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib]" >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-blas-lapack-lib="[/cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib]" >> >> >> > >> >> >> >> --with-scalapack-include=/cygdrive/c/Installed/mkl/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-scalapack-lib="[/cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_ilp64.lib]" >> >> >> > >> >> >> >> --with-sowing=0 >> >> >> > >> >> >> >> [0]PETSC ERROR: #1 User provided function() line 0 in >> >> >> > >> >> >> >> unknown >> >> >> > >> >> >> >> file >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> job aborted: >> >> >> > >> >> >> >> [ranks] message >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> [0] application aborted >> >> >> > >> >> >> >> aborting MPI_COMM_WORLD (comm=0x44000000), error 59, >> >> >> > >> >> >> >> comm rank >> >> >> > 0 >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> ---- error analysis ----- >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> [0] on hector-PC >> >> >> > >> >> >> >> ./ex19 aborted the job. abort code 59 >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> ---- error analysis ----- >> >> >> > >> >> >> >> Possible error running C/C++ >> >> >> > >> >> >> >> src/snes/examples/tutorials/ex19 >> >> >> > >> >> >> >> with 2 >> >> >> > >> >> >> >> MPI processes >> >> >> > >> >> >> >> See http://www.mcs.anl.gov/petsc/documentation/faq.html >> >> >> > >> >> >> >> lid velocity = 0.0016, prandtl # = 1, grashof # = 1 >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > ------------------------------------------------------------------------ >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > ------------------------------------------------------------------------ >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> Caught signal number 11 SEGV: Segmentation Violation, >> >> >> > >> >> >> >> probably >> >> >> > >> >> >> >> memory >> >> >> > >> >> >> >> access out of range >> >> >> > >> >> >> >> Caught signal number 11 SEGV: Segmentation Violation, >> >> >> > >> >> >> >> probably >> >> >> > >> >> >> >> memory >> >> >> > >> >> >> >> access out of range >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> Try option -start_in_debugger or >> >> >> > >> >> >> >> -on_error_attach_debugger >> >> >> > >> >> >> >> Try option -start_in_debugger or >> >> >> > >> >> >> >> -on_error_attach_debugger >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> or see >> >> >> > >> >> >> >> http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind >> >> >> > >> >> >> >> or see >> >> >> > >> >> >> >> http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> or try http://valgrind.org on GNU/linux and Apple Mac OS >> >> >> > >> >> >> >> X to >> >> >> > >> >> >> >> find >> >> >> > >> >> >> >> memory corruption errors >> >> >> > >> >> >> >> or try http://valgrind.org on GNU/linux and Apple Mac OS >> >> >> > >> >> >> >> X to >> >> >> > >> >> >> >> find >> >> >> > >> >> >> >> memory corruption errors >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> likely location of problem given in stack below >> >> >> > >> >> >> >> likely location of problem given in stack below >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> --------------------- Stack Frames >> >> >> > >> >> >> >> ------------------------------------ >> >> >> > >> >> >> >> --------------------- Stack Frames >> >> >> > >> >> >> >> ------------------------------------ >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> Note: The EXACT line numbers in the stack are not >> >> >> > >> >> >> >> available, >> >> >> > >> >> >> >> Note: The EXACT line numbers in the stack are not >> >> >> > >> >> >> >> available, >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> INSTEAD the line number of the start of the >> >> >> > >> >> >> >> function >> >> >> > >> >> >> >> INSTEAD the line number of the start of the >> >> >> > >> >> >> >> function >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> is given. >> >> >> > >> >> >> >> is given. >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> [0] VecNorm_MPI line 57 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\vec\vec\impls\mpi\pvec2.c >> >> >> > >> >> >> >> [1] VecNorm_MPI line 57 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\vec\vec\impls\mpi\pvec2.c >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> [0] VecNorm line 228 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\vec\vec\INTERF~1\rvector.c >> >> >> > >> >> >> >> [1] VecNorm line 228 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\vec\vec\INTERF~1\rvector.c >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> [0] SNESSolve_NEWTONLS line 150 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\impls\ls\ls.c >> >> >> > >> >> >> >> [1] SNESSolve_NEWTONLS line 150 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\impls\ls\ls.c >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> [0] SNESSolve line 3847 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\INTERF~1\snes.c >> >> >> > >> >> >> >> [1] SNESSolve line 3847 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\INTERF~1\snes.c >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> [0] main line 108 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\examples\TUTORI~1\ex19.c >> >> >> > >> >> >> >> [1] main line 108 >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\examples\TUTORI~1\ex19.c >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> --------------------- Error Message >> >> >> > >> >> >> >> -------------------------------------------------------------- >> >> >> > >> >> >> >> --------------------- Error Message >> >> >> > >> >> >> >> -------------------------------------------------------------- >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> Signal received >> >> >> > >> >> >> >> Signal received >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> See http://www.mcs.anl.gov/petsc/documentation/faq.html >> >> >> > >> >> >> >> for >> >> >> > >> >> >> >> trouble shooting. >> >> >> > >> >> >> >> See http://www.mcs.anl.gov/petsc/documentation/faq.html >> >> >> > >> >> >> >> for >> >> >> > >> >> >> >> trouble shooting. >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> Petsc Development GIT revision: unknown GIT Date: >> >> >> > >> >> >> >> unknown >> >> >> > >> >> >> >> Petsc Development GIT revision: unknown GIT Date: >> >> >> > >> >> >> >> unknown >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> ./ex19 on a windows-intel named HECTOR-PC by hector Wed >> >> >> > >> >> >> >> Jun 17 >> >> >> > >> >> >> >> 14:21:38 2015 >> >> >> > >> >> >> >> ./ex19 on a windows-intel named HECTOR-PC by hector Wed >> >> >> > >> >> >> >> Jun 17 >> >> >> > >> >> >> >> 14:21:38 2015 >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> Configure options --with-cc="win32fe cl" >> >> >> > >> >> >> >> --with-fc="win32fe >> >> >> > >> >> >> >> ifort" >> >> >> > >> >> >> >> --prefix=/cygdrive/c/Installed/petsc/ >> >> >> > --PETSC_ARCH=windows-intel >> >> >> > >> >> >> >> --with-parmetis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-parmetis-lib=/cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> >> >> >> --with-metis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> --with-metis-lib=/cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-include="[/cygdrive/c/Installed/msmpi/Include,/cygdrive/c/Installed/msmpi/Include/x64]" >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-lib="[/cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib,/cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib]" >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-blas-lapack-lib="[/cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib]" >> >> >> > >> >> >> >> --with-scalapack-include=/cygdrive/c/Installed/mkl/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-scalapack-lib="[/cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_ilp64.lib]" >> >> >> > >> >> >> >> --with-sowing=0 >> >> >> > >> >> >> >> Configure options --with-cc="win32fe cl" >> >> >> > >> >> >> >> --with-fc="win32fe >> >> >> > >> >> >> >> ifort" >> >> >> > >> >> >> >> --prefix=/cygdrive/c/Installed/petsc/ >> >> >> > --PETSC_ARCH=windows-intel >> >> >> > >> >> >> >> --with-parmetis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-parmetis-lib=/cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> >> >> >> --with-metis-include=/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> --with-metis-lib=/cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-include="[/cygdrive/c/Installed/msmpi/Include,/cygdrive/c/Installed/msmpi/Include/x64]" >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-mpi-lib="[/cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib,/cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib]" >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-blas-lapack-lib="[/cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib]" >> >> >> > >> >> >> >> --with-scalapack-include=/cygdrive/c/Installed/mkl/include >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > --with-scalapack-lib="[/cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_ilp64.lib,/cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_ilp64.lib]" >> >> >> > >> >> >> >> --with-sowing=0 >> >> >> > >> >> >> >> [0]PETSC ERROR: >> >> >> > >> >> >> >> [1]PETSC ERROR: >> >> >> > >> >> >> >> #1 User provided function() line 0 in unknown file >> >> >> > >> >> >> >> #1 User provided function() line 0 in unknown file >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> job aborted: >> >> >> > >> >> >> >> [ranks] message >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> [0] application aborted >> >> >> > >> >> >> >> aborting MPI_COMM_WORLD (comm=0x44000000), error 59, >> >> >> > >> >> >> >> comm rank >> >> >> > 0 >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> [1] application aborted >> >> >> > >> >> >> >> aborting MPI_COMM_WORLD (comm=0x44000000), error 59, >> >> >> > >> >> >> >> comm rank >> >> >> > 1 >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> ---- error analysis ----- >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> [0-1] on hector-PC >> >> >> > >> >> >> >> ./ex19 aborted the job. abort code 59 >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> ---- error analysis ----- >> >> >> > >> >> >> >> *******************Error detected during compile or >> >> >> > >> >> >> >> link!******************* >> >> >> > >> >> >> >> See http://www.mcs.anl.gov/petsc/documentation/faq.html >> >> >> > >> >> >> >> >> >> >> > /cygdrive/c/Installed/petsc-dev/petsc/src/snes/examples/tutorials >> >> >> > >> >> >> >> ex5f >> >> >> > >> >> >> >> ********************************************************* >> >> >> > >> >> >> >> /cygdrive/c/Installed/petsc-dev/petsc/bin/win32fe/win32fe >> >> >> > >> >> >> >> ifort >> >> >> > >> >> >> >> -c >> >> >> > >> >> >> >> -MT -Z7 -fpp >> >> >> > >> >> >> >> -I/cygdrive/c/Installed/petsc-dev/petsc/include >> >> >> > >> >> >> >> -I/cygdrive/c/Installed/petsc-dev/petsc/windows-intel/include >> >> >> > >> >> >> >> -I/cygdrive/c/Installed/parmetis/include >> >> >> > >> >> >> >> -I/cygdrive/c/Installed/msmpi/Include >> >> >> > >> >> >> >> -I/cygdrive/c/Installed/msmpi/Include/x64 -o ex5f.o >> >> >> > >> >> >> >> ex5f.F >> >> >> > >> >> >> >> /cygdrive/c/Installed/petsc-dev/petsc/bin/win32fe/win32fe >> >> >> > >> >> >> >> ifort >> >> >> > >> >> >> >> -MT >> >> >> > >> >> >> >> -Z7 -fpp -o ex5f ex5f.o >> >> >> > >> >> >> >> -L/cygdrive/c/Installed/petsc-dev/petsc/windows-intel/lib >> >> >> > >> >> >> >> -lpetsc >> >> >> > >> >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_scalapack_ilp64.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_blacs_msmpi_ilp64.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_intel_ilp64.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_core.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/mkl/lib/intel64/mkl_sequential.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/parmetis/lib/parmetis.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/parmetis/lib/metis.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/msmpi/Lib/x64/msmpi.lib >> >> >> > >> >> >> >> /cygdrive/c/Installed/msmpi/Lib/x64/msmpifec.lib >> >> >> > >> >> >> >> Gdi32.lib >> >> >> > >> >> >> >> User32.lib >> >> >> > >> >> >> >> Advapi32.lib Kernel32.lib Ws2_32.lib >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> SNESCREATE >> >> >> > >> >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> DMCREATEGLOBALVECTOR referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > VECDUPLICATE >> >> >> > >> >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> DMDAGETCORNERS >> >> >> > >> >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> DMDAGETGHOSTCORNERS referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> SNESSETDM >> >> >> > >> >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> SNESSETFROMOPTIONS referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> SNESGETITERATIONNUMBER referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> VECDESTROY >> >> >> > >> >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > SNESDESTROY >> >> >> > >> >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> DMDESTROY >> >> >> > >> >> >> >> referenced in function MAIN__ >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> MATSETVALUESLOCAL >> >> >> > >> >> >> >> referenced in function FORMJACOBIANLOCAL >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> MATASSEMBLYBEGIN >> >> >> > >> >> >> >> referenced in function FORMJACOBIANLOCAL >> >> >> > >> >> >> >> ex5f.obj : error LNK2019: unresolved external symbol >> >> >> > >> >> >> >> MATASSEMBLYEND >> >> >> > >> >> >> >> referenced in function FORMJACOBIANLOCAL >> >> >> > >> >> >> >> C:\INSTAL~1\PETSC-~1\petsc\src\snes\examples\TUTORI~1\ex5f.exe >> >> >> > : >> >> >> > >> >> >> >> fatal >> >> >> > >> >> >> >> error LNK1120: 14 unresolved externals >> >> >> > >> >> >> >> makefile:50: recipe for target 'ex5f' failed >> >> >> > >> >> >> >> make[3]: [ex5f] Error 96 (ignored) >> >> >> > >> >> >> >> /usr/bin/rm -f ex5f.o >> >> >> > >> >> >> >> Completed test examples >> >> >> > >> >> >> >> ========================================= >> >> >> > >> >> >> >> Now to evaluate the computer systems you plan use - do: >> >> >> > >> >> >> >> make PETSC_DIR=/cygdrive/c/Installed/petsc-dev/petsc >> >> >> > >> >> >> >> PETSC_ARCH=windows-intel streams NPMAX=<number of MPI >> >> >> > >> >> >> >> processes >> >> >> > >> >> >> >> you >> >> >> > >> >> >> >> intend to use> >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> Best Regards, >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> Hector >> >> >> > >> >> >> >> >> >> >> > >> >> >> > >> >> >> > >> >> >> >> >> >> > >> >> > >> >> >> > >> >> >> >> >> > >> > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > > -- >> >> >> > > 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 >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > >> >
