rename USER-OMP to OPENMP

This commit is contained in:
Axel Kohlmeyer
2021-06-29 17:48:22 -04:00
parent c085e55695
commit 1dc25b0e10
586 changed files with 257 additions and 276 deletions

View File

@ -133,12 +133,12 @@ class PythonCapabilities(unittest.TestCase):
def test_accelerator_config(self):
settings = self.lmp.accelerator_config
if self.cmake_cache['PKG_USER-OMP']:
if self.cmake_cache['PKG_OPENMP']:
if self.cmake_cache['BUILD_OMP']:
self.assertIn('openmp',settings['USER-OMP']['api'])
self.assertIn('openmp',settings['OPENMP']['api'])
else:
self.assertIn('serial',settings['USER-OMP']['api'])
self.assertIn('double',settings['USER-OMP']['precision'])
self.assertIn('serial',settings['OPENMP']['api'])
self.assertIn('double',settings['OPENMP']['precision'])
if self.cmake_cache['PKG_USER-INTEL']:
if 'LMP_INTEL_OFFLOAD' in self.cmake_cache.keys():