<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>   The rpath is not being set properly by PETSc when it links in the Matlab engine libraries; it used to work but something else must have changed to break it.<div class=""><br class=""></div><div class="">   I have a fix in the branch <b style="font-family: Menlo; font-size: 14px; background-color: rgb(255, 255, 255);" class="">barry/2020-06-08/fix-matlabengine-details</b></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class=""><br class=""></b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class="">  You should be able to do </b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class=""><br class=""></b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class="">  git fetch </b></span></font></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px;" class=""><b class="">  git checkout </b></span></font><b style="font-family: Menlo; font-size: 14px;" class="">barry/2020-06-08/fix-matlabengine-details</b></span></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class="">  ./configure   ARGS </b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class="">  ....</b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class=""><br class=""></b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class="">  Please let us know if this resolves the problem</b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class=""><br class=""></b></span></font></div><div class=""><font face="Menlo" class=""><span style="background-color: rgb(255, 255, 255);" class=""><b class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px;" class="">  Unfortunately we don't have a Matlab license for our test Mac machines so cannot test this in our test suite and detect the problem as soon as it is introduced. Perhaps Satish can see if there is a spare Matlab license for Mac that MCS pays for but isn't used. </span></b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class=""><br class=""></b></span></font></div><div class=""><font face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px; background-color: rgb(255, 255, 255);" class=""><b class="">  Barry</b></span></font></div><div class=""><font color="#c814c9" face="Menlo" class=""><span style="caret-color: rgb(200, 20, 201); font-size: 14px;" class=""><b class=""><br class=""></b></span></font><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 9, 2020, at 4:58 PM, Amneet Bhalla <<a href="mailto:mail2amneet@gmail.com" class="">mail2amneet@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">It is under <div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 15px; line-height: normal; font-family: Monaco; color: rgb(159, 160, 28); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)" class="">amneetb</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)" class="">@</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)" class="">Amneets-MBP:</span><span style="font-variant-ligatures:no-common-ligatures" class="">/Applications/MATLAB_R2019b.app/bin/maci64</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)" class="">$ ls *eng.dylib</span></div><div style="margin: 0px; font-stretch: normal; font-size: 15px; line-height: normal; font-family: Monaco; color: rgb(47, 180, 29); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">libeng.dylib</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)" class="">*</span></div></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 2:51 PM Junchao Zhang <<a href="mailto:junchao.zhang@gmail.com" class="">junchao.zhang@gmail.com</a>> wrote:<br class=""></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" class="">Find recursively where is libeng.dylib under /Applications/MATLAB_R2019b.app/extern/engines/<div class=""><br clear="all" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class="">--Junchao Zhang</div></div></div><br class=""></div></div><br class=""><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" class="">mail2amneet@gmail.com</a>> wrote:<br class=""></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" class=""><div dir="ltr" class="">Forgot to mention that configure found the following about MATLAB<div class=""><br class=""></div><div class=""><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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  /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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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 class=""><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" class="">mail2amneet@gmail.com</a>> wrote:<br class=""></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" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Do these additional configure flags for MATLAB look OK?<div class=""><br class=""></div><div class=""><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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">--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);" class=""><br class=""></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);" class=""><br class=""></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);" class=""><br class=""></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);" class="">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);" class=""><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">          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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">          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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">          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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">          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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">          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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">          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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">          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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">






















</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">MEX completed successfully.</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></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);" class=""><br class=""></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);" class="">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);" class=""><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)" class="">amneetb</span><span style="font-variant-ligatures:no-common-ligatures" class="">@</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)" class="">Amneets-MBP:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(159,160,28)" class="">~/Softwares/PETSc-Gitlab/PETSc</span><span style="font-variant-ligatures:no-common-ligatures" class="">$ 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">< 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">< 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">---</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">>   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">>   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">>   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">>   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> </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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> ===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> =   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> =   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> =   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> =   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> =   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> ===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">> 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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">/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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=========================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">  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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">=   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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">===================================================================================</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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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);" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Completed test examples</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">I have added the following paths in my .profile and sourced it before make all and make check </span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><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);" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)" class="">export</span><span style="font-variant-ligatures:no-common-ligatures" class=""> DYLD_FALLBACK_LIBRARY_PATH</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)" class="">=</span><span style="font-variant-ligatures:no-common-ligatures" class="">/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)" class="">$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;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></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);" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)" class="">export</span><span style="font-variant-ligatures:no-common-ligatures" class=""> DYLD_LIBRARY_PATH</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(232,235,20)" class="">=</span><span style="font-variant-ligatures:no-common-ligatures" class="">/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)" class="">$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);" class=""><br class=""></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);" class=""><br class=""></div></div></div></div></div></div></div></div><br class=""><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" class="">bsmith@petsc.dev</a>> wrote:<br class=""></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 class=""><div class=""><br class=""></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 class=""><br class=""></div><div class="">  There is also a discussion in the users manual<br class=""><div class=""><br class=""></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">$ git grep MatlabEngine | grep ex</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><blockquote type="cite" class=""><div class="">On Jun 8, 2020, at 8:26 PM, Amneet Bhalla <<a href="mailto:mail2amneet@gmail.com" target="_blank" class="">mail2amneet@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Great!<div class=""><br class=""></div><div class="">Clicking on some of the functions pointed me to this example</div><div class=""><a href="https://www.mcs.anl.gov/petsc/petsc-3.13/src/snes/tutorials/ex5.c.html" target="_blank" class="">https://www.mcs.anl.gov/petsc/petsc-3.13/src/snes/tutorials/ex5.c.html</a><br class=""></div><div class=""><br class=""></div><div class="">Are there more examples, which are perhaps simpler than the above, which I can refer to? </div></div></div><br class=""><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" class="">bsmith@petsc.dev</a>> wrote:<br class=""></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 class=""><div class=""><br class=""></div><span style="font-size:13px" class="">  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" class="">https://www.mcs.anl.gov/petsc/petsc-3.13/docs/manualpages/Sys/PetscMatlabEngine.html</a><br style="font-size:13px" class=""><br style="font-size:13px" class=""><span style="font-size:13px" class="">  Barry</span><div class=""><font size="2" class=""><br class=""></font><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jun 8, 2020, at 7:09 PM, Amneet Bhalla <<a href="mailto:mail2amneet@gmail.com" target="_blank" class="">mail2amneet@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi Folks,<div class=""><br class=""></div><div class="">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" class=""><div class=""><br class=""></div><div class="">Thanks,</div>-- <br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">--Amneet <br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">--Amneet <br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">--Amneet <br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div>
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">--Amneet <br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class="">--Amneet <br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div>
</div></blockquote></div><br class=""></div></body></html>