yaakoub22222 / graphchi

Automatically exported from code.google.com/p/graphchi
0 stars 0 forks source link

Windows Version? #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
do you have plan to develop a version for windows?

Original issue reported on code.google.com by sizheng0...@gmail.com on 28 Aug 2012 at 11:20

GoogleCodeExporter commented 8 years ago
Before porting it over to Windows, it would make sense if it can run on Cygwin 
(on top of Windows) first. I have been trying the Triangle-Counting example 
using the latest Cygwin installation and a small edge-list file (see attached), 
but GraphChi just produces core dumps left and right.

One bug I managed to fix in order to avoid a core dump is the C code listed 
below (in sharder.hpp) that it allocates raw memory for a 2 dimensional object 
(edge_t) array and assigns an edge_t object to one of the cells latter. This 
kind of C/C++-mixed code might work on some platforms (MacOS?), but I would be 
very reluctant to spend more time debugging GraphChi after seeing it.

>> bufs[i] = (edge_t*) malloc(bufsize);

>> bufs[shard][bufptrs[shard]++] = et;

Here is the command line as a test script:

bin/example_apps/trianglecounting.exe file 
../../dataset/test_graph_edgelist.txt filetype edgelist

Original comment by hungchih...@gmail.com on 9 Oct 2012 at 10:05

Attachments:

GoogleCodeExporter commented 8 years ago
Please please add a some comments on how to build this on windows . What are 
the requirements? (can use MinGW to do that?) I tried and got lots of error.Or 
at least port the whole thing to java. C++ is dying because there is no 
standard environment 
SO PLEASE write a few lines about this Or even what platform are supported.
I compile the java version but I like to try the package collaborative 
filtering toolkit. 
Hope prof Danny Bickson write a few line about build requirements and save 
thausands of people hours of debugging

Original comment by alrah...@gmail.com on 7 Feb 2013 at 3:58

GoogleCodeExporter commented 8 years ago
I would like to know more about installing the C++ version of GraphChi on 
Windows. Even if it requires some changes, if somebody can guide me how to make 
these changes, then it will be great help. 
Thanks.

Original comment by lovesing...@gmail.com on 15 Jan 2014 at 12:23

GoogleCodeExporter commented 8 years ago
You can compile and debug the C++ version on Windows using Netbeans and 
Cygwin(not MinGW).

Original comment by sela.fer...@gmail.com on 27 Apr 2014 at 8:18