<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear OS X folk,<div><br></div><div><div>Background: I’m compiling projects which require OpenMP. These crash when linking to the omp libraries included by Apple under llvm, so, wanting to install omp-friendly gcc</div><div><br></div><div><div><br></div><div>Simon[1] has a long list of possible binaries, mostly at gcc 4.2.4</div><div><br></div><div>It also has a warning against the hpc[2] binary “they won’t work correctly!”</div><div><br></div><div>But hpc have gcc 4.7, updated for Lion as recently as Feb 2012 (10.7 Lion only) and explicitly suporting OpenMP.</div><div><br></div><div>I downloaded and installed this binary: All running fine…</div><div><br></div><div>So questions:</div><div>1. Is it the case that the hpc binary “doesn’t work correctly” for R?</div><div>2. Is a recommended install that is up to date and robust?</div><div><br></div><div>3. Compiling the OpenMx package, all the compile steps run fine, but the make fails on one of the final load checks as follows:</div><div><br></div><div>** testing if installed package can be loaded<br>Error in dyn.load(file, DLLpath = DLLpath, ...) : <br>  unable to load shared object '/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so':<br>  dlopen(/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so, 6): Symbol not found: _GOMP_parallel_end<br>  Referenced from: /Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so<br>  Expected in: dynamic lookup<br><br></div><div>Any clues why “_GOMP_parallel_end” not found?</div><div><br></div></div></div><div><br></div><div>many thanks</div><div>tim</div><div><br></div><div>[1] <a href="http://r.research.att.com/tools/">http://r.research.att.com/tools/</a></div><div>[2] <a href="http://hpc.sourceforge.net/">http://hpc.sourceforge.net/</a>  </div><div><br></div></body></html>