Skip to content

Commit

Permalink
Moved serialization back to graphlab/serialization
Browse files Browse the repository at this point in the history
moved logger back to graphlab/logger
  • Loading branch information
ylow committed Sep 23, 2010
1 parent e1c8a48 commit 24e55df
Show file tree
Hide file tree
Showing 108 changed files with 253 additions and 209 deletions.
2 changes: 1 addition & 1 deletion apps/aapo_project/aapo_lassoapp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <graphlab.hpp>
#include <graphlab/macros_def.hpp>
#include <graphlab/distributed/distributed_control.hpp>
#include <graphlab/logger/assertions.hpp>
#include <graphlab/graphlab/logger/assertions.hpp>

using namespace graphlab;
typedef graphlab::blob_types gl_types;
Expand Down
2 changes: 1 addition & 1 deletion apps/coem/coem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

#include <cstdio>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>

#include "coemapp.hpp"

Expand Down
2 changes: 1 addition & 1 deletion apps/coem/distmulticoem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <cstdio>
#include <string>

#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>

#include "distmulticoemapp.hpp"

Expand Down
2 changes: 1 addition & 1 deletion apps/coem/distmulticoem_pull.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <cstdio>
#include <string>

#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>

#include "distmulticoemapp_pull.hpp"

Expand Down
2 changes: 1 addition & 1 deletion apps/coem/multicoemlarge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <cstdio>
#include <string>

#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>

#include "multicoemapp.hpp"

Expand Down
2 changes: 1 addition & 1 deletion apps/gabp/gabp_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//#include <cmath>
#include <cstdio>
#include <graphlab.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/app_support/iapp.hpp>
#include <graphlab/graph/graph.hpp>

Expand Down
4 changes: 2 additions & 2 deletions apps/pmf/pmf3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <cmath>
#include <cstdio>
#include <cfloat>
#include <serialization/iarchive.hpp>
#include <serialization/oarchive.hpp>
#include <graphlab/serialization/iarchive.hpp>
#include <graphlab/serialization/oarchive.hpp>


#include <graphlab.hpp>
Expand Down
4 changes: 2 additions & 2 deletions apps/pmf/pmf4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <cmath>
#include <cstdio>
#include <cfloat>
#include <serialization/iarchive.hpp>
#include <serialization/oarchive.hpp>
#include <graphlab/serialization/iarchive.hpp>
#include <graphlab/serialization/oarchive.hpp>

#include <graphlab.hpp>
#include <graphlab/distributed/graph/distributed_graph.hpp>
Expand Down
4 changes: 2 additions & 2 deletions apps/pmf/pmf5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <cmath>
#include <cstdio>
#include <cfloat>
#include <serialization/iarchive.hpp>
#include <serialization/oarchive.hpp>
#include <graphlab/serialization/iarchive.hpp>
#include <graphlab/serialization/oarchive.hpp>

#include <graphlab.hpp>
#include <graphlab/distributed/graph/distributed_graph.hpp>
Expand Down
4 changes: 2 additions & 2 deletions apps/pmf/pmf5push.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <cmath>
#include <cstdio>
#include <cfloat>
#include <serialization/iarchive.hpp>
#include <serialization/oarchive.hpp>
#include <graphlab/serialization/iarchive.hpp>
#include <graphlab/serialization/oarchive.hpp>

#include <graphlab.hpp>
#include <graphlab/distributed/graph/distributed_graph.hpp>
Expand Down
2 changes: 1 addition & 1 deletion apps/videoseg/combinebins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <vector>
#include <string>
#include <graphlab.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <boost/program_options.hpp>
#define cimg_display 0
#include "CImg.h"
Expand Down
2 changes: 1 addition & 1 deletion apps/videoseg/makefeatures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <vector>
#include <string>
#include <graphlab.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <boost/program_options.hpp>
#define cimg_display 0
#define cimg_use_jpeg 1
Expand Down
2 changes: 1 addition & 1 deletion apps/videoseg/makesuperpix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <vector>
#include <string>
#include <graphlab.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#define cimg_display 0
#include "CImg.h"
// Include the macro for the for each operation
Expand Down
2 changes: 1 addition & 1 deletion apps/videoseg/makesuperpix2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <vector>
#include <string>
#include <graphlab.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#define cimg_display 0
#include "CImg.h"
// Include the macro for the for each operation
Expand Down
2 changes: 1 addition & 1 deletion apps/videoseg/makesuperpix3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <vector>
#include <string>
#include <graphlab.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <boost/program_options.hpp>
#define cimg_display 0
#define cimg_use_jpeg 1
Expand Down
4 changes: 1 addition & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
project(GraphLab)

subdirs(graphlab
serialization
logger)
subdirs(graphlab)

4 changes: 2 additions & 2 deletions src/graphlab.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ key parts:
#include <graphlab/engine/engine_includes.hpp>
#include <graphlab/factors/factor_includes.hpp>
#include <graphlab/graph/graph_includes.hpp>
#include <logger/logger_includes.hpp>
#include <graphlab/logger/logger_includes.hpp>
#include <graphlab/monitoring/monitoring_includes.hpp>
#include <graphlab/parallel/parallel_includes.hpp>
#include <graphlab/schedulers/scheduler_includes.hpp>
#include <graphlab/scope/scope_includes.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <graphlab/shared_data/shared_data_includes.hpp>
#include <graphlab/tasks/task_includes.hpp>
#include <graphlab/util/util_includes.hpp>
Expand Down
9 changes: 6 additions & 3 deletions src/graphlab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ subdirs(
scope
shared_data
tasks
util)
util
serialization
logger)


add_library(graphlab STATIC
Expand All @@ -22,11 +24,12 @@ add_library(graphlab STATIC
parallel/pthread_tools.cpp
util/timer.cpp
util/generics/any.cpp
util/command_line_options.cpp)
util/command_line_options.cpp
logger/logger.cpp)



target_link_libraries(graphlab graphlab_metis logger)
target_link_libraries(graphlab graphlab_metis)


INSTALL(TARGETS graphlab ARCHIVE DESTINATION lib)
Expand Down
6 changes: 3 additions & 3 deletions src/graphlab/distributed/distributed_control.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <vector>
#include <mpi.h>
#include <boost/typeof/typeof.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <boost/static_assert.hpp>

Expand All @@ -12,8 +12,8 @@
#include <graphlab/distributed/distributed_terminator.hpp>
#include <graphlab/distributed/distributed_control_types.hpp>

#include <serialization/oarchive.hpp>
#include <serialization/iarchive.hpp>
#include <graphlab/serialization/oarchive.hpp>
#include <graphlab/serialization/iarchive.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/util/blocking_queue.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/distributed/distributed_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <graphlab/scope/iscope.hpp>
#include <graphlab/engine/iengine.hpp>
#include <graphlab/tasks/update_task.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/parallel/atomic.hpp>
#include <graphlab/util/timer.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/graphlab/distributed/distributed_hash_table.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <vector>
#include <boost/iostreams/stream.hpp>
#include <graphlab/distributed/distributed_hash_table.hpp>
#include <serialization/serialization_includes.hpp>
#include <logger/logger.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/util/timer.hpp>
namespace graphlab {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <climits>


#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/graph/graph.hpp>
#include <graphlab/scope/iscope.hpp>
#include <graphlab/tasks/update_task.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <climits>


#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/graph/graph.hpp>
#include <graphlab/scope/iscope.hpp>
#include <graphlab/tasks/update_task.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/graphlab/distributed/graph/cloned_graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#include <cmath>
#include <vector>

#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/graph/graph.hpp>
#include <graphlab/util/generics/blob.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <graphlab/distributed/distributed_control.hpp>


Expand Down
4 changes: 2 additions & 2 deletions src/graphlab/distributed/graph/distributed_graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#include <cmath>
#include <vector>

#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/graph/graph.hpp>
#include <graphlab/util/generics/blob.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <graphlab/distributed/distributed_control.hpp>

#include <graphlab/macros_def.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/graphlab/distributed/graph_lock_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#include <vector>
#include <queue>
#include <boost/unordered_map.hpp>
#include <logger/assertions.hpp>
#include <graphlab/logger/assertions.hpp>
#include <graphlab/graph/graph.hpp>
#include <graphlab/scope/iscope_factory.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <graphlab/distributed/distributed_control.hpp>
#include <graphlab/distributed/lock_manager.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/graphlab/distributed/lock_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <vector>
#include <queue>
#include <map>
#include <logger/assertions.hpp>
#include <graphlab/logger/assertions.hpp>
#include <graphlab/graph/graph.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
#include <graphlab/distributed/distributed_control.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/parallel/atomic.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/distributed/metrics/distributed_metrics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <climits>


#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/distributed/distributed_control.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/distributed/pushy_distributed_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <graphlab/scope/iscope.hpp>
#include <graphlab/engine/iengine.hpp>
#include <graphlab/tasks/update_task.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/parallel/atomic.hpp>
#include <graphlab/util/timer.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/distributed/serialize_dispatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <boost/type_traits/decay.hpp>
#include <boost/type_traits/remove_pointer.hpp>
#include <boost/type_traits/function_traits.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>
namespace graphlab {
class distributed_control;

Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/engine/asynchronous_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <graphlab/scope/iscope.hpp>
#include <graphlab/engine/iengine.hpp>
#include <graphlab/tasks/update_task.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/monitoring/imonitor.hpp>

#include <graphlab/macros_def.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/engine/sim_thread_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <graphlab/scope/iscope.hpp>
#include <graphlab/engine/iengine.hpp>
#include <graphlab/tasks/update_task.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/parallel/atomic.hpp>
#include <graphlab/util/timer.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/engine/synchronous_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <graphlab/schedulers/support/binary_scheduler_callback.hpp>
#include <graphlab/engine/iengine.hpp>
#include <graphlab/tasks/update_task.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/parallel/atomic.hpp>
#include <graphlab/util/timer.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/engine/threaded_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <graphlab/scope/iscope.hpp>
#include <graphlab/engine/iengine.hpp>
#include <graphlab/tasks/update_task.hpp>
#include <logger/logger.hpp>
#include <graphlab/logger/logger.hpp>
#include <graphlab/parallel/pthread_tools.hpp>
#include <graphlab/parallel/atomic.hpp>
#include <graphlab/util/timer.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/factors/binary_factor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// Random number generation
#include <graphlab/parallel/pthread_tools.hpp>

#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>

// Include the macro for the for each operation
#include <graphlab/macros_def.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/graphlab/factors/table_factor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
// Random number generation
#include <graphlab/util/random.hpp>

#include <serialization/iarchive.hpp>
#include <serialization/oarchive.hpp>
#include <graphlab/serialization/iarchive.hpp>
#include <graphlab/serialization/oarchive.hpp>



Expand Down
2 changes: 1 addition & 1 deletion src/graphlab/factors/unary_factor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

// Random number generation
#include <graphlab/util/random.hpp>
#include <serialization/serialization_includes.hpp>
#include <graphlab/serialization/serialization_includes.hpp>


#include <graphlab/factors/binary_factor.hpp>
Expand Down
Loading

0 comments on commit 24e55df

Please sign in to comment.