<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I just wanted to share this with the group.  While I found Xcode - Homebrew directions, I didn’t find any Xcode - Macports directions.</div><div class=""><br class=""></div><div class="">This brief set of steps worked for me.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal;" class="">1. In Macports, I installed llvm clang 3.7 with openmp support:</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span class="Apple-tab-span" style="white-space:pre">      </span>sudo port install llvm-3.7</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>sudo port install ld64 +ld64_xcode</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>sudo port install clang-3.7 +openmp</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">2. In Xcode project, I added user-defined settings <b class="">‘CC’ </b>with value set to “/opt/local/bin/clang-mp-3.7”  (clang path).</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">3. Add “-fopenmp” to “Other C Flags”  </div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">4. Open folder “/opt/local/lib/libomp” and drag libomp.dylib to Xcode project.  This will add the library to the project.</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">5. Test openmp functionality.</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; line-height: normal; min-height: 14px;" class="">Hope this helps,</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class="">Jan-Michael</div><div style="margin: 0px; line-height: normal; min-height: 14px;" class=""><br class=""></div></div></body></html>