/[escript]/trunk/pythonMPI/src/SConscript
ViewVC logotype

Contents of /trunk/pythonMPI/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2376 - (show annotations)
Tue Apr 7 06:21:31 2009 UTC (10 years, 7 months ago) by gross
File size: 1011 byte(s)
output form others than the master process can now be switched off (stderr is still redirected to master)
1
2 ########################################################
3 #
4 # Copyright (c) 2003-2008 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
15 import os
16 Import('*')
17
18 local_env = clone_env(env_mpi)
19
20 sources = ["ScriptMPI.cpp"]
21 sources_redirect = ["ScriptMPIredirect.cpp"]
22
23 local_env.Append(LIBS = ["paso"] + env['sys_libs'])
24
25 include_path = Dir('pythonMPI', local_env['incinstall'])
26
27 prog = local_env.Program('pythonMPI', sources)
28 prog_redirect = local_env.Program('pythonMPIredirect', sources_redirect)
29
30 env.Alias('target_pythonMPI_exe', [ prog, sources_redirect ] )
31
32 tmp1 = local_env.Install(local_env['libinstall'], prog)
33 tmp2 = local_env.Install(local_env['libinstall'], prog_redirect)
34 env.Alias('target_install_pythonMPI_exe', [ tmp1, tmp2 ] )
35

  ViewVC Help
Powered by ViewVC 1.1.26