<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">That worked!<div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)">amneetb</span><span style="font-variant-ligatures:no-common-ligatures">@</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)">Amneets-MBP:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(159,160,28)">~/Softwares/PETSc-Gitlab/petsc-matlab</span><span style="font-variant-ligatures:no-common-ligatures">$ make PETSC_DIR=/Users/amneetb/Softwares/PETSc-Gitlab/petsc-matlab PETSC_ARCH=darwin-dbg check</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Running check examples to verify correct installation</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Using PETSC_DIR=/Users/amneetb/Softwares/PETSc-Gitlab/petsc-matlab and PETSC_ARCH=darwin-dbg</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">C/C++ example src/snes/tutorials/ex19 run successfully with hypre</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">C/C++ example src/vec/vec/tutorials/ex31 run successfully with Matlab engine</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Completed test examples</span></p></div></div></div><br><div class="gmail_quote"><div class="gmail_attr">Should I remove DYLIB paths from .profile since these are now baked in the linker?</div><div class="gmail_attr"><br></div><div class="gmail_attr">Also, Is this branch based-off of latest master? I'm currently using PETSc <span style="color:rgb(47,180,29);font-family:Monaco;font-size:15px;background-color:rgba(0,0,0,0.85)">v3.12.2</span> for IBAMR. Anything close to this version should work for me.</div><div class="gmail_attr"><br></div><div class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 3:17 PM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br></div>   I tried including the directories into my DYLD environmental variables and it didn't work; I am not sure why. This might be why <a href="https://stackoverflow.com/questions/35568122/why-isnt-dyld-library-path-being-propagated-here" target="_blank">https://stackoverflow.com/questions/35568122/why-isnt-dyld-library-path-being-propagated-here</a><div><br></div><div>   Anyways try my branch and that should work.</div><div><br></div><div>   Barry</div><div><br><div><br></div><div><br><blockquote type="cite"><div>On Jun 9, 2020, at 5:09 PM, Amneet Bhalla <<a href="mailto:mail2amneet@gmail.com" target="_blank">mail2amneet@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr">That's where I also found it. Thanks, Sanjay!<div><br></div><div>(This path is included in my .profile file</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(44,238,235);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">export</span><span style="font-variant-ligatures:no-common-ligatures"> DYLD_FALLBACK_LIBRARY_PATH</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">=</span><span style="font-variant-ligatures:no-common-ligatures">/Applications/MATLAB_R2019b.app/bin/maci64:/Applications/MATLAB_R2019b.app/sys/os/maci64:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(94,220,255)">$DYLD_FALLBACK_LIBRARY_PATH</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(44,238,235);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">export</span><span style="font-variant-ligatures:no-common-ligatures"> DYLD_LIBRARY_PATH</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">=</span><span style="font-variant-ligatures:no-common-ligatures">/Applications/MATLAB_R2019b.app/bin/maci64:/Applications/MATLAB_R2019b.app/sys/os/maci64:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(94,220,255)">$DYLD_LIBRARY_PATH</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(44,238,235);background-color:rgba(0,0,0,0.85)"><br></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(44,238,235);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(94,220,255)"><br></span></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">)</div><div dir="ltr" class="gmail_attr"><br></div><div class="gmail_attr">Do I need to tell PETSc about this path as well? Something like:</div><div class="gmail_attr"><br></div>--with-matlab-engine-lib=/Applications/MATLAB_R2019b.app/bin/maci64/libeng.dylib</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 2:56 PM Sanjay Govindjee <<a href="mailto:s_g@berkeley.edu" target="_blank">s_g@berkeley.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    Try looking in:<br>
    <br>
    <pre>$(MLROOT)/bin/maci64

where MLROOT = /Applications/MATLAB_R2019a.app or the like


</pre>
    On 6/9/20 2:51 PM, Junchao Zhang wrote:<br>
    <blockquote type="cite">
      
      <div dir="ltr">Find recursively where is libeng.dylib under
        /Applications/MATLAB_R2019b.app/extern/engines/
        <div><br clear="all">
          <div>
            <div dir="ltr">
              <div dir="ltr">--Junchao Zhang</div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 4:27 PM
          Amneet Bhalla <<a href="mailto:mail2amneet@gmail.com" target="_blank">mail2amneet@gmail.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div dir="ltr">Forgot to mention that configure found the
              following about MATLAB
              <div><br>
              </div>
              <div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Matlab:</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures"> 
                    Includes:
                    -I/Applications/MATLAB_R2019b.app/extern/include</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures"> 
                    /Applications/MATLAB_R2019b.app</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">MatlabEngine:</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures"> 
                    Library: 
                    -L/Applications/MATLAB_R2019b.app/bin/maci64
                    -L/Applications/MATLAB_R2019b.app/extern/lib/maci64
                    -leng -lmex -lmx -lmat -lut -licudata -licui18n
                    -licuuc</span></div>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at
              2:20 PM Amneet Bhalla <<a href="mailto:mail2amneet@gmail.com" target="_blank">mail2amneet@gmail.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">Do these additional configure
                          flags for MATLAB look OK?
                          <div><br>
                          </div>
                          <div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">--with-matlab=1
                                --with-matlab-dir=/Applications/MATLAB_R2019b.app
                                --with-matlab-engine=1 
                                --with-matlab-engine-dir=/Applications/MATLAB_R2019b.app/extern/engines/</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)">With
                              this configuration make compiled files
                              like:</div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">          CC
                                darwin-dbg/obj/sys/classes/viewer/impls/matlab/vmatlab.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">          CC
                                darwin-dbg/obj/sys/classes/viewer/impls/matlab/ftn-custom/zvmatlabf.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">          CC
                                darwin-dbg/obj/sys/classes/matlabengine/matlab.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">          CC
                                darwin-dbg/obj/sys/classes/matlabengine/ftn-auto/matlabf.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">          CC
                                darwin-dbg/obj/sys/classes/matlabengine/ftn-custom/zmatlabf.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">          CC
                                darwin-dbg/obj/vec/pf/impls/matlab/cmatlab.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">          CC
                                darwin-dbg/obj/vec/vec/utils/matlab/gcreatev.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><br>
                              </span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: Leaving
                                directory
                                `/Users/amneetb/Softwares/PETSc-Gitlab/PETSc'</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">BEGINNING TO COMPILE
                                MATLAB INTERFACE</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Building with 'Xcode
                                with Clang'.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: cannot
                                export hidden symbol
                                _mexfilerequiredapiversion from
                                c_mexapi_version.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: cannot
                                export hidden symbol
                                _mexfilerequiredapiversion from
                                c_mexapi_version.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">MEX completed
                                successfully.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Building with 'Xcode
                                with Clang'.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: cannot
                                export hidden symbol
                                _mexfilerequiredapiversion from
                                c_mexapi_version.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: cannot
                                export hidden symbol
                                _mexfilerequiredapiversion from
                                c_mexapi_version.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">MEX completed
                                successfully.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Building with 'Xcode
                                with Clang'.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: cannot
                                export hidden symbol
                                _mexfilerequiredapiversion from
                                c_mexapi_version.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">MEX completed
                                successfully.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Building with 'Xcode
                                with Clang'.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: cannot
                                export hidden symbol
                                _mexfilerequiredapiversion from
                                c_mexapi_version.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: cannot
                                export hidden symbol
                                _mexfilerequiredapiversion from
                                c_mexapi_version.o</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">
                              </span></p><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">MEX completed
                                successfully.</span></div>
                            <div><span style="font-variant-ligatures:no-common-ligatures"><br>
                              </span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)">However,
                              make check gives error</div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)">amneetb</span><span style="font-variant-ligatures:no-common-ligatures">@</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)">Amneets-MBP:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(159,160,28)">~/Softwares/PETSc-Gitlab/PETSc</span><span style="font-variant-ligatures:no-common-ligatures">$ make
                                PETSC_DIR=/Users/amneetb/Softwares/PETSc-Gitlab/PETSc
                                PETSC_ARCH=darwin-dbg check</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Running test examples
                                to verify correct installation</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Using
                                PETSC_DIR=/Users/amneetb/Softwares/PETSc-Gitlab/PETSc
                                and PETSC_ARCH=darwin-dbg</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Possible error
                                running C/C++
                                src/snes/examples/tutorials/ex19 with 1
                                MPI process</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a></span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">dyld: Library not
                                loaded: @rpath/libeng.dylib</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Referenced from:
/Users/amneetb/Softwares/PETSc-Gitlab/PETSc/src/snes/examples/tutorials/./ex19</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Reason: image not
                                found</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   BAD TERMINATION
                                OF ONE OF YOUR APPLICATION PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   PID 14057 RUNNING
                                AT Amneets-MBP</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   EXIT CODE: 6</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   CLEANING UP
                                REMAINING PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   YOU CAN IGNORE
                                THE BELOW CLEANUP MESSAGES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">YOUR APPLICATION
                                TERMINATED WITH THE EXIT STRING: Abort
                                trap: 6 (signal 6)</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">This typically refers
                                to a problem with your application.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Please see the FAQ
                                page for debugging suggestions</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Possible error
                                running C/C++
                                src/snes/examples/tutorials/ex19 with 2
                                MPI processes</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a></span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">dyld: Library not
                                loaded: @rpath/libeng.dylib</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Referenced from:
/Users/amneetb/Softwares/PETSc-Gitlab/PETSc/src/snes/examples/tutorials/./ex19</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Reason: image not
                                found</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">dyld: Library not
                                loaded: @rpath/libeng.dylib</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Referenced from:
/Users/amneetb/Softwares/PETSc-Gitlab/PETSc/src/snes/examples/tutorials/./ex19</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Reason: image not
                                found</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   BAD TERMINATION
                                OF ONE OF YOUR APPLICATION PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   PID 14062 RUNNING
                                AT Amneets-MBP</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   EXIT CODE: 6</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   CLEANING UP
                                REMAINING PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   YOU CAN IGNORE
                                THE BELOW CLEANUP MESSAGES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">YOUR APPLICATION
                                TERMINATED WITH THE EXIT STRING: Abort
                                trap: 6 (signal 6)</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">This typically refers
                                to a problem with your application.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Please see the FAQ
                                page for debugging suggestions</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">1,5c1,17</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">< lid velocity =
                                0.0016, prandtl # = 1., grashof # = 1.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><   0 SNES
                                Function norm 0.0406612 </span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><   1 SNES
                                Function norm 4.12227e-06 </span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><   2 SNES
                                Function norm 6.098e-11 </span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">< Number of SNES
                                iterations = 2</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">---</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> dyld: Library
                                not loaded: @rpath/libeng.dylib</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">>   Referenced
                                from:
/Users/amneetb/Softwares/PETSc-Gitlab/PETSc/src/snes/examples/tutorials/./ex19</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">>   Reason: image
                                not found</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> dyld: Library
                                not loaded: @rpath/libeng.dylib</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">>   Referenced
                                from:
/Users/amneetb/Softwares/PETSc-Gitlab/PETSc/src/snes/examples/tutorials/./ex19</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">>   Reason: image
                                not found</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> </span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">>
===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> =   BAD
                                TERMINATION OF ONE OF YOUR APPLICATION
                                PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> =   PID 14072
                                RUNNING AT Amneets-MBP</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> =   EXIT CODE: 6</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> =   CLEANING UP
                                REMAINING PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> =   YOU CAN
                                IGNORE THE BELOW CLEANUP MESSAGES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">>
===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> YOUR APPLICATION
                                TERMINATED WITH THE EXIT STRING: Abort
                                trap: 6 (signal 6)</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> This typically
                                refers to a problem with your
                                application.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">> Please see the
                                FAQ page for debugging suggestions</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">/Users/amneetb/Softwares/PETSc-Gitlab/PETSc/src/snes/examples/tutorials</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Possible problem with
                                ex19 running with hypre, diffs above</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=========================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Possible error
                                running Fortran example
                                src/snes/examples/tutorials/ex5f with 1
                                MPI process</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a></span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">dyld: Library not
                                loaded: @rpath/libeng.dylib</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Referenced from:
/Users/amneetb/Softwares/PETSc-Gitlab/PETSc/src/snes/examples/tutorials/./ex5f</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">  Reason: image not
                                found</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   BAD TERMINATION
                                OF ONE OF YOUR APPLICATION PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   PID 14211 RUNNING
                                AT Amneets-MBP</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   EXIT CODE: 6</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   CLEANING UP
                                REMAINING PROCESSES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">=   YOU CAN IGNORE
                                THE BELOW CLEANUP MESSAGES</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">===================================================================================</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">YOUR APPLICATION
                                TERMINATED WITH THE EXIT STRING: Abort
                                trap: 6 (signal 6)</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">This typically refers
                                to a problem with your application.</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Please see the FAQ
                                page for debugging suggestions</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures">Completed test
                                examples</span></div>
                            <div><span style="font-variant-ligatures:no-common-ligatures"><br>
                              </span></div>
                            <div><span style="font-variant-ligatures:no-common-ligatures"><br>
                              </span></div>
                            <div><span style="font-variant-ligatures:no-common-ligatures">I
                                have added the following paths in my
                                .profile and sourced it before make all
                                and make check </span></div>
                            <div><span style="font-variant-ligatures:no-common-ligatures"><br>
                              </span></div>
                            <div><span style="font-variant-ligatures:no-common-ligatures"><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(44,238,235);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">export</span><span style="font-variant-ligatures:no-common-ligatures">
                                    DYLD_FALLBACK_LIBRARY_PATH</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">=</span><span style="font-variant-ligatures:no-common-ligatures">/Applications/MATLAB_R2019b.app/bin/maci64:/Applications/MATLAB_R2019b.app/sys/os/maci64:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(94,220,255)">$DYLD_FALLBACK_LIBRARY_PATH</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85);min-height:20px"><span style="font-variant-ligatures:no-common-ligatures"></span><br>
                                </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(44,238,235);background-color:rgba(0,0,0,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">export</span><span style="font-variant-ligatures:no-common-ligatures"> DYLD_LIBRARY_PATH</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)">=</span><span style="font-variant-ligatures:no-common-ligatures">/Applications/MATLAB_R2019b.app/bin/maci64:/Applications/MATLAB_R2019b.app/sys/os/maci64:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(94,220,255)">$DYLD_LIBRARY_PATH</span></div>
                              </span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.85)"><br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Mon, Jun 8, 2020 at
                  6:39 PM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
                  <div>
                    <div><br>
                    </div>
                      Looks like the tool to list the examples in the
                    manual pages is broken since it didn't find these
                    other examples, I'll take a look at it.
                    <div><br>
                    </div>
                    <div>  There is also a discussion in the users
                      manual<br>
                      <div><br>
                      </div>
                      <div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">$ git grep
                            MatlabEngine | grep ex</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEngineCreate(MPI_Comm
                            comm,char *machine,PetscMatlabEngine *e);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEnginePut(PetscMatlabEngine
                            e,PetscObject obj);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEngineGet(PetscMatlabEngine
                            e,PetscObject obj);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEnginePutArray(PetscMatlabEngine
                            e,int m,int n,PetscScalar *array,char
                            *name);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEngineGetArray(PetscMatlabEngine
                            e,int m,int n,PetscScalar *array,char
                            *name);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEngineEvaluate(PetscMatlabEngine,"format",...);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEngineEvaluate(PetscMatlabEngine,"x
                            = \%g *y + z;",avalue);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEngineGetOutput(PetscMatlabEngine,char
                            **);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/docs/tex/manual/part2.tex:PetscMatlabEnginedPrintOutput(PetscMatlabEngine,FILE*).</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/snes/tutorials/ex5.c: 
                            ierr =
PetscMatlabEnginePut(PETSC_MATLAB_ENGINE_(comm),(PetscObject)localX);CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/snes/tutorials/ex5.c: 
                            ierr =
PetscMatlabEngineEvaluate(PETSC_MATLAB_ENGINE_(comm),"localF=ex5m(localX,%18.16e,%18.16e,%18.16e)",hx,hy,lambda);CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/snes/tutorials/ex5.c: 
                            ierr =
PetscMatlabEngineGet(PETSC_MATLAB_ENGINE_(comm),(PetscObject)localF);CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/sys/tests/ex16.c:static
                            char help[] = "Demonstrates
                            PetscMatlabEngineXXX()\n";</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/sys/tests/ex16.c: 
                            ierr =
PetscMatlabEngineGetOutput(PETSC_MATLAB_ENGINE_(PETSC_COMM_WORLD),&output);CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/sys/tests/ex16.c: 
                            ierr =
PetscMatlabEngineEvaluate(PETSC_MATLAB_ENGINE_(PETSC_COMM_WORLD),"MPI_Comm_rank");CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/sys/tests/ex16.c: 
                              ierr =
PetscMatlabEngineEvaluate(PETSC_MATLAB_ENGINE_(PETSC_COMM_WORLD),user);CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/vec/vec/tests/ex31.c:static
                            const char help[] = "Demonstrates
                            PetscMatlabEngineXXX()\n";</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/vec/vec/tests/ex31.c: 
                            ierr =
                            PetscMatlabEngineGetOutput(PETSC_MATLAB_ENGINE_WORLD,&output);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/vec/vec/tests/ex31.c: 
                            ierr =
                            PetscMatlabEngineEvaluate(PETSC_MATLAB_ENGINE_WORLD,"MPI_Comm_rank");</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/vec/vec/tests/ex31.c: 
                            ierr =
PetscMatlabEnginePut(PETSC_MATLAB_ENGINE_WORLD,(PetscObject)x);CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/vec/vec/tests/ex31.c: 
                            ierr =
                            PetscMatlabEngineEvaluate(PETSC_MATLAB_ENGINE_WORLD,"x
                            = x + MPI_Comm_rank;\n");</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/vec/vec/tests/ex31.c: 
                            ierr =
PetscMatlabEngineGet(PETSC_MATLAB_ENGINE_WORLD,(PetscObject)x);CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">src/vec/vec/tests/ex31.c: 
                            ierr =
PetscMatlabEngineEvaluate(PETSC_MATLAB_ENGINE_WORLD,"whos\n");CHKERRQ(ierr);</span></div>
                        <div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br>
                          </span></div>
                        <blockquote type="cite">
                          <div>On Jun 8, 2020, at 8:26 PM, Amneet Bhalla
                            <<a href="mailto:mail2amneet@gmail.com" target="_blank">mail2amneet@gmail.com</a>>
                            wrote:</div>
                          <br>
                          <div>
                            <div dir="ltr">
                              <div dir="ltr">Great!
                                <div><br>
                                </div>
                                <div>Clicking on some of the functions
                                  pointed me to this example</div>
                                <div><a href="https://www.mcs.anl.gov/petsc/petsc-3.13/src/snes/tutorials/ex5.c.html" target="_blank">https://www.mcs.anl.gov/petsc/petsc-3.13/src/snes/tutorials/ex5.c.html</a><br>
                                </div>
                                <div><br>
                                </div>
                                <div>Are there more examples, which are
                                  perhaps simpler than the above, which
                                  I can refer to? </div>
                              </div>
                            </div>
                            <br>
                            <div class="gmail_quote">
                              <div dir="ltr" class="gmail_attr">On Mon,
                                Jun 8, 2020 at 5:51 PM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>>
                                wrote:<br>
                              </div>
                              <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
                                <div>
                                  <div><br>
                                  </div>
                                  <span style="font-size:13px">  You
                                    should use the PetscMatlabEngine </span><a href="https://www.mcs.anl.gov/petsc/petsc-3.13/docs/manualpages/Sys/PetscMatlabEngine.html" style="font-size:13px" target="_blank">https://www.mcs.anl.gov/petsc/petsc-3.13/docs/manualpages/Sys/PetscMatlabEngine.html</a><br style="font-size:13px">
                                  <br style="font-size:13px">
                                  <span style="font-size:13px">  Barry</span>
                                  <div><font size="2"><br>
                                    </font>
                                    <div><br>
                                      <blockquote type="cite">
                                        <div>On Jun 8, 2020, at 7:09 PM,
                                          Amneet Bhalla <<a href="mailto:mail2amneet@gmail.com" target="_blank">mail2amneet@gmail.com</a>>
                                          wrote:</div>
                                        <br>
                                        <div>
                                          <div dir="ltr">Hi Folks,
                                            <div><br>
                                            </div>
                                            <div>My parallel application
                                              written in C++ (which also
                                              uses PETSc library for
                                              linear solvers) requires
                                              calling control and
                                              optimization toolbox of
                                              MATLAB at every time step
                                              to get a small number of
                                              double values. Likewise
                                              the MATLAB function will
                                              need to know some values
                                              from the parallel C++
                                              application to return
                                              those doubles. I'm
                                              wondering if there is a
                                              recommended way of calling
                                              MATLAB from parallel
                                              C/C++/Fortran codes, and
                                              if PETSc has some
                                              interface that could be
                                              leveraged for this
                                              exchange. <br clear="all">
                                              <div><br>
                                              </div>
                                              <div>Thanks,</div>
                                              -- <br>
                                              <div dir="ltr">
                                                <div dir="ltr">
                                                  <div>--Amneet <br>
                                                    <br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br clear="all">
                            <div><br>
                            </div>
                            -- <br>
                            <div dir="ltr">
                              <div dir="ltr">
                                <div>--Amneet <br>
                                  <br>
                                </div>
                                <div><br>
                                </div>
                                <div><br>
                                </div>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div dir="ltr">
                <div dir="ltr">
                  <div>--Amneet <br>
                    <br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">
            <div dir="ltr">
              <div>--Amneet <br>
                <br>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>--Amneet <br><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div>
</div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>--Amneet <br><br></div><div><br></div><div><br></div></div></div></div></div>