lammps: set LAMMPS_POTENTIALS in the runtime environment (#16643)
so lammps can find the installed potential files
This commit is contained in:
parent
b562059d2a
commit
e21b4731a9
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue