Permalink
Browse files

Fix to compile with MPI

  • Loading branch information...
costashatz committed Oct 22, 2016
1 parent f959628 commit bbc17447c58a32167aea6dde13f264faaf4940e6
Showing with 9 additions and 8 deletions.
  1. +4 −4 examples/wscript
  2. +1 −1 exp/example/wscript
  3. +3 −3 tests/wscript
  4. +1 −0 wscript
View
@@ -4,30 +4,30 @@ def build(bld):
bld.program(features = 'cxx',
source = 'ex_ea.cpp',
includes = '../',
uselib = 'TBB BOOST BOOST_UNIT_TEST_FRAMEWORK BOOST_THREAD EIGEN',
uselib = 'TBB BOOST EIGEN PTHREAD MPI',
use = 'sferes2',
target = 'ex_ea')
# ex_ea
bld.program(features = 'cxx',
source = 'ex_ea_mpi.cpp',
includes = '../',
uselib = 'TBB BOOST BOOST_UNIT_TEST_FRAMEWORK BOOST_THREAD EIGEN',
uselib = 'TBB BOOST EIGEN PTHREAD MPI',
use = 'sferes2',
target = 'ex_ea_mpi')
# ex_nsga2
bld.program(features = 'cxx',
source = 'ex_nsga2.cpp',
includes = '../',
uselib = 'TBB BOOST BOOST_UNIT_TEST_FRAMEWORK BOOST_THREAD EIGEN',
uselib = 'TBB BOOST EIGEN PTHREAD MPI',
use = 'sferes2',
target = 'ex_nsga2')
# ex_eps_moea
bld.program(features = 'cxx',
source = 'ex_eps_moea.cpp',
includes = '../',
uselib = 'TBB BOOST BOOST_UNIT_TEST_FRAMEWORK BOOST_THREAD EIGEN',
uselib = 'TBB BOOST EIGEN PTHREAD MPI',
use = 'sferes2',
target = 'ex_eps_moea')
View
@@ -10,6 +10,6 @@ def build(bld):
bld.program(features = 'cxx',
source = 'example.cpp',
includes = '. ../../',
uselib = 'EIGEN BOOST BOOST_UNIT_TEST_FRAMEWORK TBB ',
uselib = 'TBB BOOST EIGEN PTHREAD MPI',
use = 'sferes2',
target = 'example')
View
@@ -46,6 +46,6 @@ def build(bld):
bld.program(features = 'cxx test',
source = '../' + f,
includes = '../',
use = 'sferes2',
uselib = 'TBB BOOST BOOST_THREAD EIGEN BOOST_FILESYSTEM BOOST_SYSTEM BOOST_SERIALIZATION BOOST_PROGRAM_OPTIONS PTHREAD',
target = fname)
target = fname,
uselib = 'TBB BOOST EIGEN PTHREAD MPI',
use = 'sferes2')
View
@@ -137,6 +137,7 @@ def configure(conf):
conf.check_tbb()
# mpi.h
conf.load('mpi')
conf.check_mpi()
# boost mpi

0 comments on commit bbc1744

Please sign in to comment.