Changes between Initial Version and Version 2 of Ticket #54238


Ignore:
Timestamp:
May 27, 2017, 9:25:02 AM (7 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Remember to use WikiFormatting.

What do you mean by "#380"? Neither MacPorts Trac ticket 380 nor MacPorts GitHub pull request 380 relate to this port.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54238

    • Property Status changed from new to assigned
    • Property Owner set to count0
    • Property Cc count0 removed
    • Property Summary changed from graph_tool.centrality.pagerank throws a segmentation fault (v. 2.22) with clang-4.0 to py34-graph-tool: graph_tool.centrality.pagerank throws a segmentation fault (v. 2.22) with clang-4.0
  • Ticket #54238 – Description

    initial v2  
    1 This may be related to #380 because `pagerank` uses OpenMP code.
     1This may be related to !#380 because `pagerank` uses OpenMP code.
    22
    33This is macOS 10.12.4, Macports graph-tool, python 3.4:
    44
    5 ```
     5{{{
    66port -qv installed | grep graph-tool
    77  py34-graph-tool @2.22_0+clang38+openmp (active) platform='darwin 16'
    88
    992.22 (commit 44bf2b92, Thu Mar 2 23:08:39 2017 +0000)
    10 ```
     10}}}
    1111
    1212SSCCE:
    1313
    14 ```
     14{{{
    1515import graph_tool, graph_tool.all as gt
    1616import numpy as np, numpy.random as npr
     
    2525# Segmentation fault
    2626pr = graph_tool.centrality.pagerank(g)
    27 ```
     27}}}
    2828
    2929Using clang-4.0 fixes the issue:
     
    3131This worked for me:
    3232
    33 ```
     33{{{
    3434sudo port -p -N install py34-graph-tool configure.compiler=macports-clang-4.0 configure.args-append=--enable-openmp
    35 ```
     35}}}
    3636
    3737Would you please update the portfile to use clang-4.0?