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

Diff of /trunk/scons/cognac_options.py

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

revision 1704 by phornby, Tue Jul 15 08:01:03 2008 UTC revision 1705 by ksteube, Thu Aug 14 05:56:40 2008 UTC
# Line 1  Line 1 
1  #  
2  #          Copyright 2006 by ACcESS MNRF  #          Copyright 2006 by ACcESS MNRF
3  #  #
4  #              http://www.access.edu.au  #              http://www.access.edu.au
# Line 6  Line 6 
6  #  Licensed under the Open Software License version 3.0  #  Licensed under the Open Software License version 3.0
7  #     http://www.opensource.org/licenses/osl-3.0.php  #     http://www.opensource.org/licenses/osl-3.0.php
8  #  #
9  #   assumed modules:  
10    # Configuration for Cognac (SGI Altix)
11    
12    #  Assumed modules:
13  #  #
14  #  module load scons/0.96.91  #  module load scons/0.96.91
15  #  module load intel-cc/10.0.023  #  module load intel-cc/10.0.023
# Line 18  Line 21 
21  #  module load scsl/1.6.1.0  #  module load scsl/1.6.1.0
22  #  #
23    
 # flag the MPI settings  
 useMPI = 'no'  
   
 # TODO: Variables named *_path should be *_include  
   
24  python_version="2.4"  python_version="2.4"
25  python_installation="2.4.4/icc10.0.023"  python_installation="2.4.4/icc10.0.023"
26  boost_version="1_33_1"  boost_version="1_33_1"
27  boost_installation="1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023"  boost_installation="1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023"
28    
29  #prefix = ARGUMENTS.get('prefix', '/opt/esys-escript/unstable/')  # If you cannot use the default compiler flags set in SConstruct, then change them here
30  #tools_prefix="/opt/esys-escript/unstable/"  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
31    # cc_flags      = '-ansi'
32  #    get the installation prefix  # cc_optim      = '-O2'
33  # locations of libs etc used by mkl  # cc_debug      = '-g'
34  mkl_path = '/opt/intel_mkl/9.1.018/include'  # omp_optim     = '-openmp'
35  #mkl_lib_path ='/opt/intel/mkl80.019/lib/64'  # omp_debug     = '-openmp'
36  mkl_lib_path ='/opt/intel_mkl/9.1.018/lib/64'  # omp_libs      = ['guide']
37  mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']  
38    # Use the default C/C++ flags but add something only for this host:
39  # locations of libs etc used by SCSL  # cc_extra      = ''
40  scsl_path = '/opt/scsl/1.6.1.0/include'  
41  scsl_lib_path = '/opt/scsl/1.6.1.0/lib'  # Be picky about errors
42  scsl_libs = ['scs_mp']  # usepedantic       = 'no'
43  scsl_libs_MPI = [ 'scs', 'mpi' ]  
44    # Extra libraries
45    # sys_libs      = []
46  # locations of include files for python  
47  # python_exec= '/opt/python/'+python_installation+'/bin/python'  # Python libraries
48  python_exec= 'python'  python_path     = '/opt/python/'+python_installation+'/include/python'+python_version
49  python_path = '/opt/python/'+python_installation+'/include/python'+python_version  python_lib_path     = '/opt/python/'+python_installation+'/lib'
50  python_lib_path = '/opt/python/'+python_installation+'/lib'  python_libs     = ['python'+python_version]
51  python_lib = 'python'+python_version  # python_cmd        = 'python'
52    
53  # locations of libraries for boost  # Boost libraries
54  boost_path = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version  boost_path      = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version
55  boost_lib_path = '/opt/boost/'+boost_installation+'/lib'  boost_lib_path      = '/opt/boost/'+boost_installation+'/lib'
56  boost_lib = 'boost_python-il-mt-1_33_1'  boost_libs      = ['boost_python-il-mt-1_33_1']
57    
58  # locations of doc building executables  # Specify whether or not to use VTK
59  doxygen_path = '/opt/doxygen-1.4.5/bin'  # usevtk        = 'yes'
60  epydoc_path = '/opt/epydoc-2.1/bin'  
61    # NetCDF
62  # locations of netcdf  usenetcdf       = 'yes'
63  useNetCDF = 'yes'  netCDF_path     = '/opt/netcdf/3.6.2/include'
64  netCDF_path = "/opt/netcdf/3.6.2/include"  netCDF_lib_path     = '/opt/netcdf/3.6.2/lib'
65  netCDF_lib_path = "/opt/netcdf/3.6.2/lib"  # netCDF_libs       = ['netcdf_c++', 'netcdf']
66  netCDF_libs = [ 'netcdf_c++', 'netcdf']  
67    # MKL
68  # locations of PAPI  usemkl          = 'yes'
69  papi_instrument_solver = 0  mkl_path        = '/opt/intel_mkl/9.1.018/include'
70  # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'  mkl_lib_path        = '/opt/intel_mkl/9.1.018/lib/64'
71  # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'  mkl_libs        = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
72  # papi_libs = [ 'papi' ]  
73    # UMFPACK (requires AMD and BLAS)
74  mpi_path = '/usr/include'  # useumfpack        = 'yes'
75  mpi_lib_path = '/usr/lib'  # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
76  mpi_libs = [ 'mpi' ]  # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
77  mpi_run = 'mpirun -np 1'  # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78    # umf_libs      = ['umfpack']
79  omp_flags = '-openmp -openmp_report2 '  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
80  omp_flags_debug = '-openmp -openmp_report0'  # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
81    # amd_libs      = ['amd']
82  # c flags to use  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
83  cc_flags  = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -w1 -wd161 -fpic -ivdep-parallel"  # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
84  cc_flags_debug  = '-g -O0 -w1 -wd161 -fpic'  # blas_libs     = ['blas']
85    
86  # c++ flags to use  # OpenMP
87  cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND'  # useopenmp     = 'yes'
88  cxx_flags_debug = '-ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND'  
89    # MPI MPT (no module load required)
90  # c and c++ flags for MPI compilation  usempi          = 'no'
91  # c flags to use  mpi_path        = '/usr/include'
92  cc_flags_MPI  = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -w1 -fpic -wd161 -DPASO_MPI -ivdep-parallel"  mpi_lib_path        = '/usr/lib'
93  cc_flags_debug_MPI  = '-g -O0 -w1 -fpic -wd161 -DPASO_MPI'  mpi_libs        = ['mpi']
94    mpi_run         = 'mpirun -np 1'
95  # c++ flags to use  
96  cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND'  # ParMETIS (for use with MPI)
97  cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND'  # useparmetis       = 'yes'
98    # parmetis_path     = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
99  # system specific libraries to link with  # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
100  sys_libs = ['guide', 'irc']  # parmetis_libs     = ['parmetis', 'metis']
101    
102    # PAPI
103    # usepapi       = 'no'
104    # papi_path     = '/usr/include'
105    # papi_lib_path     = '/usr/lib64'
106    # papi_libs     = ['papi']
107    # papi_instrument_solver    = 'no'
108    

Legend:
Removed from v.1704  
changed lines
  Added in v.1705

  ViewVC Help
Powered by ViewVC 1.1.26