lammps: set LAMMPS_POTENTIALS in the runtime environment (#16643)

so lammps can find the installed potential files
This commit is contained in:
Andrew W Elble
2020-05-14 21:09:41 -04:00
committed by GitHub
parent b562059d2a
commit e21b4731a9

View File

@@ -182,3 +182,7 @@ def cmake_args(self):
args.append('-DEXTERNAL_KOKKOS=ON')
return args
def setup_run_environment(self, env):
env.set('LAMMPS_POTENTIALS',
self.prefix.share.lammps.potentials)