-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
60 lines (56 loc) · 2.14 KB
/
meson.build
File metadata and controls
60 lines (56 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
project('project',
'fortran',
default_options: ['warning_level=2',
'optimization=3',
'debug=false'
])
flags_compiler = ['-parallel',
'-heap-arrays',
#'-qopenmp',
'-ipo',
'-xHost',
'-mkl'
]
flags_linker = ['-mkl',
'-ipo',
'-xHost',
'-qopt-matmul'
]
add_global_arguments(flags_compiler, language: 'fortran')
add_global_link_arguments(flags_linker, language: 'fortran')
mpi = dependency('mpi', language: 'fortran')
sources = [
'src/BEMExtra/linalg_mod.f90',
'src/BEMExtra/meshread_mod.f90',
'src/BEMExtra/tools.f90',
'src/BEMExtra/zPackgmres.f',
'src/dipole_over_dielectric/dipole_mod.f90',
'src/dipole_over_dielectric/GF_LIB/GF_num_exb.f',
'src/SpherePEC/bessel_mod.f90',
'src/SpherePEC/data_tools.f90',
'src/SpherePEC/legendre_mod.f90',
'src/SpherePEC/pec_scattering.f90',
'src/SpherePEC/BESSEL_LIB/msphj.f90',
'src/SpherePEC/BESSEL_LIB/msphy.f90',
'src/SpherePEC/LEGENDRE_LIB/fcnpak.f',
'src/SpherePEC/spherePEC_mod.f90',
'src/WGFMethod/dipole_functions.f90',
'src/WGFMethod/planewave_sources.f90',
'src/WGFMethod/WGFM_matrices.f90',
'src/WGFMethod/WGFM_SauterSchwabData.f90',
'src/WGFMethod/WGFM_SauterSchwab.f90',
'src/WGFMethod/window_mod.f90',
'src/WGFMethod/currents_mod.f90',
'src/WGFMethod/WMFIE_matrices.f90',
'test/test_WGF_dipole.f90',
#'test/test.f90',
#'script/WGFMethod/mainWMFIE_multi.f90',
#'script/WGFMethod/mainWMFIE.f90',
#'script/WGFMethod/mainWGF.f90',
#'script/WGFMethod/mainWGF_load_error.f90',
#'script/WGFMethod/mainMieField.f90',
#'script/WGFMethod/mainWGF_eigenvalues.f90',
]
executable('executable',
sources,
dependencies : [mpi])