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 |
('ar_flags', 'Static library archiver flags to use', None), |
('ar_flags', 'Static library archiver flags to use', None), |
90 |
('sys_libs', 'System libraries to link with', None), |
('sys_libs', 'System libraries to link with', [ 'pthread' , 'rt' ] ), |
91 |
('tar_flags','flags for zip files','-c -z'), |
('tar_flags','flags for zip files','-c -z'), |
92 |
# MKL |
# MKL |
93 |
PathOption('mkl_path', 'Path to MKL includes', None), |
PathOption('mkl_path', 'Path to MKL includes', None), |
138 |
BoolOption('useMPI', 'Compile parallel version using MPI', 'no'), |
BoolOption('useMPI', 'Compile parallel version using MPI', 'no'), |
139 |
('MPICH_IGNORE_CXX_SEEK', 'name of macro to ignore MPI settings of C++ SEEK macro (for MPICH)' , 'MPICH_IGNORE_CXX_SEEK'), |
('MPICH_IGNORE_CXX_SEEK', 'name of macro to ignore MPI settings of C++ SEEK macro (for MPICH)' , 'MPICH_IGNORE_CXX_SEEK'), |
140 |
PathOption('mpi_path', 'Path to MPI includes', '/usr/local/include'), |
PathOption('mpi_path', 'Path to MPI includes', '/usr/local/include'), |
141 |
PathOption('mpi_lib_path', 'Path to MPI libs','/usr/local/lib'), |
PathOption('mpi_lib_path', 'Path to MPI libs (needs to be added to the LD_LIBRARY_PATH)','/usr/local/lib'), |
142 |
('mpi_libs', 'MPI libraries to link with', [ 'mpich' ]), |
('mpi_libs', 'MPI libraries to link with (needs to be shared!)', [ 'mpich' ]), |
143 |
) |
) |
144 |
|
|
145 |
# Initialise Scons Build Environment |
# Initialise Scons Build Environment |