summaryrefslogtreecommitdiff
path: root/training/Makefile.am
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-22 18:15:39 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-22 18:15:39 +0000
commit716356a5de1eb7d066d511af51b76e1294609d87 (patch)
treeb95ee704bdeac4e4b730e6e63f64fd34db54db64 /training/Makefile.am
parent1cc6a37d1a93cbcb14a980fc64d7bdbe6db486fd (diff)
mpi support for training
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@654 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'training/Makefile.am')
-rw-r--r--training/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/training/Makefile.am b/training/Makefile.am
index a947e4a5..ea637d9e 100644
--- a/training/Makefile.am
+++ b/training/Makefile.am
@@ -14,6 +14,20 @@ noinst_PROGRAMS = \
lbfgs_test \
optimize_test
+TESTS = lbfgs_test optimize_test
+
+
+if MPI
+bin_PROGRAMS += mpi_batch_optimize \
+ mpi_online_optimize
+
+mpi_batch_optimize_SOURCES = mpi_batch_optimize.cc optimize.cc
+mpi_batch_optimize_LDADD = $(top_srcdir)/decoder/libcdec.a $(top_srcdir)/mteval/libmteval.a $(top_srcdir)/utils/libutils.a -lz -lmpi++ -lmpi
+
+mpi_online_optimize_SOURCES = mpi_online_optimize.cc online_optimizer.cc
+mpi_online_optimize_LDADD = $(top_srcdir)/decoder/libcdec.a $(top_srcdir)/mteval/libmteval.a $(top_srcdir)/utils/libutils.a -lz -lmpi++ -lmpi
+endif
+
online_train_SOURCES = online_train.cc online_optimizer.cc
online_train_LDADD = $(top_srcdir)/decoder/libcdec.a $(top_srcdir)/utils/libutils.a -lz