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