Changes between Initial Version and Version 2 of Ticket #54238
- Timestamp:
- May 27, 2017, 9:25:02 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54238
-
Property
Status
changed from
new
toassigned
- 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
topy34-graph-tool: graph_tool.centrality.pagerank throws a segmentation fault (v. 2.22) with clang-4.0
-
Property
Status
changed from
-
Ticket #54238 – Description
initial v2 1 This may be related to #380 because `pagerank` uses OpenMP code.1 This may be related to !#380 because `pagerank` uses OpenMP code. 2 2 3 3 This is macOS 10.12.4, Macports graph-tool, python 3.4: 4 4 5 ``` 5 {{{ 6 6 port -qv installed | grep graph-tool 7 7 py34-graph-tool @2.22_0+clang38+openmp (active) platform='darwin 16' 8 8 9 9 2.22 (commit 44bf2b92, Thu Mar 2 23:08:39 2017 +0000) 10 ``` 10 }}} 11 11 12 12 SSCCE: 13 13 14 ``` 14 {{{ 15 15 import graph_tool, graph_tool.all as gt 16 16 import numpy as np, numpy.random as npr … … 25 25 # Segmentation fault 26 26 pr = graph_tool.centrality.pagerank(g) 27 ``` 27 }}} 28 28 29 29 Using clang-4.0 fixes the issue: … … 31 31 This worked for me: 32 32 33 ``` 33 {{{ 34 34 sudo port -p -N install py34-graph-tool configure.compiler=macports-clang-4.0 configure.args-append=--enable-openmp 35 ``` 35 }}} 36 36 37 37 Would you please update the portfile to use clang-4.0?