[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-mac
Subject:    [R-SIG-Mac] gcc 4.7?
From:       Timothy Bates <tim.bates () ed ! ac ! uk>
Date:       2012-02-22 16:10:49
Message-ID: 077C4160-F45A-43F3-8357-A63A00C33963 () ed ! ac ! uk
[Download RAW message or body]

------------=_1329927047-23406-77
Received: from spearman.psy.ed.ac.uk (spearman.psy.ed.ac.uk [129.215.50.19])
	by lmtp1.ucs.ed.ac.uk (8.13.8/8.13.7) with ESMTP id q1MGAfd2006612
	for <r-sig-mac@r-project.org>; Wed, 22 Feb 2012 16:10:41 GMT
From: Timothy Bates <tim.bates@ed.ac.uk>
Content-Type: multipart/alternative; boundary="Apple-Mail=_29609141-28CF-4E28-A6CB-D33F2F9F2968"
Subject: gcc 4.7? 
Message-Id: <077C4160-F45A-43F3-8357-A63A00C33963@ed.ac.uk>
Date: Wed, 22 Feb 2012 16:10:49 +0000
To: r-sig-mac@r-project.org
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1426\))
X-Mailer: Apple Mail (2.1426)
X-Edinburgh-Scanned: at lmtp1.ucs.ed.ac.uk
    with MIMEDefang 2.52, Sophie, Sophos Anti-Virus
X-Scanned-By: MIMEDefang 2.52 on 129.215.149.64



Dear OS X folk,

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


Simon[1] has a long list of possible binaries, mostly at gcc 4.2.4

It also has a warning against the hpc[2] binary “they won’t work correctly!”

But hpc have gcc 4.7, updated for Lion as recently as Feb 2012 (10.7 Lion only) and \
explicitly suporting OpenMP.

I downloaded and installed this binary: All running fine…

So questions:
1. Is it the case that the hpc binary “doesn’t work correctly” for R?
2. Is a recommended install that is up to date and robust?

3. Compiling the OpenMx package, all the compile steps run fine, but the make fails \
on one of the final load checks as follows:

** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object \
'/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so':  \
dlopen(/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so, 6): Symbol not \
found: _GOMP_parallel_end  Referenced from: \
/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so  Expected in: dynamic \
lookup

Any clues why “_GOMP_parallel_end” not found?


many thanks
tim

[1] http://r.research.att.com/tools/
[2] http://hpc.sourceforge.net/  


[Attachment #3 (unknown)]

<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&nbsp;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.&nbsp;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, ...) :&nbsp;<br>&nbsp; unable to \
load shared object '/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so':<br>&nbsp; \
dlopen(/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so, 6): Symbol not \
found: _GOMP_parallel_end<br>&nbsp; Referenced from: \
/Users/tim/Library/R/2.14/library/OpenMx/libs/i386/OpenMx.so<br>&nbsp; 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]&nbsp;<a \
href="http://hpc.sourceforge.net/">http://hpc.sourceforge.net/</a> \
&nbsp;</div><div><br></div></body></html>


[Attachment #4 (------------=_1329927047-23406-77)]
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic