1 |
|
2 |
######################################################## |
3 |
# |
4 |
# Copyright (c) 2003-2010 by University of Queensland |
5 |
# Earth Systems Science Computational Center (ESSCC) |
6 |
# http://www.uq.edu.au/esscc |
7 |
# |
8 |
# Primary Business: Queensland, Australia |
9 |
# Licensed under the Open Software License version 3.0 |
10 |
# http://www.opensource.org/licenses/osl-3.0.php |
11 |
# |
12 |
######################################################## |
13 |
|
14 |
Import('*') |
15 |
|
16 |
sources = ['ScriptMPI.cpp'] |
17 |
sources_redirect = ['ScriptMPIredirect.cpp'] |
18 |
|
19 |
local_env = env.Clone() |
20 |
local_env.Append(LIBS = ['esysUtils']) |
21 |
|
22 |
prog = local_env.Program('pythonMPI', sources) |
23 |
prog_redirect = local_env.Program('pythonMPIredirect', sources_redirect) |
24 |
|
25 |
lib_inst1 = local_env.Install(local_env['libinstall'], prog) |
26 |
lib_inst2 = local_env.Install(local_env['libinstall'], prog_redirect) |
27 |
|
28 |
env.Alias('build_pythonMPI', [prog, prog_redirect]) |
29 |
env.Alias('install_pythonMPI', [lib_inst1, lib_inst2]) |
30 |
|