/[escript]/trunk/scons/ice_options_example.py
ViewVC logotype

Diff of /trunk/scons/ice_options_example.py

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

revision 1559 by ksteube, Wed May 21 04:27:15 2008 UTC revision 2185 by caltinay, Mon Dec 22 04:41:03 2008 UTC
# Line 1  Line 1 
1    
2  #          Copyright 2006 by ACcESS MNRF  ########################################################
3  #  #
4  #              http://www.access.edu.au  # Copyright (c) 2003-2008 by University of Queensland
5  #       Primary Business: Queensland, Australia  # Earth Systems Science Computational Center (ESSCC)
6  #  Licensed under the Open Software License version 3.0  # http://www.uq.edu.au/esscc
 #     http://www.opensource.org/licenses/osl-3.0.php  
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    
 # Configuration for Savanna  
   
 # flag the MPI settings  
 # useMPI = 'yes'  
   
 # TODO: Variables named *_path should be *_include  
14    
15  # locations of libs etc used by mkl  # Configuration for Savanna (SGI ICE 8200 running SUSE Linux)
 ### mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'  
 ### mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  
 ### mkl_libs = ['mkl_solver', 'mkl_lapack']  
 ### mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']      # Library mkl_ipf does not exist anymore  
   
 # locations of libs etc used by SCSL  
 ### scsl_path = '/usr/include'  
 ### scsl_lib_path = '/usr/lib'  
 ### scsl_libs = ['scs_mp']  
 ### scsl_libs_MPI = [ 'scs', 'mpi' ]  
   
 # Location of ParMETIS library  
 ### parmetis_path = '/data/raid2/toolspp4/parmetis/include'  
 ### parmetis_lib_path = '/data/raid2/toolspp4/parmetis/lib'  
 ### parmetis_lib = ['parmetis', 'metis']  
   
 # locations of include files for python  
 python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'  
 python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'  
 python_lib = 'python2.4'  
   
 # locations of libraries for boost  
 boost_path = '/usr/include/boost'  
 boost_lib_path = '/usr/lib64'  
 boost_lib = 'boost_python'  
   
 # locations of doc building executables  
 ### doxygen_path = '/data/raid2/toolspp4/doxygen/1.4.6/gcc-3.3.6/bin'  
 ### epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'  
   
 # locations of netcdf  
 useNetCDF = 'yes'  
 netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'  
 netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'  
 netCDF_libs = [ 'netcdf_c++', 'netcdf']  
   
 # locations of PAPI  
 papi_instrument_solver = 0  
 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'  
 # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'  
 # papi_libs = [ 'papi' ]  
   
 mpi_path = '/usr/include'  
 mpi_lib_path = '/usr/lib64'  
 mpi_libs = [ 'mpi' ]  
 mpi_run = 'mpirun -np 1'  
   
 # Change -fno-alias to -fargument-noalias???  
 # -ivdep-parallel is i64 only, not Savanna  
 # Use -ax for vectorization?  
 # -axN and -axW are identical?  
 # -axK not for SSE2  
   
 # Which manual has information about the compiler options?  
   
 omp_flags = '-openmp -openmp_report2 '  
 omp_flags_debug = '-openmp -openmp_report0'  
   
 # c flags to use  
 cc_flags  = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DBLOCKTIMER'  
 cc_flags_debug  = '-g -O0 -wd161 -fPIC -DBLOCKTIMER'  
   
 # c++ flags to use  
 cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'  
 cxx_flags_debug = '-g -ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND -fPIC -DBLOCKTIMER'  
   
 # c and c++ flags for MPI compilation  
 # c flags to use  
 cc_flags_MPI  = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER'  
 cc_flags_debug_MPI  = '-g -O0 -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER'  
   
 # c++ flags to use  
 cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'  
 cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER'  
16    
17  # system specific libraries to link with  # If you cannot use the default compiler flags set in SConstruct, then change them here
18  sys_libs = ['stdc++']  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
19    # cc_flags      = '-ansi'
20    # cc_optim      = '-O2'
21    # cc_debug      = '-g'
22    # omp_optim     = '-openmp'
23    # omp_debug     = '-openmp'
24    # omp_libs      = ['guide']
25    
26    # Use the default C/C++ flags but add something only for this host:
27    # cc_extra      = ''
28    ld_extra        = '-shared-intel'   # Fix warning about feupdate in icc v10
29    
30    # Be picky about errors
31    # usepedantic       = 'no'
32    
33    # Extra libraries
34    # sys_libs      = []
35    
36    # Python libraries
37    python_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'
38    python_lib_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'
39    # python_libs       = ['python2.4']
40    # python_cmd        = 'python'
41    
42    # Boost libraries
43    boost_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33'
44    boost_lib_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'
45    # boost_libs        = ['boost_python-gcc']
46    
47    # Specify whether or not to use VTK
48    # usevtk        = 'yes'
49    
50    # NetCDF
51    # usenetcdf     = 'yes'
52    netCDF_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
53    netCDF_lib_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
54    # netCDF_libs       = ['netcdf_c++', 'netcdf']
55    
56    # MKL
57    # usemkl        = 'yes'
58    # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'
59    # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
60    # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
61    
62    # UMFPACK (requires AMD and BLAS)
63    # useumfpack        = 'yes'
64    # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
65    # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
66    # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
67    # umf_libs      = ['umfpack']
68    # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
69    # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
70    # amd_libs      = ['amd']
71    # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
72    # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
73    # blas_libs     = ['blas']
74    
75    # Silo
76    # usesilo       = 'yes'
77    silo_path       = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.6.1/include'
78    silo_lib_path       = '/sw/libs/silo/x86_64/gcc-4.1.2/silo-4.6.1/lib'
79    # silo_libs     = ['siloh5', 'hdf5']
80    
81    
82    # OpenMP
83    # useopenmp     = 'yes'
84    
85    # MPI MPT (no module load required)
86    # usempi        = 'no'
87    # mpi_path      = '/usr/include'
88    # mpi_lib_path      = '/usr/lib64'
89    mpi_libs        = ['mpi']
90    # mpi_run       = 'mpirun -np 1'
91    
92    # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
93    # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
94    # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
95    # mpi_libs      = ['mpich', 'rt']
96    # mpi_run       = 'mpirun -np 1'
97    
98    # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
99    # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
100    # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
101    # mpi_libs      = ['lmpe', 'mpe', 'mpich', 'rt']
102    # mpi_run       = 'mpirun -np 1'
103    
104    # Intel MPI (to run Escript use: module load intel-mpi/3.1.038)
105    # mpi_path      = '/sw/sdev/intel/mpi/3.1.038/x86_64/include64'
106    # mpi_lib_path      = '/sw/sdev/intel/mpi/3.1.038/x86_64/lib64'
107    # mpi_libs      = ['mpi']
108    # mpi_run       = 'mpirun -np 1'
109    
110    # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
111    # mpi_path      = '/usr/diags/mpi/mvapich/intel/include'
112    # mpi_lib_path      = '/usr/diags/mpi/mvapich/intel/lib/shared'
113    # mpi_libs      = ['mpich']
114    # mpi_run       = 'mpirun -np 1'
115    
116    # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
117    # mpi_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
118    # mpi_lib_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
119    # mpi_libs      = ['mpi']
120    # mpi_run       = 'mpirun -np 1'
121    
122    # ParMETIS (for use with MPI)
123    # useparmetis       = 'yes'
124    parmetis_path       = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
125    parmetis_lib_path   = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
126    # parmetis_libs     = ['parmetis', 'metis']
127    
128    # PAPI
129    # usepapi       = 'no'
130    # papi_path     = '/usr/include'
131    # papi_lib_path     = '/usr/lib64'
132    # papi_libs     = ['papi']
133    # papi_instrument_solver    = 'no'
134    

Legend:
Removed from v.1559  
changed lines
  Added in v.2185

  ViewVC Help
Powered by ViewVC 1.1.26