1 |
ksteube |
1811 |
|
2 |
jfenwick |
3982 |
############################################################################## |
3 |
ksteube |
1705 |
# |
4 |
uqaeller |
6939 |
# Copyright (c) 2003-2020 by The University of Queensland |
5 |
jfenwick |
3982 |
# http://www.uq.edu.au |
6 |
ksteube |
1705 |
# |
7 |
ksteube |
1811 |
# Primary Business: Queensland, Australia |
8 |
jfenwick |
6112 |
# Licensed under the Apache License, version 2.0 |
9 |
|
|
# http://www.apache.org/licenses/LICENSE-2.0 |
10 |
ksteube |
1705 |
# |
11 |
jfenwick |
3982 |
# Development until 2012 by Earth Systems Science Computational Center (ESSCC) |
12 |
jfenwick |
4657 |
# Development 2012-2013 by School of Earth Sciences |
13 |
|
|
# Development from 2014 by Centre for Geoscience Computing (GeoComp) |
14 |
uqaeller |
6939 |
# Development from 2019 by School of Earth and Environmental Sciences |
15 |
jfenwick |
3982 |
# |
16 |
|
|
############################################################################## |
17 |
ksteube |
1705 |
|
18 |
bcumming |
759 |
Import('*') |
19 |
|
|
|
20 |
jfenwick |
3259 |
sources = ['ScriptMPI.cpp'] |
21 |
|
|
sources_redirect = ['ScriptMPIredirect.cpp'] |
22 |
bcumming |
759 |
|
23 |
jfenwick |
3259 |
local_env = env.Clone() |
24 |
caltinay |
6119 |
local_env.PrependUnique(LIBS = ['escript']) |
25 |
bcumming |
759 |
|
26 |
caltinay |
6119 |
progs = local_env.Program('pythonMPI', sources) |
27 |
|
|
progs += local_env.Program('pythonMPIredirect', sources_redirect) |
28 |
ksteube |
1705 |
|
29 |
caltinay |
6119 |
inst = local_env.Install(local_env['libinstall'], progs) |
30 |
gross |
2376 |
|
31 |
caltinay |
6119 |
env.Alias('build_pythonMPI', progs) |
32 |
|
|
env.Alias('install_pythonMPI', inst) |
33 |
ksteube |
1705 |
|