/[escript]/trunk-mpi-branch/SConstruct
ViewVC logotype

Diff of /trunk-mpi-branch/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 968 by ksteube, Tue Feb 13 22:56:57 2007 UTC revision 1007 by gross, Mon Mar 5 01:00:53 2007 UTC
# Line 86  opts.AddOptions( Line 86  opts.AddOptions(
86    ('cc_flags_debug', 'C compiler flags to use (Debug build)', '-g -O0 -ffast-math -std=c99 -fpic -Wno-unknown-pragmas'),    ('cc_flags_debug', 'C compiler flags to use (Debug build)', '-g -O0 -ffast-math -std=c99 -fpic -Wno-unknown-pragmas'),
87    ('cxx_flags', 'C++ compiler flags to use (Release build)', '--no-warn -ansi'),    ('cxx_flags', 'C++ compiler flags to use (Release build)', '--no-warn -ansi'),
88    ('cxx_flags_debug', 'C++ compiler flags to use (Debug build)', '--no-warn -ansi -DDOASSERT -DDOPROF'),    ('cxx_flags_debug', 'C++ compiler flags to use (Debug build)', '--no-warn -ansi -DDOASSERT -DDOPROF'),
89    ('cc_flags_MPI','C compiler flags to use (Release MPI build)', '-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic -wd161'),    ('cc_flags_MPI','C compiler flags to use (Release MPI build)', '-O3 -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic'),
90    ('cc_flags_debug_MPI', 'C compiler flags to use (Debug MPI build)', '-g -O0 -c99 -w1 -fpic -wd161'),    ('cc_flags_debug_MPI', 'C compiler flags to use (Debug MPI build)', '-g -O0 -c99 -w1 -fpic '),
91    ('cxx_flags_MPI', 'C++ compiler flags to use (Release MPI build)', '-ansi -wd1563 -wd161'),    ('cxx_flags_MPI', 'C++ compiler flags to use (Release MPI build)', '-ansi'),
92    ('cxx_flags_debug_MPI', 'C++ compiler flags to use (Debug MPI build)', '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161'),    ('cxx_flags_debug_MPI', 'C++ compiler flags to use (Debug MPI build)', '-ansi -DDOASSERT -DDOPROF'),
93    ('ar_flags', 'Static library archiver flags to use', None),    ('ar_flags', 'Static library archiver flags to use', None),
94    ('sys_libs', 'System libraries to link with', None),    ('sys_libs', 'System libraries to link with', None),
95    ('tar_flags','flags for zip files','-c -z'),    ('tar_flags','flags for zip files','-c -z'),
# Line 137  opts.AddOptions( Line 137  opts.AddOptions(
137    ('papi_libs', 'PAPI libraries to link with', None),    ('papi_libs', 'PAPI libraries to link with', None),
138  # MPI  # MPI
139    BoolOption('useMPI', 'Compile parallel version using MPI', 'no'),    BoolOption('useMPI', 'Compile parallel version using MPI', 'no'),
140      PathOption('mpi_path', 'Path to MPI includes', '/usr/include'),
141      PathOption('mpi_lib_path', 'Path to MPI libs','/usr/lib'),
142      ('mpi_libs', 'MPI libraries to link with', [ 'a', 'b' ]),
143  )  )
144    
145  # Initialise Scons Build Environment  # Initialise Scons Build Environment

Legend:
Removed from v.968  
changed lines
  Added in v.1007

  ViewVC Help
Powered by ViewVC 1.1.26