Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion easybuild/easyblocks/l/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def configure_step(self, **kwargs):
# https://lammps.sandia.gov/doc/Build_extras.html
# KOKKOS
if self.cfg['kokkos']:
print_msg("Using Kokkos arch: CPU - %s, GPU - %s" % (processor_arch, gpu_arch))
print_msg("Using Kokkos package with arch: CPU - %s, GPU - %s" % (processor_arch, gpu_arch))
self.cfg.update('configopts', '-D%sKOKKOS=on' % self.pkg_prefix)

if self.toolchain.options.get('openmp', None):
Expand All @@ -372,6 +372,7 @@ def configure_step(self, **kwargs):

# CUDA only
elif self.cuda:
print_msg("Using GPU package (not Kokkos) with arch: CPU - %s, GPU - %s" % (processor_arch, gpu_arch))
self.cfg.update('configopts', '-D%sGPU=on' % self.pkg_prefix)
self.cfg.update('configopts', '-DGPU_API=cuda')
self.cfg.update('configopts', '-DGPU_ARCH=%s' % get_cuda_gpu_arch(cuda_cc))
Expand Down