Skip to content

Commit 0648b38

Browse files
Change order of FORTRAN compilation
1 parent 9c34f4a commit 0648b38

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

meson.build

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ common_link_flags = ['-fopenmp'] # For OpenMP
7575
# This compiles and links your Fortran module with the Python, LAPACK, BLAS, and MPI dependencies
7676
# Note: The Fortran extension will generate a .so or .pyd file that Python can import.
7777
schamodules_sources = files(
78-
'SCHAModules/module_stochastic.f90',
78+
/*'SCHAModules/module_stochastic.f90',
7979
'SCHAModules/module_new_thermodynamic.f90',
8080
'SCHAModules/module_anharmonic.f90',
8181
'SCHAModules/get_stress_tensor.f90',
@@ -92,7 +92,23 @@ schamodules_sources = files(
9292
'SCHAModules/get_v4.f90',
9393
'SCHAModules/cell_force.f90',
9494
'SCHAModules/module_polarization.f90',
95-
'SCHAModules/get_odd_straight_with_v4.f90'
95+
'SCHAModules/get_odd_straight_with_v4.f90'*/
96+
"SCHAModules/module_stochastic.f90",
97+
"SCHAModules/module_new_thermodynamic.f90",
98+
"SCHAModules/module_anharmonic.f90",
99+
"SCHAModules/get_stress_tensor.f90",
100+
"SCHAModules/get_gradient_supercell.f90",
101+
"SCHAModules/get_upsilon_matrix.f90",
102+
"SCHAModules/multiply_lambda_tensor.f90",
103+
"SCHAModules/cell_force.f90",
104+
"SCHAModules/get_gradient_supercell_fast.f90",
105+
"SCHAModules/get_g.f90",
106+
"SCHAModules/get_emat.f90",
107+
"SCHAModules/get_v3.f90",
108+
"SCHAModules/get_odd_straight.f90",
109+
"SCHAModules/get_cmat.f90",
110+
"SCHAModules/get_v4.f90",
111+
"SCHAModules/get_odd_straight_with_v4.f90"
96112
)
97113

98114
# Meson's `extension_module` function for Python handles much of the magic.

0 commit comments

Comments
 (0)