<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=""> Send the output from </div><div class=""><br class=""></div><div class=""> otool -L <span style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> libdeal_II.g.9.3.0.dylib</span></div><div class=""><span style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""><br class=""></span></div><div class=""><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-size: 14px;" class=""> otool -L </span></font><span style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">libslepc.3.15.dylib</span><span style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> </span></div><div class=""><span style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""><br class=""></span></div><div class=""><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span style="font-size: 14px;" class=""> otool -L </span></font><span style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">libpetsc.3.15.dylib</span><span style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> </span></div><div class=""><span style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""><br class=""></span></div><div class=""><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span style="font-size: 14px;" class=""> You will need to find the directories of these libraries and include them in the otool command.</span></font></div><div class=""><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-size: 14px;" class=""><br class=""></span></font></div><div class=""><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif" class=""><span style="caret-color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87); font-size: 14px;" class=""><br class=""></span></font><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 25, 2021, at 10:00 AM, Ahmed Galal <<a href="mailto:ahmed.galal8591@gmail.com" class="">ahmed.galal8591@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">Hello,<br class=""><br class="">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;" class="">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 class="">---<br class=""><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" target="_blank" rel="nofollow" style="text-decoration-line:none;color:rgb(26,115,232)" class="">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 class=""></p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">---</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">Any suggestions for how to get around that error "<span style="color:rgb(80,0,80)" class="">PETSc Error --- Application was linked against both OpenMPI and MPICH based</span><span style="color:rgb(80,0,80)" class=""> 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;" class="">Thanks in advance!<br class="">Ahmed</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">Error:<br class="">------------------------</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">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;" class="">[----] *** Process received signal ***</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] Signal: Segmentation fault: 11 (11)</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] Signal code: Address not mapped (1)</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] Failing at address: 0x68</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] [ 0] 0 libsystem_platform.dylib 0x00007fff2041cd7d _sigtramp + 29</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] [ 1] 0 ??? 0x0000000060b9d791 0x0 + 1622792081</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] [ 2] 0 libsystem_c.dylib 0x00007fff202edfcc vfprintf_l + 28</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] [ 3] 0 libsystem_c.dylib 0x00007fff202e69a2 fprintf + 160</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[----] [ 4] 0 libpetsc.3.15.dylib 0x000000014c224f0d PetscVFPrintfDefault + 685</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> [ 5] 0 libpetsc.3.15.dylib 0x000000014c2280d6 PetscFPrintf + 726</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> [ 6] 0 libpetsc.3.15.dylib 0x000000014c21d537 PetscErrorPrintfDefault + 375</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[ 7] 0 libpetsc.3.15.dylib 0x000000014c21d66a PetscTraceBackErrorHandler + 154</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> [ 8] 0 libpetsc.3.15.dylib 0x000000014c21713c PetscError + 716</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> [ 9] 0 libslepc.3.15.dylib 0x000000014bc9cc8c SlepcInitialize + 428</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> [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;" class=""> [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;" class="">[12] 0 step-17 0x000000010f244892 main + 82</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> [13] 0 libdyld.dylib 0x00007fff203f2f3d start + 1</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">[14] 0 ??? 0x0000000000000001 0x0 + 1</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class=""> *** End of error message ***</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">make[3]: *** [CMakeFiles/run] Segmentation fault: 11</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">make[2]: *** [CMakeFiles/run.dir/all] Error 2</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">make[1]: *** [CMakeFiles/run.dir/rule] Error 2</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">make: *** [run] Error 2</p><p style="font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 14px;" class="">bash-3.2$ </p></div>
</div></blockquote></div><br class=""></div></body></html>