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

Annotation of /trunk/scons/savanna_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6830 - (hide annotations)
Tue Jun 4 22:39:54 2019 UTC (5 months, 2 weeks ago) by aellery
File MIME type: text/x-python
File size: 2565 byte(s)
Various bug fixes.


1 jfenwick 3024
2 jfenwick 3981 ##############################################################################
3 jfenwick 3024 #
4 jfenwick 6651 # Copyright (c) 2003-2018 by The University of Queensland
5 jfenwick 3981 # http://www.uq.edu.au
6 jfenwick 3024 #
7     # Primary Business: Queensland, Australia
8 jfenwick 6112 # Licensed under the Apache License, version 2.0
9     # http://www.apache.org/licenses/LICENSE-2.0
10 jfenwick 3024 #
11 jfenwick 3981 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 # Development 2012-2013 by School of Earth Sciences
13     # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 jfenwick 3981 #
15     ##############################################################################
16 jfenwick 3024
17 caltinay 6294 MKLROOT=None
18 caltinay 4511 try:
19     import os
20     if not 'escript/dev-deps' in os.environ['LOADEDMODULES'].split(':'):
21     print("WARNING: The escript/dev-deps module does not appear to be loaded!")
22 caltinay 6294 MKLROOT = os.environ['MKLROOT']
23 caltinay 6475 I_MPI_ROOT = os.environ['I_MPI_ROOT']
24 caltinay 4511 except:
25     pass
26    
27 jfenwick 5938 escript_opts_version = 203
28 jfenwick 3024
29 caltinay 6288 cxx_extra = '-sox -I/sw/pymodules/3.5/scipy-0.17.1-haswell/lib/python3.5/site-packages/numpy-1.11.0-py3.5-linux-x86_64.egg/numpy/core/include'
30 jfenwick 3024
31 caltinay 5431 ld_extra = '-ipo-separate -shared-intel -L/sw/libs/hdf5/1.8.14/lib'
32 jfenwick 5082 ld_extra += ' -wd11021 ' #silence icpc warnings about symbols ipo can't see
33 jfenwick 3024
34 lgao 3513 werror = False
35 jfenwick 3259 verbose = True
36 gross 3449 openmp = True
37 jfenwick 3024
38 aellery 6830 pythoncmd = "/sw/apps/python/3.5.1/bin/python3"
39 caltinay 6288
40 lgao 3547 mpi = 'INTELMPI'
41 caltinay 6631 mpi_prefix = I_MPI_ROOT or '/sw/intel/impi/2018.1.163'
42 caltinay 6475 mpi_prefix += '/intel64'
43 caltinay 5435
44 caltinay 6288 boost_prefix = '/sw/libs/boost/1.61.0'
45     boost_libs = ['boost_python3']
46 caltinay 5431 cppunit_prefix = '/sw/libs/cppunit/1.13.2'
47 jfenwick 3259 netcdf = True
48 caltinay 4557 netcdf_prefix = '/sw/libs/netcdf/4.1.3'
49     netcdf_libs = ['netcdf_c++', 'netcdf', 'hdf5']
50 jfenwick 3259 parmetis = True
51 caltinay 5431 parmetis_prefix = '/sw/libs/parmetis/4.0.3-impi'
52     parmetis_libs = ['parmetis']
53 caltinay 6294 trilinos = True
54 aellery 6829 trilinos_prefix = '/sw/libs/trilinos/trilinos-12.10.1'
55 jfenwick 3024
56 jfenwick 3259 mkl = True
57 caltinay 6631 _mklroot=MKLROOT or '/sw/intel/compilers_and_libraries_2018.1.163/linux/mkl'
58 caltinay 5824 mkl_prefix = ['%s/include'%_mklroot, '%s/lib/intel64'%_mklroot]
59 caltinay 3842 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
60 caltinay 3836 silo = True
61 caltinay 5431 silo_prefix = '/sw/libs/silo/4.10.2'
62 caltinay 4089 visit = False
63 caltinay 4557 visit_prefix = '/sw/apps/visit/2.7.0/linux-x86_64/libsim/V2'
64 jfenwick 3259
65 caltinay 5310 prelaunch = ""
66 caltinay 5560 launcher = "srun --nodes=%n --ntasks=%N --ntasks-per-node=%p --cpus-per-task=%t --cpu_bind=quiet %b"
67 caltinay 5310 postlaunch = ""
68    
69 jfenwick 3259 env_export = ['INTEL_LICENSE_FILE']
70    
71 caltinay 6631 tools_names = [('intelc',{'topdir':'/sw/intel/compilers_and_libraries_2018.1.163'})]
72 jfenwick 3259
73 caltinay 5491 # uncomment the following four options to build with mpt (check modules!)
74     #build_dir = 'buildmpt'
75     #mpi = 'MPT'
76     #mpi_prefix = '/opt/sgi/mpt/mpt-2.10'
77     #parmetis_prefix = '/sw/libs/parmetis/4.0.3-mpt'
78 caltinay 6241

  ViewVC Help
Powered by ViewVC 1.1.26