Code Monkey home page Code Monkey logo

frovedis's Issues

Error in building sample graph algorithms

Hi.

I am trying build sample graph algorithms but getting the following error:

[user@ws-067 graph] ls
cc_BFS.cc  Makefile  pagerank.cc  sssp.cc
[user@ws-067 graph] make
mpic++ -c -fPIC -g -Wall -O3 -std=c++11 -Wno-unknown-pragmas -Wno-sign-compare -pthread -I/opt/nec/nosupport/frovedis/x86/include sssp.cc -o sssp.o
In file included from /opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/graph.hpp:6:0,
                 from sssp.cc:27:
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:227:35: fatal error: ./set_operations.incl1: No such file or directory
  #include "./set_operations.incl1"
                                   ^
compilation terminated.
make: *** [sssp.o] Error 1

Looking at /opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp, I can see that the missing headers are actually located at /opt/nec/nosupport/frovedis/dataframe/. Acorrdingly I uncommented the corresponding include statements in set_union_multivec.hpp. Now, compilation moves to the next step with different set of errors:

mpic++ -c -fPIC -g -Wall -O3 -std=c++11 -Wno-unknown-pragmas -Wno-sign-compare -pthread -I/opt/nec/nosupport/frovedis/x86/include sssp.cc -o sssp.o
In file included from /opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/graph.hpp:6:0,
                 from sssp.cc:27:
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp: In function ‘size_t frovedis::set_union_vertical_unrolled(std::vector<_RealType>&, std::vector<_RealType>&, std::vector<_RealType>&, std::vector<_RealType>&)’:
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:310:10: error: ‘valid_3’ was not declared in this scope
       if(valid_3[j]) {
          ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:311:19: error: ‘leftelm3’ was not declared in this scope
         bool eq = leftelm3[j] == rightelm3[j];
                   ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:311:34: error: ‘rightelm3’ was not declared in this scope
         bool eq = leftelm3[j] == rightelm3[j];
                                  ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:314:14: error: ‘out_idx_3’ was not declared in this scope
           op[out_idx_3[j]++] = leftelm3[j];
              ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:315:11: error: ‘left_idx_3’ was not declared in this scope
           left_idx_3[j]++;
           ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:317:14: error: ‘out_idx_3’ was not declared in this scope
           op[out_idx_3[j]++] = rightelm3[j];
              ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:318:11: error: ‘right_idx_3’ was not declared in this scope
           right_idx_3[j]++;
           ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:321:11: error: ‘right_idx_3’ was not declared in this scope
           right_idx_3[j]++;
           ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:323:12: error: ‘left_idx_3’ was not declared in this scope
         if(left_idx_3[j] == left_idx_stop_3[j] ||
            ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:323:29: error: ‘left_idx_stop_3’ was not declared in this scope
         if(left_idx_3[j] == left_idx_stop_3[j] ||
                             ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:324:12: error: ‘right_idx_3’ was not declared in this scope
            right_idx_3[j] == right_idx_stop_3[j]) {
            ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:324:30: error: ‘right_idx_stop_3’ was not declared in this scope
            right_idx_3[j] == right_idx_stop_3[j]) {
                              ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:337:52: error: ‘valid_3’ was not declared in this scope
       if(valid_0[i] || valid_1[i] || valid_2[i] || valid_3[i])
                                                    ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:373:44: error: ‘out_idx_3’ was not declared in this scope
     out_idx[GRAPH_SET_VLEN_EACH * 3 + i] = out_idx_3[i];
                                            ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:374:45: error: ‘left_idx_3’ was not declared in this scope
     left_idx[GRAPH_SET_VLEN_EACH * 3 + i] = left_idx_3[i];
                                             ^
/opt/nec/nosupport/frovedis/x86/include/frovedis/ml/graph/set_union_multivec.hpp:375:46: error: ‘right_idx_3’ was not declared in this scope
     right_idx[GRAPH_SET_VLEN_EACH * 3 + i] = right_idx_3[i];
                                              ^
make: *** [sssp.o] Error 1

I am wondering if you can help with compiling this sample program.

Rpm install and conda

Hello,

just wondering how to combine/linked the rpm
install with conda environnement ?

in other words, can we install into a conda env ?

thanks

frovedis-0.8.0-1.x86_64.rpm might be corrupt

yum reports the following error.

  Updating   : frovedis-0.8.0-1.x86_64                                                                                                                                                                                                     1/2
Error unpacking rpm package frovedis-0.8.0-1.x86_64
error: unpacking of archive failed on file /opt/nec/nosupport/frovedis/x86/samples/wikipedia2matrix/sample.txt;5bffa74c: cpio: read

The file corruption can be confirmed using cpio as well.

$ rpm2cpio frovedis-0.8.0-1.x86_64.rpm | cpio --verbose -id
./opt/nec/nosupport/frovedis
./opt/nec/nosupport/frovedis/data
./opt/nec/nosupport/frovedis/data/demo
 :
./opt/nec/nosupport/frovedis/x86/samples/wikipedia2matrix
./opt/nec/nosupport/frovedis/x86/samples/wikipedia2matrix/Makefile
./opt/nec/nosupport/frovedis/x86/samples/wikipedia2matrix/README
cpio: premature end of file

Other rpm files (frovedis-0.8.0-0.x86_64.rpm, frovedis-0.8.0-3.x86_64.rpm) are not corrupt, though.

BTW, I always appreciate this great software.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.