<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Sheng-Chinh,<div><br></div><div>I also recall having this error at some point. Usually 99.99% of these errors have to do with PATH variables being incorrectly set. For a number of reasons, I do not use the Python that ships with Macs, I instead use virtual environments using Anaconda (not an endorsement, just a much painless way of using software that Apple will soon deprecate). I was able to get the test suite running by creating a virtual environment using Python 2.7.something and activating this environment using <span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px"> </span><font color="#000000" face="Menlo"><span style="font-size:11px">condo</span><span style="font-size:11px"> activate name_of_environment </span></font><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">   </span></div><div><br></div><div>As per the documentation you will to run <span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">make run-tests-foo,</span>  then the tests will run serially or in parallel. Keep in mind only PW, CP, PH, and EPW binaries are supported. Make sure you have statically lined these four binaries as per my previous message and verify using otool -L otherwise the tests will crash. I have a 4-core processor and the tests took quite some time running in parallel on the Intel compiler suite. Running on gFortran will be slower.</div><div><br></div><div>Will DeBenedetti</div><div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">  </span></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 22, 2019 at 2:03 AM 林聖智 <<a href="mailto:r03223130@ntu.edu.tw">r03223130@ntu.edu.tw</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">Hi Will, <div><br></div><div>Thanks so much for the info. I’ve checked libraries of pw.x and it seems good for them with static addresses. So, I carried out calculations, such as scf and vc_relax, and they worked smoothly. Thus, I think the absence of messages I mentioned in previous e-mail was caused by some of the bins having dynamic addresses. And it could be fixed by replacing their addresses. </div><div><br></div><div>Besides, when I ran test files (make run-tests-pw-serial) in the file--test-suite, the system showed the message below.</div><div><span style="font-family:Menlo;font-size:11px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:Menlo;font-size:11px;background-color:rgb(255,255,255)">env: python2: No such file or directory</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [run-tests-pw-serial] Error 127</span></div><div><br></div><div>I’ve tried several ways to address it. I checked the installation of python2 and its version was 2.7.16. Besides, I also made a symbolic link to direct the system to the location of python 2.7 using the command as follows, but still no joy. Have you ever experienced the situation?</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">ln -s /opt/local/bin/python2.7 /Users/hayashikiyoshisatoshi/Desktop/q-e-qe-6.4.1/q-e-qe-6.4.1/test-suite/python2</span></div></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><div>
<div dir="auto" style="word-wrap:break-word;line-break:after-white-space"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Thank you for considering my request.</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Sheng-Chih Lin</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br class="gmail-m_4459915269498802889Apple-interchange-newline"></div><br class="gmail-m_4459915269498802889Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>Will DeBenedetti <<a href="mailto:wjd74@cornell.edu" target="_blank">wjd74@cornell.edu</a>> 於 2019年9月22日 上午9:52 寫道:</div><br class="gmail-m_4459915269498802889Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Sheng-Chinh,<div><br></div><div>Have you looked to see if you have made QE binaries? These will be in the /qe/bin On my machine these are located here:  <span style="font-family:Menlo;font-size:11px">/Users/wjid/qe/bin</span></div><div><br></div><div>Using <span style="font-family:Menlo;font-size:11px">ls</span> shows the following after running `make all`:</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">wjid$ ls</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">alpha2f.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                     </span>neb.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">average.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                  </span>open_grid.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">band.eps<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                     </span>path_interpolation.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">bands.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                             </span>ph.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">bse_main.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                  </span>phcg.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">cell2ibrav.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                      </span>plan_avg.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">cp.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                          </span>plotband.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">dist.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                                </span>plotproj.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">dos.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                         </span>plotrho.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">dynmat.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                       </span>pmw.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">epa.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                              </span>pp.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">epsilon.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                   </span>ppacf.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ev.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                             </span>projwfc.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">fd.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                           </span>pw.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">fd_ef.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                             </span>pw2bgw.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">fd_ifc.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                        </span>pw2critic.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">fermi_proj.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                 </span>pw2gw.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">fermi_velocity.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">         </span>pw2wannier90.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">fqha.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                            </span>pw4gww.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">fs.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                            </span>pwcond.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">generate_rVV10_kernel_table.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>pwi2xsf.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">generate_vdW_kernel_table.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>q2qstar.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">gww.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                          </span>q2r.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">gww_fit.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                  </span>q2trans.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">head.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                         </span>q2trans_fd.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">hp.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                                </span>simple.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ibrav2cell.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                    </span>simple_bse.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">initial_state.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                     </span>simple_ip.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">iotk<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                         </span>spectra_correction.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">iotk.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                              </span>sumpdos.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">iotk_print_kinds.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">             </span>turbo_davidson.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">kpoints.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                       </span>turbo_eels.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">lambda.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                    </span>turbo_lanczos.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ld1.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                            </span>turbo_spectrum.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">manycp.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                        </span>wannier_ham.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">manypw.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                   </span>wannier_plot.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">matdyn.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                  </span>wfck2r.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">molecularnexafs.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">               </span>wfdd.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">molecularpdos.x<span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">                   </span>xspectra.x</span></div></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>Then you should verify that your binaries are linked properly by using otool, which is the linux equivalent of ldd. <br></div><div><br></div><div>The command to show which shared libraries are linked with this binary use otool -L (in terminal)</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">wjid$ otool -L pw.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">pw.x:</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>/opt/intel/compilers_and_libraries_2019.4.233/mac/mkl/lib/libmkl_scalapack_lp64.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>/opt/intel/compilers_and_libraries_2019.4.233/mac/mkl/lib/libmkl_intel_lp64.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>/opt/intel/compilers_and_libraries_2019.4.233/mac/mkl/lib/libmkl_intel_thread.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>/opt/intel/compilers_and_libraries_2019.4.233/mac/mkl/lib/libmkl_core.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>/opt/intel/compilers_and_libraries_2019.4.233/mac/mkl/lib/libmkl_blacs_mpich_lp64.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>/usr/local/bin/mpich-install/lib/libmpifort.12.dylib (compatibility version 14.0.0, current version 14.7.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>/usr/local/bin/mpich-install/lib/libmpi.12.dylib (compatibility version 14.0.0, current version 14.7.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>/usr/local/bin/mpich-install/lib/libpmpi.12.dylib (compatibility version 14.0.0, current version 14.7.0)</span></div></div><div><br></div><div>The output shows which MKL and mpich libraries are linked to the pw.x binary. </div><div><br></div><div>Like I said in my previous email, if you have system integrity protection enabled (it is by default) linking to dynamic libraries is disabled by default. These binaries will look like plotrho.x as below:</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">wjid$ otool -L plotrho.x</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">plotrho.x:</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>@rpath/libmkl_scalapack_ilp64.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>@rpath/libmkl_intel_ilp64.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>@rpath/libmkl_intel_thread.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>@rpath/libmkl_core.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>@rpath/libmkl_blacs_mpich_ilp64.dylib (compatibility version 0.0.0, current version 0.0.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>/usr/local/bin/mpich-install/lib/libmpifort.12.dylib (compatibility version 14.0.0, current version 14.7.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>/usr/local/bin/mpich-install/lib/libmpi.12.dylib (compatibility version 14.0.0, current version 14.7.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>/usr/local/bin/mpich-install/lib/libpmpi.12.dylib (compatibility version 14.0.0, current version 14.7.0)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div></div><div><div>To get around this, you can replace the dynamic link with a static address using install_name_tool command as below. For my setup this looks like the following:</div><div><br></div><div> install_name_tool -change "@rpath<span style="font-family:Menlo;font-size:11px">@rpath/libmkl_scalapack_ilp64.</span><span style="font-family:Menlo;font-size:11px">dylib" "</span><span style="font-family:Menlo;font-size:11px">/opt/intel/compilers_and_</span><span style="font-family:Menlo;font-size:11px">libraries_2019.4.233/mac/mkl/</span><span style="font-family:Menlo;font-size:11px">lib/libmkl_scalapack_lp64.</span><span style="font-family:Menlo;font-size:11px">dylib" </Path/To/Binary></span></div></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><div>Note that the above command is a one-liner. Repeat this until all of the @rpath/..../ are gone.</div></div><div><br></div><div>Will DeBenedetti</div><div>Cornell University</div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 21, 2019 at 9:14 PM 林聖智 <<a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</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">Hi Will,<div><br></div><div>Thanks for reaching out to me. But, I am really new to QE and do not understand what files I need to identify. Can you give me more details?</div><div><br></div><div>Also, I leave the message, as follows, I got in the end of the ‘'make all'' command. Hope this can help identify the problem.</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: text-based stub file /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory.tbd and library file /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory are out of sync. Falling back to library file for linking.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">ld: warning: text-based stub file /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS.tbd and library file /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS are out of sync. Falling back to library file for linking.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">( cd ../../bin ; ln -fs ../GWW/bse/bse_main.x . )</span></div></div><div><br></div><div><div>
<div dir="auto" style="word-wrap:break-word;line-break:after-white-space"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Thank you for considering my request.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Sheng-Chih Lin</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-m_369871423699743174gmail-m_5633670984881451858gmail-m_816932597483648566Apple-interchange-newline"></div><br class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-m_369871423699743174gmail-m_5633670984881451858gmail-m_816932597483648566Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>Will DeBenedetti <<a href="mailto:wjd74@cornell.edu" target="_blank">wjd74@cornell.edu</a>> 於 2019年9月21日 下午10:28 寫道:</div><br class="gmail-m_4459915269498802889gmail-m_-8405643958124110758gmail-m_369871423699743174gmail-m_5633670984881451858gmail-m_816932597483648566Apple-interchange-newline"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Path/To/QE/Binaries</span></div></blockquote></div><br></div></div>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>
_______________________________________________<br>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><br></div></div>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>