<div dir="ltr">Hello Barry,<div><br></div><div>Not existent.</div><div>Here is what I got:<br><br>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">bash-3.2$ otool -L<span class="gmail-Apple-converted-space">  </span>libdeal_II.g.9.3.0.dylib</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">error: otool: can't open file: libdeal_II.g.9.3.0.dylib (No such file or directory)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">bash-3.2$ otool -L libslepc.3.15.dylib<span class="gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">error: otool: can't open file: libslepc.3.15.dylib (No such file or directory)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">bash-3.2$ otool -L libpetsc.3.15.dylib</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">error: otool: can't open file: libpetsc.3.15.dylib (No such file or directory)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">bash-3.2$ ls</span></p><br>Kind regards,<br>Ahmed</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 25, 2021 at 9:55 AM Barry Smith <<a href="mailto:bsmith@petsc.dev">bsmith@petsc.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">  <div>   Send the output from </div><div><br></div><div>   otool -L <span style="color:rgba(0,0,0,0.87);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> libdeal_II.g.9.3.0.dylib</span></div><div><span style="color:rgba(0,0,0,0.87);font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="color:rgba(0,0,0,0.87);font-size:14px">    otool -L </span></font><span style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">libslepc.3.15.dylib</span><span style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> </span></div><div><span style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px">    otool -L </span></font><span style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">libpetsc.3.15.dylib</span><span style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> </span></div><div><span style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px">    You will need to find the directories of these libraries and include them in the otool command.</span></font></div><div><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="color:rgba(0,0,0,0.87);font-size:14px"><br></span></font></div><div><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="color:rgba(0,0,0,0.87);font-size:14px"><br></span></font><div><br><blockquote type="cite"><div>On Oct 25, 2021, at 10:00 AM, Ahmed Galal <<a href="mailto:ahmed.galal8591@gmail.com" target="_blank">ahmed.galal8591@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">Hello,<br><br>I tried to run Step-17 in Dealii, a PETSc Dependenant software, but I got the following error. Given I have two versions of PETSc. I use the other one for another software.</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">I googled and found that the issue is solved by commenting out the line "ADD_FLAGS(DEAL_II_LINKER_FLAGS "-fuse-ld=gold")" in "cmake/checks/check_01_compiler_features.cmake", make test, worked.<br>---<br><a href="https://groups.google.com/u/1/g/dealii/c/JxUOyd_4eFM?pli=1https://groups.google.com/u/1/g/dealii/c/JxUOyd_4eFM?pli=1" rel="nofollow" style="text-decoration-line:none;color:rgb(26,115,232)" target="_blank">https://groups.google.com/u/1/g/dealii/c/JxUOyd_4eFM?pli=1https://groups.google.com/u/1/g/dealii/c/JxUOyd_4eFM?pli=1</a><br></p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">---</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">Any suggestions for how to get around that error "<span style="color:rgb(80,0,80)">PETSc Error --- Application was linked against both OpenMPI and MPICH based</span><span style="color:rgb(80,0,80)"> MPI libraries and will not run correctly"</span> in the new version of DealII.9.3 as I could not find a .cmake similar file to edit?</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">Thanks in advance!<br>Ahmed</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">Error:<br>------------------------</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">PETSc Error --- Application was linked against both OpenMPI and MPICH based MPI libraries and will not run correctly</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----] *** Process received signal ***</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----]  Signal: Segmentation fault: 11 (11)</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----]  Signal code: Address not mapped (1)</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----] Failing at address: 0x68</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----]  [ 0] 0   libsystem_platform.dylib            0x00007fff2041cd7d _sigtramp + 29</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----]  [ 1] 0   ???                                 0x0000000060b9d791 0x0 + 1622792081</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----]  [ 2] 0   libsystem_c.dylib                   0x00007fff202edfcc vfprintf_l + 28</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----]  [ 3] 0   libsystem_c.dylib                   0x00007fff202e69a2 fprintf + 160</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[----]  [ 4] 0   libpetsc.3.15.dylib                 0x000000014c224f0d PetscVFPrintfDefault + 685</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> [ 5] 0   libpetsc.3.15.dylib                 0x000000014c2280d6 PetscFPrintf + 726</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> [ 6] 0   libpetsc.3.15.dylib                 0x000000014c21d537 PetscErrorPrintfDefault + 375</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[ 7] 0   libpetsc.3.15.dylib                 0x000000014c21d66a PetscTraceBackErrorHandler + 154</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> [ 8] 0   libpetsc.3.15.dylib                 0x000000014c21713c PetscError + 716</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> [ 9] 0   libslepc.3.15.dylib                 0x000000014bc9cc8c SlepcInitialize + 428</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> [10] 0   libdeal_II.g.9.3.0.dylib            0x00000001151ae627 _ZN6dealii9Utilities3MPI16MPI_InitFinalizeC2ERiRPPcj + 135</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> [11] 0   libdeal_II.g.9.3.0.dylib            0x00000001151aece9 _ZN6dealii9Utilities3MPI16MPI_InitFinalizeC1ERiRPPcj + 9</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[12] 0   step-17                             0x000000010f244892 main + 82</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> [13] 0   libdyld.dylib                       0x00007fff203f2f3d start + 1</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">[14] 0   ???                                 0x0000000000000001 0x0 + 1</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px"> *** End of error message ***</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">make[3]: *** [CMakeFiles/run] Segmentation fault: 11</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">make[2]: *** [CMakeFiles/run.dir/all] Error 2</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">make[1]: *** [CMakeFiles/run.dir/rule] Error 2</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">make: *** [run] Error 2</p><p style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px">bash-3.2$ </p></div>
</div></blockquote></div><br></div></div></blockquote></div>