<div dir="ltr"><br><div>If</div><div> <span style="font-family:Tahoma;font-size:13.63636302947998px">./</span><span class="" style="font-family:Tahoma;font-size:13.63636302947998px">ex12</span><span style="font-family:Tahoma;font-size:13.63636302947998px"> -run_type test -dim 3 -refinement_limit 0.0125 -variable_coefficient field    -interpolate 1 -petscspace_order 2 -show_initial -dm_plex_print_fem</span></div>

<div><span style="font-family:Tahoma;font-size:13.63636302947998px"><br></span></div><div><span style="font-family:Tahoma;font-size:13.63636302947998px">is for serial, any chance we can get the options to run in parallel?</span></div>

<div><span style="font-family:Tahoma;font-size:13.63636302947998px"><br></span></div><div><span style="font-family:Tahoma;font-size:13.63636302947998px"><br></span></div></div><div class="gmail_extra"><br clear="all"><div>

<br>Regards<br>Yaakoub El Khamra<br></div>
<br><br><div class="gmail_quote">On Fri, Jan 17, 2014 at 11:29 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Fri, Jan 17, 2014 at 11:06 AM, Jones,Martin Alexander <span dir="ltr"><<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma"><br>
<div style="font-size:16px;font-family:'Times New Roman'">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Matthew Knepley [<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>]<br>
<b>Sent:</b> Friday, January 17, 2014 11:04 AM<br>
<b>To:</b> Jones,Martin Alexander<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] Problems running ex12.c<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Fri, Jan 17, 2014 at 11:00 AM, Jones,Martin Alexander
<span dir="ltr"><<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">These examples all seem to run excepting the following command,<br>
<br>
<span dir="ltr">ex12 -run_type test -dim 3 -refinement_limit 0.0125 -variable_coefficient field    -interpolate 1 -petscspace_order 2 -show_initial -dm_plex_print_fem
<br>
<br>
I get the following ouput:<br>
<br>
./ex12 -run_type test -dim 3 -refinement_limit 0.0125 -variable_coefficient field    -interpolate 1 -petscspace_order 2 -show_initial -dm_plex_print_fem<br>
Local function:<br>
./ex12: symbol lookup error: /opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_intel_thread.so: undefined symbol: omp_get_num_procs<br>
</span></div>
</div>
</blockquote>
<div><br>
</div>
<div>This is a build problem, but it should affect all the runs. Is this reproducible? Can you send configure.log? MKL is the worst. If this</div>
<div>persists, I would just switch to --download-f-blas-lapack.</div></div></div></div></div></div></div></div></blockquote><div><br></div></div><div>Thanks. I have some advice on options</div><div><br></div><div>  --with-precision=single # I would not use this unless you are doing something special, like CUDA</div>


<div>  --with-clanguage=C++  # I would recommend switching to C, the build is much faster</div><div>  --with-mpi-dir=/usr --with-mpi4py=0</div><div>  --with-shared-libraries --CFLAGS=-O0 --CXXFLAGS=-O0 --with-fc=0</div><div>


  --with-etags=1                # This is unnecessary</div><div>  --with-blas-lapack-lib="[/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_rt.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_intel_thread.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_core.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libiomp5.so]" # Here is the problem, see below</div>


<div>  --download-metis</div><div>  --download-fiat=yes --download-generator --download-scientificpython # Get rid of these, they are obsolete</div><div><br></div><div>Your MKL needs another library for the OpenMP symbols. I would recommend switching to --download-f2cblaslapack,</div>


<div>or you can try and find that library.</div><div><br></div><div>  Thanks,</div><div><br></div><div>      Matt</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div><div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style="font-size:16px;font-family:'Times New Roman'"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div>  Thanks,</div>
<div><br>
</div>
<div>     Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma"><span dir="ltr"></span>
<div style="font-size:16px;font-family:'Times New Roman'">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Matthew Knepley [<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>]<br>
<b>Sent:</b> Thursday, January 16, 2014 6:35 PM<br>
<b>To:</b> Jones,Martin Alexander<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] Problems running ex12.c<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Jan 16, 2014 at 5:43 PM, Jones,Martin Alexander <span dir="ltr">
<<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hi, This is the next error message after configuring and building with the triangle package when trying to run ex12</div>
</div>
</blockquote>
<div><br>
</div>
<div>This is my fault for bad defaults. I will fix. Try running</div>
<div><br>
</div>
<div>  ./ex12 -run_type test -refinement_limit 0.0    -bc_type dirichlet -interpolate 0 -petscspace_order 1 -show_initial -dm_plex_print_fem 1</div>
<div><br>
</div>
<div>for a representative run. Then you could try 3D</div>
<div><br>
</div>
<div>   ex12 -run_type test -dim 3 -refinement_limit 0.0125 -variable_coefficient field    -interpolate 1 -petscspace_order 2 -show_initial -dm_plex_print_fem </div>
<div><br>
</div>
<div>or a full run</div>
<div><br>
</div>
<div>  ex12 -refinement_limit 0.01 -bc_type dirichlet -interpolate -petscspace_order 1</div>
<div><br>
</div>
<div>  ex12 -refinement_limit 0.01 -bc_type dirichlet -interpolate -petscspace_order 2</div>
<div><br>
</div>
<div>Let me know if those work.</div>
<div><br>
</div>
<div>  Thanks,</div>
<div><br>
</div>
<div>     Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div>
<div>./ex12</div>
<div>[0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div>[0]PETSC ERROR: Caught signal number 8 FPE: Floating Point Exception,probably divide by zero</div>
<div>[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div>
<div>[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC" target="_blank">
http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC</a> ERROR: or try
<a href="http://valgrind.org" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors</div>
<div>[0]PETSC ERROR: likely location of problem given in stack below</div>
<div>[0]PETSC ERROR: ---------------------  Stack Frames ------------------------------------</div>
<div>[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,</div>
<div>[0]PETSC ERROR:       INSTEAD the line number of the start of the function</div>
<div>[0]PETSC ERROR:       is given.</div>
<div>[0]PETSC ERROR: [0] DMPlexComputeResidualFEM line 531 /home/mjonesa/PETSc/petsc/src/dm/impls/plex/plexfem.c</div>
<div>[0]PETSC ERROR: [0] SNESComputeFunction_DMLocal line 63 /home/mjonesa/PETSc/petsc/src/snes/utils/dmlocalsnes.c</div>
<div>[0]PETSC ERROR: [0] SNES user function line 2088 /home/mjonesa/PETSc/petsc/src/snes/interface/snes.c</div>
<div>[0]PETSC ERROR: [0] SNESComputeFunction line 2076 /home/mjonesa/PETSc/petsc/src/snes/interface/snes.c</div>
<div>[0]PETSC ERROR: [0] SNESSolve_NEWTONLS line 144 /home/mjonesa/PETSc/petsc/src/snes/impls/ls/ls.c</div>
<div>[0]PETSC ERROR: [0] SNESSolve line 3765 /home/mjonesa/PETSc/petsc/src/snes/interface/snes.c</div>
<div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div>
<div>[0]PETSC ERROR: Signal received!</div>
<div>[0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div>[0]PETSC ERROR: Petsc Development GIT revision: v3.4.3-2317-gcd0e7f7  GIT Date: 2014-01-15 20:33:42 -0600</div>
<div>[0]PETSC ERROR: See docs/changes/index.html for recent updates.</div>
<div>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div>
<div>[0]PETSC ERROR: See docs/index.html for manual pages.</div>
<div>[0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div>[0]PETSC ERROR: ./ex12 on a arch-linux2-cxx-debug named maeda by mjonesa Thu Jan 16 17:41:23 2014</div>
<div>[0]PETSC ERROR: Libraries linked from /home/mjonesa/local/lib</div>
<div>[0]PETSC ERROR: Configure run at Thu Jan 16 17:38:33 2014</div>
<div>[0]PETSC ERROR: Configure options --prefix=/home/mjonesa/local --with-blas-lapack-lib="[/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_rt.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_intel_thread.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_core.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libiomp5.so]"
 --with-c2html=0 --with-clanguage=c++ PETSC_ARCH=arch-linux2-cxx-debug --download-triangle</div>
<div>[0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div>[0]PETSC ERROR: User provided function() line 0 in  unknown file</div>
<div>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0</div>
<div style="font-size:16px;font-family:'Times New Roman'">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Matthew Knepley [<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>]<br>
<b>Sent:</b> Thursday, January 16, 2014 4:37 PM<br>
<b>To:</b> Jones,Martin Alexander<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] Problems running ex12.c<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Jan 16, 2014 at 4:33 PM, Jones,Martin Alexander <span dir="ltr">
<<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hi, I have downloaded and built the dev version you suggested. I think I need the triangle package to run this particular case. Is there any thing else that appears wrong in what I have done from
 the error messages below:<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Great! Its running. You can reconfigure like this:</div>
<div><br>
</div>
<div>  $PETSC_DIR/$PETSC_ARCH/conf/reconfigure-$PETSC_ARCH.py --download-triangle</div>
<div><br>
</div>
<div>and then rebuild</div>
<div><br>
</div>
<div>   make</div>
<div><br>
</div>
<div>and then rerun. You can load meshes, but its much easier to have triangle create them.</div>
<div><br>
</div>
<div>  Thanks for being patient,</div>
<div><br>
</div>
<div>     Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">[0]PETSC ERROR: --------------------- Error Message ------------------------------------<br>
[0]PETSC ERROR: No support for this operation for this object type!<br>
[0]PETSC ERROR: Mesh generation needs external package support.<br>
Please reconfigure with --download-triangle.!<br>
[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: Petsc Development GIT revision: v3.4.3-2317-gcd0e7f7  GIT Date: 2014-01-15 20:33:42 -0600<br>
[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>
[0]PETSC ERROR: See docs/index.html for manual pages.<br>
[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: ./ex12 on a arch-linux2-cxx-debug named maeda by mjonesa Thu Jan 16 16:28:20 2014<br>
[0]PETSC ERROR: Libraries linked from /home/mjonesa/local/lib<br>
[0]PETSC ERROR: Configure run at Thu Jan 16 16:25:53 2014<br>
[0]PETSC ERROR: Configure options --prefix=/home/mjonesa/local --with-clanguage=c++ --with-c2html=0 --with-blas-lapack-lib="[/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_rt.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_intel_thread.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libmkl_core.so,/opt/apps/EPD/epd-7.3-1-rh5-x86_64/lib/libiomp5.so]"<br>



[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: DMPlexGenerate() line 4332 in /home/mjonesa/PETSc/petsc/src/dm/impls/plex/plex.c<br>
[0]PETSC ERROR: DMPlexCreateBoxMesh() line 600 in /home/mjonesa/PETSc/petsc/src/dm/impls/plex/plexcreate.c<br>
[0]PETSC ERROR: CreateMesh() line 295 in /home/mjonesa/PETSc/petsc/src/snes/examples/tutorials/ex12.c<br>
[0]PETSC ERROR: main() line 659 in /home/mjonesa/PETSc/petsc/src/snes/examples/tutorials/ex12.c<br>
application called MPI_Abort(MPI_COMM_WORLD, 56) - process 0<br>
<div style="font-size:16px;font-family:'Times New Roman'">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Matthew Knepley [<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>]<br>
<b>Sent:</b> Thursday, January 16, 2014 4:06 PM<br>
<b>To:</b> Jones,Martin Alexander<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] Problems running ex12.c<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Jan 16, 2014 at 4:05 PM, Jones,Martin Alexander <span dir="ltr">
<<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hi. I changed the ENV variable to the correct entry. when I type make ex12 I get this:<br>
<br>
mjonesa@maeda:~/PETSc/petsc-3.4.3/src/snes/examples/tutorials$ make ex12<br>
g++ -o ex12.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g   -fPIC    -I/home/mjonesa/PETSc/petsc-3.4.3/include -I/home/mjonesa/PETSc/petsc-3.4.3/arch-linux2-cxx-debug/include -I/home/mjonesa/PETSc/petsc-3.4.3/include/mpiuni    -D__INSDIR__=src/snes/examples/tutorials/
 ex12.c<br>
ex12.c:14:18: fatal error: ex12.h: No such file or directory<br>
compilation terminated.<br>
make: *** [ex12.o] Error 1<br>
<br>
Any help of yours is very much appreciated.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Yes, this relates to my 3). This is not going to work for you with the release. Please see the link I sent.</div>
<div><br>
</div>
<div>   Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style="font-size:16px;font-family:'Times New Roman'">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Matthew Knepley [<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>]<br>
<b>Sent:</b> Thursday, January 16, 2014 3:58 PM<br>
<b>To:</b> Jones,Martin Alexander<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] Problems running ex12.c<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Jan 16, 2014 at 3:55 PM, Jones,Martin Alexander <span dir="ltr">
<<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Thanks!<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>You built with PETSC_ARCH=arch-linux2-cxx-debug</div>
<div><br>
</div>
<div>   Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style="font-size:16px;font-family:'Times New Roman'">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Matthew Knepley [<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>]<br>
<b>Sent:</b> Thursday, January 16, 2014 3:31 PM<br>
<b>To:</b> Jones,Martin Alexander<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] Problems running ex12.c<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Jan 16, 2014 at 3:11 PM, Jones,Martin Alexander <span dir="ltr">
<<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Now I went to the directory where ex12.c sits and just did a ‘make ex12.c’ with the following error if this helps?  :<u></u><u></u></span></p>



<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">mjonesa@maeda:~/PETSc/petsc-3.4.3/src/snes/examples/tutorials$ make ex12.c<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">/home/mjonesa/PETSc/petsc-3.4.3/conf/variables:108: /home/mjonesa/PETSc/petsc-3.4.3/linux-gnu-cxx-debug/conf/petscvariables: No such file or directory<u></u><u></u></span></p>



<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">/home/mjonesa/PETSc/petsc-3.4.3/conf/rules:962: /home/mjonesa/PETSc/petsc-3.4.3/linux-gnu-cxx-debug/conf/petscrules: No such file or directory<u></u><u></u></span></p>



<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">make: *** No rule to make target `/home/mjonesa/PETSc/petsc-3.4.3/linux-gnu-cxx-debug/conf/petscrules'.  Stop.</span></p>



</div>
</div>
</blockquote>
<div><br>
</div>
<div>1) You would type 'make ex12'</div>
<div><br>
</div>
<div>2) Either you PETSC_DIR (<span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.44444465637207px">/home/mjonesa/PETSc/petsc-3.</span><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.44444465637207px">4.3</span>)
 or PETSC_ARCH (<span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.44444465637207px">linux-gnu-cxx-debug</span>) environment variables</div>
<div>    do not match what you built. Please send configure.log and make.log</div>
<div><br>
</div>
<div>3) Since it was only recently added, if you want to use the FEM functionality, you must use the development version:</div>
<div><br>
</div>
<div>   <a href="http://www.mcs.anl.gov/petsc/developers/index.html" target="_blank">http://www.mcs.anl.gov/petsc/developers/index.html</a></div>
<div><br>
</div>
<div>  Thanks,</div>
<div><br>
</div>
<div>      Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"> </span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> Matthew Knepley [mailto:<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, January 16, 2014 2:48 PM<br>
<b>To:</b> Jones,Martin Alexander<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] Problems running ex12.c<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Thu, Jan 16, 2014 at 2:35 PM, Jones,Martin Alexander <<a href="mailto:MAJones2@mdanderson.org" target="_blank">MAJones2@mdanderson.org</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello To Whom it Concerns,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am trying to run the tutorial ex12.c by running <span style="color:rgb(178,34,34)">
'bin/pythonscripts/PetscGenerateFEMQuadrature.py dim order dim 1 laplacian dim order dim 1 boundary src/snes/examples/tutorials/ex12.h'</span><br>
but getting the following error:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">$ bin/pythonscripts/PetscGenerateFEMQuadrature.py dim order dim 1 laplacian dim order dim 1 boundary src/snes/examples/tutorials/ex12.h<br>
Traceback (most recent call last):<br>
  File "bin/pythonscripts/PetscGenerateFEMQuadrature.py", line 15, in <module><br>
    from FIAT.reference_element import default_simplex<br>
ImportError: No module named FIAT.reference_element<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
I have removed the requirement of generating the header file (its now all handled in C). I thought<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I changed the documentation everywhere (including the latest tutorial slides). Can you try running<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">with 'master' (or 'next'), and point me toward the old docs?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">  Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">    Matt<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <span><font color="#888888"><u></u></font></span></p>
<span><font color="#888888"></font></span></div>
<span><font color="#888888">
<p class="MsoNormal">-- <br>
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener <u></u><u></u></p>
</font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></blockquote>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"><br>
<br clear="all">
<span><font color="#888888">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener </font></span></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></blockquote>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"><br>
<br clear="all">
<span><font color="#888888">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener </font></span></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></blockquote>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"><br>
<br clear="all">
<span><font color="#888888">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener </font></span></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></blockquote>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"><br>
<br clear="all">
<span><font color="#888888">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener </font></span></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"></font></span></blockquote>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"><br>
<br clear="all"><span><font color="#888888">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener </font></span></font></span></div><span><font color="#888888">
</font></span></div><span><font color="#888888">
</font></span></div><span><font color="#888888">
</font></span></div><span><font color="#888888">
</font></span></div><span><font color="#888888">
</font></span></div><span><font color="#888888">
</font></span></blockquote><span><font color="#888888">
</font></span></div><span><font color="#888888">
<br>
<br clear="all">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener </font></span></div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>


-- Norbert Wiener
</div></div></div></div>
</blockquote></div><br></div>