Skip to content

Commit 9701230

Browse files
committed
Added openmp_dep flags in meson.build for parallelization
1 parent 947bdf6 commit 9701230

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Modules/Ensemble.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3848,8 +3848,7 @@ def get_free_energy_hessian(self, include_v4 = False, get_full_hessian = True, v
38483848

38493849
def get_free_energy_hessian_dev(self, include_v4 = False, get_full_hessian = True, verbose = False):
38503850
"""
3851-
Dev function. With the meson installation, the OpenMP parallelization is NOT WORKING!
3852-
With the old installation everything is fine (old_setup.py)
3851+
Dev function.
38533852
38543853
GET THE FREE ENERGY ODD CORRECTION DEV
38553854
======================================

meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ project('python-sscha',
106106
# --- END OF NUMPY CONFIGURATION ---
107107
if openblas_dep.found()
108108
message('openblas environment detected correctly.')
109-
list_dep = [py_dep, mpi_dep, quadmath_dep, openblas_dep, lapack_dep, blas_dep]
109+
list_dep = [py_dep, mpi_dep, quadmath_dep, openblas_dep, lapack_dep, blas_dep, openmp_dep]
110110
else
111111
warning('No openblas found.')
112-
list_dep = [py_dep, mpi_dep, quadmath_dep, lapack_dep, blas_dep]
112+
list_dep = [py_dep, mpi_dep, quadmath_dep, lapack_dep, blas_dep, openmp_dep]
113113
endif
114114

115115
# --- Common Flags ---

0 commit comments

Comments
 (0)