Open arimaller opened 12 years ago
I am not familiar with macs. What compiler did you use? libgomp is the openmp library of gcc. if you use a different compiler you may have to change line in setup.py to the corresponding openmp runtime library. I haven't figured a way to automatic this.
Alternatively you can try to disable openmp entirely by removing the -fopenmp flag in setup.py - if you work on a single or dual core machine(as mac usually are) openmp won't make a huge difference I believe.
On Tue, Aug 2, 2011 at 8:04 PM, arimaller < reply@reply.github.com>wrote:
Hi,
I'm trying to install your code on a Mac with OS 10.7 and when I try and load the modules in python I get the following error message
In [12]: from gaepsi.tools.gaplot import *
ImportError Traceback (most recent call last) /Users/ari/Code/gaepsi/
in () ----> 1 from gaepsi.tools.gaplot import * /Library/Python/2.7/site-packages/gaepsi/tools/gaplot.py in
() 5 from gaepsi.constant import GADGET 6 from gaepsi.snapshot import Snapshot ----> 7 from gaepsi.field import Field, Cut 8 from meshmap import Meshmap 9 /Library/Python/2.7/site-packages/gaepsi/field.py in
() 3 from numpy import append 4 from numpy import asarray ----> 5 from remap import remap 6 from ccode import sml 7 from numpy import sin,cos, matrix /Library/Python/2.7/site-packages/gaepsi/remap.py in
() 13 from numpy import newaxis 14 ---> 15 import ccode 16 17 def AABB(E, O = None): /Library/Python/2.7/site-packages/gaepsi/ccode.py in
() ----> 1 from gaepsi._gaepsiccode import * ImportError: dlopen(/Library/Python/2.7/site-packages/gaepsi/_gaepsiccode.so, 2): Symbol not found: _GOMP_atomic_end Referenced from: /Library/Python/2.7/site-packages/gaepsi/_gaepsiccode.so Expected in: dynamic lookup
This seems to be a problem with the GOMP library, but I'm at a loss as to how to fix it.
Thanks,
Reply to this email directly or view it on GitHub: https://github.com/rainwoodman/gaepsi/issues/1
Hi,
I'm trying to install your code on a Mac with OS 10.7 and when I try and load the modules in python I get the following error message
In [12]: from gaepsi.tools.gaplot import *
ImportError Traceback (most recent call last) /Users/ari/Code/gaepsi/ in ()
----> 1 from gaepsi.tools.gaplot import *
/Library/Python/2.7/site-packages/gaepsi/tools/gaplot.py in()
5 from gaepsi.constant import GADGET
6 from gaepsi.snapshot import Snapshot
----> 7 from gaepsi.field import Field, Cut
8 from meshmap import Meshmap
9
/Library/Python/2.7/site-packages/gaepsi/field.py in()
3 from numpy import append
4 from numpy import asarray
----> 5 from remap import remap
6 from ccode import sml
7 from numpy import sin,cos, matrix
/Library/Python/2.7/site-packages/gaepsi/remap.py in()
13 from numpy import newaxis
14
---> 15 import ccode
16
17 def AABB(E, O = None):
/Library/Python/2.7/site-packages/gaepsi/ccode.py in()
----> 1 from gaepsi._gaepsiccode import *
ImportError: dlopen(/Library/Python/2.7/site-packages/gaepsi/_gaepsiccode.so, 2): Symbol not found: _GOMP_atomic_end Referenced from: /Library/Python/2.7/site-packages/gaepsi/_gaepsiccode.so Expected in: dynamic lookup
This seems to be a problem with the GOMP library, but I'm at a loss as to how to fix it.
Thanks,