add and switch to a workflow file dedicated for OpenMP backend for KOKKOS

This commit is contained in:
Trung Nguyen
2024-10-07 15:04:28 -05:00
parent 7b3762881e
commit 09a115cb89
4 changed files with 38 additions and 4 deletions

View File

@ -1,7 +1,7 @@
---
lmp_binary: ""
nprocs: "4"
args: "-cite none -k on t 2 -sf kk -pk kokkos newton on neigh half"
args: "-cite none -k on g 2 -sf kk -pk kokkos newton on neigh half"
mpiexec: "mpirun"
mpiexec_numproc_flag: "--host localhost:4 -np"
tolerance:

View File

@ -0,0 +1,34 @@
---
lmp_binary: ""
nprocs: "4"
args: "-cite none -k on t 2 -sf kk -pk kokkos newton on neigh half"
mpiexec: "mpirun"
mpiexec_numproc_flag: "--host localhost:4 -np"
tolerance:
PotEng:
abs: 1e-4
rel: 1e-7
TotEng:
abs: 1e-4
rel: 1e-7
Press:
abs: 1e-4
rel: 1e-7
Temp:
abs: 1e-4
rel: 1e-7
E_vdwl:
abs: 1e-3
rel: 1e-7
overrides:
in.rigid.tnr:
Temp:
abs: 1e-3
rel: 1e-5
Press:
abs: 1e-2
rel: 1e-4
timeout: 180
nugget: 1.0
epsilon: 1e-16

View File

@ -929,6 +929,7 @@ def get_reference_walltime(lmp_binary, config):
logger.info(msg)
print(msg)
looptime = 1.0
for line in output.split('\n'):
if "Total wall time" in line:
walltime_str = line.split('time:')[1]