Disabling openmp worked. Thanks. Unfortunately, there are still architecture issues. After installing ("make install"), the following error occurred when attempting to import graph-tool:
>
In [1]: import graph_tool --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /Users/jberwald/<ipython-input-1-233a11917947> in <module>() ----> 1 import graph_tool /usr/local/lib/python2.7/site-packages/graph_tool/__init__.py in <module>() 90 91 from dl_import import * ---> 92 dl_import("import libgraph_tool_core as libcore") 93 import libgraph_tool_core as libcore # for pylint 94 __version__ = libcore.mod_info().version /usr/local/lib/python2.7/site-packages/graph_tool/dl_import.pyc in dl_import(import_expr) 44 sys.setdlopenflags(RTLD_LAZY | RTLD_GLOBAL) 45 ---> 46 exec import_expr in local_dict, global_dict 47 48 sys.setdlopenflags(orig_dlopen_flags) # reset it to normal case to avoid /Users/jberwald/<string> in <module>() ImportError: dlopen(/usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so, 9): no suitable image found. Did find: /usr/local/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so: mach-o, but wrong architecture
>
These architecture issues on Mac are mystifying to me. How can something be built for the wrong architecture if I just compiled it for that architecture? sigh... Thanks any help you can provide. Jesse ps--I've submitted a bug report at macports concerning the scipy universal build problems. On Sun, Nov 27, 2011 at 12:37 PM, Tiago Peixoto [via Main discussion list for the graph-tool project] <ml-node+s982480n3540418h97@n3.nabble.com>wrote:
Hi Jesse,
On 11/27/2011 05:44 PM, jesse berwald wrote:
Here is my configure command:
./configure --enable-openmp --with-boost-python=boost_python_mt
--with-numpy=/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/numpy
--with-scipy=/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/scipy
LDFLAGS=-L/opt/local/lib CXXFLAGS="-I/opt/local/include"
[...]
graph_motifs.hh:415: internal compiler error: in lower_stmt, at gimple-low.c:319 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions.
An internal compiler error is always a bug in the compiler... This was caused because apple's GCC has broken support for OpenMP. Try again with the --disable-openmp option, and it should work.
Also, I attempted to install from macports originally. But macports tells me the following:
Error: Cannot install py27-graph-tool for the arch(s) 'i386 x86_64' because
Error: its dependency py27-scipy does not build for the required arch(s) by default Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch
It would be nice to submit a bug report to the macports people about this. Maybe they can fix the scipy portfile to allow an universal build. You can file a bug report here: https://trac.macports.org/report
Cheers, Tiago
-- Tiago de Paula Peixoto <[hidden email]<http://user/SendEmail.jtp?type=node&node=3540418&i=0>>
_______________________________________________ graph-tool mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=3540418&i=1> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (270 bytes) Download Attachment<http://attachment/3540418/0/signature.asc> -- Tiago de Paula Peixoto <tiago@skewed.de>
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... To unsubscribe from boost errors building on Mac OSX, click here<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3540332&code=amJlcndhbGRAZ21haWwuY29tfDM1NDAzMzJ8MjE1NDAwNjg=> . NAML<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.