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

Contents of /trunk/scons/savanna_options.py

Parent Directory Parent Directory | Revision Log Revision Log


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


1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2018 by The University of Queensland
5 # http://www.uq.edu.au
6 #
7 # Primary Business: Queensland, Australia
8 # Licensed under the Apache License, version 2.0
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 # Development 2012-2013 by School of Earth Sciences
13 # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 #
15 ##############################################################################
16
17 MKLROOT=None
18 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 MKLROOT = os.environ['MKLROOT']
23 I_MPI_ROOT = os.environ['I_MPI_ROOT']
24 except:
25 pass
26
27 escript_opts_version = 203
28
29 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
31 ld_extra = '-ipo-separate -shared-intel -L/sw/libs/hdf5/1.8.14/lib'
32 ld_extra += ' -wd11021 ' #silence icpc warnings about symbols ipo can't see
33
34 werror = False
35 verbose = True
36 openmp = True
37
38 pythoncmd = "/sw/apps/python/3.5.1/bin/python3"
39
40 mpi = 'INTELMPI'
41 mpi_prefix = I_MPI_ROOT or '/sw/intel/impi/2018.1.163'
42 mpi_prefix += '/intel64'
43
44 boost_prefix = '/sw/libs/boost/1.61.0'
45 boost_libs = ['boost_python3']
46 cppunit_prefix = '/sw/libs/cppunit/1.13.2'
47 netcdf = True
48 netcdf_prefix = '/sw/libs/netcdf/4.1.3'
49 netcdf_libs = ['netcdf_c++', 'netcdf', 'hdf5']
50 parmetis = True
51 parmetis_prefix = '/sw/libs/parmetis/4.0.3-impi'
52 parmetis_libs = ['parmetis']
53 trilinos = True
54 trilinos_prefix = '/sw/libs/trilinos/trilinos-12.10.1'
55
56 mkl = True
57 _mklroot=MKLROOT or '/sw/intel/compilers_and_libraries_2018.1.163/linux/mkl'
58 mkl_prefix = ['%s/include'%_mklroot, '%s/lib/intel64'%_mklroot]
59 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
60 silo = True
61 silo_prefix = '/sw/libs/silo/4.10.2'
62 visit = False
63 visit_prefix = '/sw/apps/visit/2.7.0/linux-x86_64/libsim/V2'
64
65 prelaunch = ""
66 launcher = "srun --nodes=%n --ntasks=%N --ntasks-per-node=%p --cpus-per-task=%t --cpu_bind=quiet %b"
67 postlaunch = ""
68
69 env_export = ['INTEL_LICENSE_FILE']
70
71 tools_names = [('intelc',{'topdir':'/sw/intel/compilers_and_libraries_2018.1.163'})]
72
73 # 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

  ViewVC Help
Powered by ViewVC 1.1.26