Changed linking order: -pthread -> back.
Otherwise error:
/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): undefined reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[pycaffe] add converter for vectors of Nets
[pycaffe] expose SGDSolver.test_nets
add accessor for Solver::iter_

This will be useful in code controlling the solver (from pycaffe, for
example).
[pycaffe] expose SGDSolver.iter
Merge pull request #1196 from longjon/python-solver-improvements

Python solver improvements
Merge pull request #1208 from Yangqing/dev

add factory header to caffe hpp
Add caffe_gpu_exp math function
Add ExpLayer to calculate y = base ^ (scale * x + shift)
[fix] comment typo
save/restore shared weights unit test
Merge pull request #1204 from jeffdonahue/exp-layer

EXP neuron layer
Move data_mean into data_transformer remove datum_* from BaseData

Conflicts:

	src/caffe/layers/memory_data_layer.cpp
Fixed MemoryDataLayer to make it work with pycaffe
Initial cv::Mat transformation

Added cv::Mat transformation to ImageDataLayer

Conflicts:

	src/caffe/layers/image_data_layer.cpp

Added transform Datum to Blob

Conflicts:

	src/caffe/layers/base_data_layer.cpp
	src/caffe/layers/base_data_layer.cu

Added transform cv::Mat to Blob

Added transform Vector<Datum> to Blob

Conflicts:
	src/caffe/data_transformer.cpp
Remove Datum from WindowDataLayer

Conflicts:

	src/caffe/layers/window_data_layer.cpp
Update description data_transformer.hpp
Refactor common code

Make lint happy

Conflicts:
	src/caffe/data_transformer.cpp
Add flag check_size=false to convert_imageset
Added test_io and faster cv::Mat processing

Conflicts:
	src/caffe/util/io.cpp