/[escript]/branches/scons-dev/scons/cognac_options.py
ViewVC logotype

Diff of /branches/scons-dev/scons/cognac_options.py

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

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

Legend:
Removed from v.1687  
changed lines
  Added in v.1688

  ViewVC Help
Powered by ViewVC 1.1.26