Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
leaving out options from engine constructor (as shown in example) results in compilation error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tristan Slominski  
View profile  
 More options Aug 1 2012, 6:35 pm
From: Tristan Slominski <tristan.slomin...@gmail.com>
Date: Wed, 1 Aug 2012 15:35:07 -0700 (PDT)
Local: Wed, Aug 1 2012 6:35 pm
Subject: leaving out options from engine constructor (as shown in example) results in compilation error

code version at latest commit: dd438c266a5fff24a38c7a1edce05973531c7da1

In documentation here:
 http://docs.graphlab.org/using_graphlab_distributed_graph_vertex_prog...
In section "Running the Vertex Program" the following example code
indicates that last parameter graphlab_options& can be skipped:

graphlab::omni_engine<pagerank_program> engine(dc, graph, "sync");
engine.signal_all();
engine.start();

However, following that pattern resulted in:

/path/to/mypagerank.cpp:143:74: error: no matching function for call to
‘graphlab::omni_engine<pagerank_program>::omni_engine(graphlab::distributed _control&,
graph_type&, std::string&)’
/path/to/mypagerank.cpp:143:74: note: candidates are:

Only, after providing a dummy option, does compilation succeed:

graphlab::command_line_options clopts("blah blah.");
graphlab::omni_engine<pagerank_program> engine(dc, graph, "sync", clopts);
engine.signal_all();
engine.start();

This was surprising and definitely increased "time to first pagerank hello
world" :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Gonzalez  
View profile  
 More options Aug 1 2012, 8:24 pm
From: Joseph Gonzalez <joseph.e.gonza...@gmail.com>
Date: Wed, 1 Aug 2012 20:24:10 -0400
Local: Wed, Aug 1 2012 8:24 pm
Subject: Re: leaving out options from engine constructor (as shown in example) results in compilation error

Thank you for notifying us!  We forgot to add a default argument to the omni_engine constructor.  I have corrected the code and updated the release archives.  

Thanks,
Joey

On Aug 1, 2012, at 6:35 PM, Tristan Slominski <tristan.slomin...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »